]> git.pld-linux.org Git - packages/help2adoc.git/blob - help2adoc.spec
- new
[packages/help2adoc.git] / help2adoc.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        help2adoc - tool to convert help output to asciidoc
3 Summary(pl.UTF-8):      help2adoc - narzędzie do konwersji wyjścia pomocy do formatu asciidoc
4 Name:           help2adoc
5 # see help2adoc.pl /VERSION
6 Version:        0.0.1
7 %define snap    20170420
8 %define gitref  37ed8924b40fb25ef6aab6ab838e0270718981df
9 %define rel     1
10 Release:        0.%{snap}.%{rel}
11 License:        BSD
12 Group:          Applications/Text
13 Source0:        https://github.com/klali/help2adoc/archive/%{gitref}/%{name}-%{snap}.tar.gz
14 # Source0-md5:  6774c97d0c9da227d484b6bf95317354
15 URL:            https://github.com/klali/help2adoc
16 BuildRequires:  asciidoc
17 BuildRequires:  perl-base
18 BuildRequires:  rpm-perlprov
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 A tool to convert help output to asciidoc.
23
24 %description -l pl.UTF-8
25 Narzędzie do konwersji wyjścia pomocy do formatu asciidoc.
26
27 %prep
28 %setup -q -n %{name}-%{gitref}
29
30 %build
31 %{__make}
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
36
37 install -p help2adoc.pl $RPM_BUILD_ROOT%{_bindir}/help2adoc
38 cp -p help2adoc.1 $RPM_BUILD_ROOT%{_mandir}/man1/help2adoc.1
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(644,root,root,755)
45 %doc COPYING README
46 %attr(755,root,root) %{_bindir}/help2adoc
47 %{_mandir}/man1/help2adoc.1*
This page took 0.088282 seconds and 3 git commands to generate.