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