rpms/setuptool/F-13 setup.1,NONE,1.1 setuptool.spec,1.42,1.43
Michal Hlavinka
mhlavink at fedoraproject.org
Wed May 19 12:02:53 UTC 2010
- Previous message: rpms/glibc/devel .cvsignore, 1.303, 1.304 glibc-fedora.patch, 1.337, 1.338 glibc.spec, 1.430, 1.431 import.log, 1.46, 1.47 sources, 1.328, 1.329
- Next message: File Sys-Virt-0.2.4.tar.gz uploaded to lookaside cache by berrange
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mhlavink
Update of /cvs/pkgs/rpms/setuptool/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv12202
Modified Files:
setuptool.spec
Added Files:
setup.1
Log Message:
* Wed May 19 2010 Michal Hlavinka <mhlavink at redhat.com> 1.19.10-2
- install man page
--- NEW FILE setup.1 ---
.\" Copyright (C) 2009 Red Hat, Inc. All rights reserved.
.\" Man page author: Michal Hlavinka <mhlavink at redhat.com>
.TH setup 1 2009-10-07 "Linux" "setuptool"
.SH NAME
setup \- A text mode system configuration tool
.SH SYNOPSIS
\fBsetup\fP
.SH DESCRIPTION
The setuptool program (\fBsetup\fP) is a front-end menu program for a group of other
tools, mostly \fBsystem\-config\-*\-tui\fP tools. The list of options which it presents is assembled by scanning
/etc/setuptool.d and /usr/share/setuptool/setuptool.d for files.
Each file in the directory should contain one or more lines of text. Each line
contains from one to four fields which are separated by "|" characters. In
order, they are:
- the path to the binary to invoke (mandatory)
- the untranslated name of the application which should be displayed
(If unset, defaults to the path of the binary, but don't depend on that.)
- the gettext textdomain in which a translation of the name of the application can be found
(If unset, defaults to "setup".)
- the directory in which translations for the textdomain can be found
(If unset, defaults to "/usr/share/locale".)
If multiple entries with the same untranslated name exist, the one which was
read FIRST takes precedence. Files are read in name collation order.
.SH EXAMPLE
A contrived example would create /etc/setuptool.d/00bogus with these contents:
.nf
/bin/ls --color; /bin/sleep 5|Example "ls" invocation.
.fi
or
.nf
/bin/ls --color; /bin/sleep 5|Give this help list|libc
.fi
to use one of libc's (not meaningful here, but) translatable messages.
Index: setuptool.spec
===================================================================
RCS file: /cvs/pkgs/rpms/setuptool/F-13/setuptool.spec,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -p -r1.42 -r1.43
--- setuptool.spec 7 Apr 2010 10:49:11 -0000 1.42
+++ setuptool.spec 19 May 2010 12:02:53 -0000 1.43
@@ -1,11 +1,13 @@
Name: setuptool
Version: 1.19.10
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A text mode system configuration tool
License: GPLv2+
Group: Applications/System
Url: http://git.fedorahosted.org/git/?p=setuptool.git
Source: setuptool-%{version}.tar.gz
+#for setuptool <= 1.19.10
+Source1: setup.1
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: newt-devel, gettext, perl-XML-Parser, glib2-devel, intltool
Requires: usermode
@@ -25,6 +27,12 @@ make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
+
+#for setuptool <= 1.19.10
+cp %{SOURCE1} .
+gzip setup.1
+install -D setup.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/setup.1.gz
+
%find_lang setup
%clean
@@ -41,8 +49,12 @@ rm -rf $RPM_BUILD_ROOT
%dir %{_datadir}/%{name}/setuptool.d
%dir %{_sysconfdir}/setuptool.d
%config(noreplace) %{_sysconfdir}/setuptool.d/*
+%{_mandir}/man1/setup.1.gz
%changelog
+* Wed May 19 2010 Michal Hlavinka <mhlavink at redhat.com> 1.19.10-2
+- install man page
+
* Wed Apr 07 2010 Michal Hlavinka <mhlavink at redhat.com> 1.19.10-1
- update translations
- Previous message: rpms/glibc/devel .cvsignore, 1.303, 1.304 glibc-fedora.patch, 1.337, 1.338 glibc.spec, 1.430, 1.431 import.log, 1.46, 1.47 sources, 1.328, 1.329
- Next message: File Sys-Virt-0.2.4.tar.gz uploaded to lookaside cache by berrange
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list