]> git.pld-linux.org Git - packages/help2man.git/blob - help2man.spec
- obsolete (applied)
[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.34.1
6 Release:        1
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:  d866f5cb28d71bd6182af86568d854b4
11 Patch0:         %{name}-info.patch
12 Patch1:         %{name}-pl.po-update.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
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
45 %{__make} \
46         CFLAGS="%{rpmcflags}"
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 %find_lang %{name}
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %post
60 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
61
62 %postun
63 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
64
65 %files -f %{name}.lang
66 %defattr(644,root,root,755)
67 %doc NEWS README THANKS
68 %attr(755,root,root) %{_bindir}/*
69 %attr(755,root,root) %{_libdir}/hacklocaledir.so
70 %{_infodir}/*.info*
71 %{_mandir}/man1/*.1*
72 %lang(fr) %{_mandir}/fr/man1/*.1*
73 %lang(pl) %{_mandir}/pl/man1/*.1*
This page took 0.08591 seconds and 3 git commands to generate.