--- /dev/null
+%include /usr/lib/rpm/macros.perl
+Summary: help2man - automatic manual page generation
+Summary(pl): help2man - automatyczne generowanie stron manuala
+Name: help2man
+Version: 1.28
+Release: 1
+License: GPL
+Group: Applications/Text
+Source0: ftp://ftp.gnu.org/gnu/help2man/%{name}-%{version}.tar.gz
+Patch0: %{name}-info.patch
+URL: http://www.gnu.org/software/help2man/
+BuildRequires: rpm-perlprov
+BuildRequires: texinfo
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+help2man is a tool for automatically generating simple manual pages
+from program output. This program is intended to provide an easy way
+for software authors to include a manual page in their distribution
+without having to maintain that document. Given a program which
+produces reasonably standard `--help' and `--version' outputs,
+help2man can re-arrange that output into something which resembles
+a manual page.
+
+%description -l pl
+help2man to narzêdzie do automatycznego generowania prostych stron
+manuala na podstawie wyj¶cia z programu. Ten program ma za zadanie
+daæ autorom oprogramowania ³atwy sposób na do³±czanie stron manuala
+bez opiekowania siê nimi. Po wskazaniu programu, który daje w miarê
+standardowe wyj¶ciedla opcji --help i --version, help2man potrafi
+przekszta³ciæ to wyj¶cie na co¶ przypominaj±cego stronê manuala.
+
+%prep
+%setup -q
+%patch -p1
+
+%build
+%configure2_13
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT
+
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+
+%postun
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+
+%files
+%defattr(644,root,root,755)
+%doc NEWS README THANKS
+%attr(755,root,root) %{_bindir}/*
+%{_infodir}/*
+%{_mandir}/man1/*