]> git.pld-linux.org Git - packages/help2man.git/blame - help2man.spec
- updated gettext BR
[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
d3437778
JB
5Version: 1.46.4
6Release: 1
5ce1d816 7License: GPL v3+
2843feb3 8Group: Applications/Text
4a93d894 9Source0: http://ftp.debian.org/debian/pool/main/h/help2man/%{name}_%{version}.tar.xz
d3437778 10# Source0-md5: a1b7fe49eddae8a2537ed74ee9ef11cb
2843feb3
JB
11Patch0: %{name}-info.patch
12URL: http://www.gnu.org/software/help2man/
2fd6e960 13BuildRequires: gettext-tools
0646bd42 14BuildRequires: perl-base >= 1:5.8
53d84004 15BuildRequires: perl-Locale-gettext
0c9479c0 16BuildRequires: po4a
2843feb3 17BuildRequires: rpm-perlprov
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
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
53rm -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
61rm -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*
01191526 77%lang(fr) %{_infodir}/help2man-fr.info*
0c9479c0
JB
78%lang(pl) %{_infodir}/help2man-pl.info*
79%lang(uk) %{_infodir}/help2man-uk.info*
5ce1d816
JB
80%{_mandir}/man1/help2man.1*
81%lang(de) %{_mandir}/de/man1/help2man.1*
b1d4f2ee 82%lang(el) %{_mandir}/el/man1/help2man.1*
085d50f1 83%lang(eo) %{_mandir}/eo/man1/help2man.1*
48c33e13 84%lang(es) %{_mandir}/es/man1/help2man.1*
5ce1d816
JB
85%lang(fi) %{_mandir}/fi/man1/help2man.1*
86%lang(fr) %{_mandir}/fr/man1/help2man.1*
b9a472e1 87%lang(hr) %{_mandir}/hr/man1/help2man.1*
0c9479c0 88%lang(hu) %{_mandir}/hu/man1/help2man.1*
b1d4f2ee 89%lang(it) %{_mandir}/it/man1/help2man.1*
4b9a23eb 90%lang(ja) %{_mandir}/ja/man1/help2man.1*
0c9479c0 91%lang(nb) %{_mandir}/nb/man1/help2man.1*
5ce1d816
JB
92%lang(pl) %{_mandir}/pl/man1/help2man.1*
93%lang(pt_BR) %{_mandir}/pt_BR/man1/help2man.1*
94%lang(ru) %{_mandir}/ru/man1/help2man.1*
20fce197 95%lang(sr) %{_mandir}/sr/man1/help2man.1*
5ce1d816 96%lang(sv) %{_mandir}/sv/man1/help2man.1*
3bec5d2b 97%lang(uk) %{_mandir}/uk/man1/help2man.1*
5ce1d816 98%lang(vi) %{_mandir}/vi/man1/help2man.1*
This page took 0.058199 seconds and 4 git commands to generate.