help2man/help2man.spec

64 lines
1.6 KiB
RPMSpec
Raw Normal View History

Name: help2man
Summary: Create simple man pages from --help output
2005-04-29 17:23:36 +00:00
Version: 1.35.1
Release: 1.fc4
Group: Development/Tools
License: GPL
URL: http://www.gnu.org/software/help2man
2005-04-29 17:23:36 +00:00
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
2005-04-29 17:23:36 +00:00
if [ $1 -eq 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
2005-04-29 17:23:36 +00:00
* Fri Apr 29 2005 Ralf Corsepius <ralf[AT]links2linux.de> - 1.35.1-1
- Update to 1.35.1
- Minor spec fixes.
* Thu Jul 09 2004 Ralf Corsepius <ralf[AT]links2linux.de> - 1.33.1-0.fdr.2
2005-04-29 17:23:36 +00:00
- Use %%configure.
* Thu Jul 08 2004 Ralf Corsepius <ralf[AT]links2linux.de> - 1.33.1-0.fdr.1
- Initial Fedora Extras submission.