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