]> git.pld-linux.org Git - packages/help2man.git/blob - help2man.spec
- Release: 3
[packages/help2man.git] / help2man.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        help2man - automatic manual page generation
3 Summary(pl):    help2man - automatyczne generowanie stron manuala
4 Name:           help2man
5 Version:        1.33.1
6 Release:        3
7 License:        GPL
8 Group:          Applications/Text
9 Source0:        http://ftp.debian.org/debian/pool/main/h/help2man/%{name}_%{version}.tar.gz
10 # Source0-md5:  4fd9c94cda2572735790e22e7fce3928
11 Patch0:         %{name}-info.patch
12 URL:            http://www.gnu.org/software/help2man/
13 BuildRequires:  gettext-devel
14 BuildRequires:  perl-Locale-gettext
15 BuildRequires:  rpm-perlprov
16 BuildRequires:  texinfo
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 help2man is a tool for automatically generating simple manual pages
21 from program output. This program is intended to provide an easy way
22 for software authors to include a manual page in their distribution
23 without having to maintain that document. Given a program which
24 produces reasonably standard `--help' and `--version' outputs,
25 help2man can re-arrange that output into something which resembles
26 a manual page.
27
28 %description -l pl
29 help2man to narzêdzie do automatycznego generowania prostych stron
30 manuala na podstawie wyj¶cia z programu. Ten program ma za zadanie
31 daæ autorom oprogramowania ³atwy sposób na do³±czanie stron manuala
32 bez opiekowania siê nimi. Po wskazaniu programu, który daje w miarê
33 standardowe wyj¶ciedla opcji --help i --version, help2man potrafi
34 przekszta³ciæ to wyj¶cie na co¶ przypominaj±cego stronê manuala.
35
36 %prep
37 %setup -q
38 %patch0 -p1
39
40 %build
41 %configure
42
43 %{__make} \
44         CFLAGS="%{rpmcflags}"
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48
49 %{__make} install \
50         DESTDIR=$RPM_BUILD_ROOT
51
52 %find_lang %{name}
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %post
58 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
59
60 %postun
61 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
62
63 %files -f %{name}.lang
64 %defattr(644,root,root,755)
65 %doc NEWS README THANKS
66 %attr(755,root,root) %{_bindir}/*
67 %attr(755,root,root) %{_libdir}/hacklocaledir.so
68 %{_infodir}/*.info*
69 %{_mandir}/man1/*.1*
70 %lang(fr) %{_mandir}/fr/man1/*.1*
71 %lang(pl) %{_mandir}/pl/man1/*.1*
This page took 0.03786 seconds and 3 git commands to generate.