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