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.