diff --git a/.cvsignore b/.cvsignore index e69de29..4540532 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +help2man_1.33.1.tar.gz diff --git a/help2man.spec b/help2man.spec new file mode 100644 index 0000000..2a861c2 --- /dev/null +++ b/help2man.spec @@ -0,0 +1,59 @@ +Name: help2man +Summary: Create simple man pages from --help output +Version: 1.33.1 +Release: 0.fdr.2.rh80 +Group: Development/Tools +License: GPL +URL: http://www.gnu.org/software/help2man +Source: ftp://ftp.gnu.org/gnu/help2man/help2man_%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch + +Requires(post): /sbin/install-info +Requires(preun): /sbin/install-info + +%description +help2man is a script to create simple man pages from the --help and +--version output of programs. + +Since most GNU documentation is now in info format, this provides a +way to generate a placeholder man page pointing to that resource while +still providing some useful information. + +%prep +%setup -n help2man-%{version} + +%build +# --enable-nls would require perl(Locale::gettext) + %configure --disable-nls +make + +%install +rm -fr $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -fr $RPM_BUILD_ROOT + +%post +/sbin/install-info %{_infodir}/help2man.info %{_infodir}/dir 2>/dev/null || : + +%preun +if [ $1 = 0 ]; then + /sbin/install-info --delete %{_infodir}/help2man.info \ + %{_infodir}/dir 2>/dev/null || : +fi + +%files +%defattr(-, root, root) +%doc README NEWS THANKS +%{_bindir}/help2man +%{_infodir}/* +%{_mandir}/man1/* + +%changelog +* Thu Jul 09 2004 Ralf Corsepius - 1.33.1-0.fdr.2 +- Use %configure. + +* Thu Jul 08 2004 Ralf Corsepius - 1.33.1-0.fdr.1 +- Initial Fedora Extras submission. diff --git a/sources b/sources index e69de29..51c3e23 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +4fd9c94cda2572735790e22e7fce3928 help2man_1.33.1.tar.gz