resetting manifest requested domain to floor
[platform/upstream/help2man.git] / packaging / help2man.spec
1 Name:           help2man
2 Version:        1.40.10
3 Release:        0
4 License:        GPL-3.0+
5 Summary:        Create Simple Man Pages from --help Output
6 Url:            http://www.gnu.org/software/help2man/
7 Group:          Development/Tools/Doc Generators
8 Source:         %{name}-%{version}.tar.gz
9 Source1001:     help2man.manifest
10 BuildRequires:  gettext-tools
11 BuildRequires:  perl-gettext
12 Requires:       perl-gettext
13
14 %description
15 help2man is a script to create simple man pages from the --help and
16 --version output of programs.
17
18 Since most GNU documentation is now in info format, this provides a way
19 to generate a placeholder man page pointing to that resource while
20 still providing some useful information.
21
22 %prep
23 %setup -q
24 cp %{SOURCE1001} .
25
26 %build
27 %configure --enable-nls
28 make %{?_smp_mflags}
29
30 %install
31 %make_install
32
33 %find_lang %{name} --with-man
34
35
36 %files -f %{name}.lang
37 %manifest %{name}.manifest
38 %defattr(-,root,root,-)
39 %doc COPYING 
40 %{_bindir}/help2man
41 %{_libdir}/help2man/
42 %doc %{_infodir}/help2man.info%{ext_info}
43 %doc %{_mandir}/man1/help2man.1%{ext_man}
44 %dir %{_mandir}/??
45 %dir %{_mandir}/??/man1
46
47 %changelog