]> git.pld-linux.org Git - packages/help2man.git/blame - help2man.spec
- updated to 1.43.2
[packages/help2man.git] / help2man.spec
CommitLineData
2843feb3
JB
1%include /usr/lib/rpm/macros.perl
2Summary: help2man - automatic manual page generation
44477dbd 3Summary(pl.UTF-8): help2man - automatyczne generowanie stron manuala
2843feb3 4Name: help2man
408614d6 5Version: 1.43.2
8f6f1650 6Release: 1
5ce1d816 7License: GPL v3+
2843feb3 8Group: Applications/Text
fffb3abb 9Source0: http://ftp.debian.org/debian/pool/main/h/help2man/%{name}_%{version}.tar.gz
408614d6 10# Source0-md5: bd816983f068ebcf8ca7a20463f7337d
2843feb3
JB
11Patch0: %{name}-info.patch
12URL: http://www.gnu.org/software/help2man/
40002abf 13BuildRequires: gettext-devel
0646bd42 14BuildRequires: perl-base >= 1:5.8
53d84004 15BuildRequires: perl-Locale-gettext
2843feb3
JB
16BuildRequires: rpm-perlprov
17BuildRequires: texinfo
0646bd42 18Requires: perl-base >= 1:5.8
2843feb3
JB
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22help2man is a tool for automatically generating simple manual pages
23from program output. This program is intended to provide an easy way
24for software authors to include a manual page in their distribution
25without having to maintain that document. Given a program which
26produces reasonably standard `--help' and `--version' outputs,
124f983d
ER
27help2man can re-arrange that output into something which resembles a
28manual page.
2cfc0058 29
a4a55b11
JR
30%description -l pl.UTF-8
31help2man to narzędzie do automatycznego generowania prostych stron
124f983d
ER
32manuala na podstawie wyjścia z programu. Ten program ma za zadanie dać
33autorom oprogramowania łatwy sposób na dołączanie stron manuala bez
34opiekowania się nimi. Po wskazaniu programu, który daje w miarę
a4a55b11
JR
35standardowe wyjście dla opcji --help i --version, help2man potrafi
36przekształcić to wyjście na coś przypominającego stronę manuala.
2843feb3
JB
37
38%prep
39%setup -q
53d84004 40%patch0 -p1
2843feb3
JB
41
42%build
5ce1d816
JB
43%configure \
44 --enable-nls
2843feb3 45
fffb3abb
JB
46%{__make} \
47 CFLAGS="%{rpmcflags}"
2843feb3
JB
48
49%install
50rm -rf $RPM_BUILD_ROOT
2843feb3 51
18281659 52%{__make} install \
53d84004
JB
53 DESTDIR=$RPM_BUILD_ROOT
54
55%find_lang %{name}
2843feb3
JB
56
57%clean
58rm -rf $RPM_BUILD_ROOT
59
5ce1d816 60%post -p /sbin/postshell
e171c545 61-/usr/sbin/fix-info-dir -c %{_infodir}
2843feb3 62
5ce1d816 63%postun -p /sbin/postshell
e171c545 64-/usr/sbin/fix-info-dir -c %{_infodir}
2843feb3 65
53d84004 66%files -f %{name}.lang
2843feb3 67%defattr(644,root,root,755)
5ce1d816
JB
68%doc NEWS README THANKS debian/changelog
69%attr(755,root,root) %{_bindir}/help2man
b1d4f2ee
JB
70%dir %{_libdir}/help2man
71%attr(755,root,root) %{_libdir}/help2man/bindtextdomain.so
5ce1d816
JB
72%{_infodir}/help2man.info*
73%{_mandir}/man1/help2man.1*
74%lang(de) %{_mandir}/de/man1/help2man.1*
b1d4f2ee 75%lang(el) %{_mandir}/el/man1/help2man.1*
085d50f1 76%lang(eo) %{_mandir}/eo/man1/help2man.1*
5ce1d816
JB
77%lang(fi) %{_mandir}/fi/man1/help2man.1*
78%lang(fr) %{_mandir}/fr/man1/help2man.1*
b9a472e1 79%lang(hr) %{_mandir}/hr/man1/help2man.1*
b1d4f2ee 80%lang(it) %{_mandir}/it/man1/help2man.1*
4b9a23eb 81%lang(ja) %{_mandir}/ja/man1/help2man.1*
5ce1d816
JB
82%lang(pl) %{_mandir}/pl/man1/help2man.1*
83%lang(pt_BR) %{_mandir}/pt_BR/man1/help2man.1*
84%lang(ru) %{_mandir}/ru/man1/help2man.1*
20fce197 85%lang(sr) %{_mandir}/sr/man1/help2man.1*
5ce1d816 86%lang(sv) %{_mandir}/sv/man1/help2man.1*
3bec5d2b 87%lang(uk) %{_mandir}/uk/man1/help2man.1*
5ce1d816 88%lang(vi) %{_mandir}/vi/man1/help2man.1*
This page took 0.162458 seconds and 4 git commands to generate.