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