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