Change make_build rpm macro
[platform/upstream/help2man.git] / packaging / help2man.spec
1 Name:           help2man
2 Version:        1.48.5
3 Release:        0
4 License:        GPL-3.0+
5 Summary:        Create Simple Man Pages from --help Output
6 Url:            https://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 %remove_docs
34 %find_lang %{name} --with-man
35
36 %files -f %{name}.lang
37 %manifest %{name}.manifest
38 %license COPYING
39 %{_bindir}/help2man
40 %{_libdir}/help2man/