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