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