1 %include /usr/lib/rpm/macros.perl
2 Summary: help2man - automatic manual page generation
3 Summary(pl): help2man - automatyczne generowanie stron manuala
8 Group: Applications/Text
9 Source0: ftp://ftp.gnu.org/gnu/help2man/%{name}-%{version}.tar.gz
10 Patch0: %{name}-info.patch
11 URL: http://www.gnu.org/software/help2man/
12 BuildRequires: rpm-perlprov
13 BuildRequires: texinfo
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 help2man is a tool for automatically generating simple manual pages
18 from program output. This program is intended to provide an easy way
19 for software authors to include a manual page in their distribution
20 without having to maintain that document. Given a program which
21 produces reasonably standard `--help' and `--version' outputs,
22 help2man can re-arrange that output into something which resembles
26 help2man to narzêdzie do automatycznego generowania prostych stron
27 manuala na podstawie wyj¶cia z programu. Ten program ma za zadanie
28 daæ autorom oprogramowania ³atwy sposób na do³±czanie stron manuala
29 bez opiekowania siê nimi. Po wskazaniu programu, który daje w miarê
30 standardowe wyj¶ciedla opcji --help i --version, help2man potrafi
31 przekszta³ciæ to wyj¶cie na co¶ przypominaj±cego stronê manuala.
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT
46 %{__make} install DESTDIR=$RPM_BUILD_ROOT
49 rm -rf $RPM_BUILD_ROOT
52 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
55 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
58 %defattr(644,root,root,755)
59 %doc NEWS README THANKS
60 %attr(755,root,root) %{_bindir}/*