]> git.pld-linux.org Git - packages/help2adoc.git/commitdiff
- new auto/th/help2adoc-0.0.1-0.20170420.1
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 21 May 2018 16:14:24 +0000 (18:14 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Mon, 21 May 2018 16:14:24 +0000 (18:14 +0200)
help2adoc.spec [new file with mode: 0644]

diff --git a/help2adoc.spec b/help2adoc.spec
new file mode 100644 (file)
index 0000000..f2df0c3
--- /dev/null
@@ -0,0 +1,47 @@
+%include       /usr/lib/rpm/macros.perl
+Summary:       help2adoc - tool to convert help output to asciidoc
+Summary(pl.UTF-8):     help2adoc - narzędzie do konwersji wyjścia pomocy do formatu asciidoc
+Name:          help2adoc
+# see help2adoc.pl /VERSION
+Version:       0.0.1
+%define        snap    20170420
+%define        gitref  37ed8924b40fb25ef6aab6ab838e0270718981df
+%define        rel     1
+Release:       0.%{snap}.%{rel}
+License:       BSD
+Group:         Applications/Text
+Source0:       https://github.com/klali/help2adoc/archive/%{gitref}/%{name}-%{snap}.tar.gz
+# Source0-md5: 6774c97d0c9da227d484b6bf95317354
+URL:           https://github.com/klali/help2adoc
+BuildRequires: asciidoc
+BuildRequires: perl-base
+BuildRequires: rpm-perlprov
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A tool to convert help output to asciidoc.
+
+%description -l pl.UTF-8
+Narzędzie do konwersji wyjścia pomocy do formatu asciidoc.
+
+%prep
+%setup -q -n %{name}-%{gitref}
+
+%build
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
+
+install -p help2adoc.pl $RPM_BUILD_ROOT%{_bindir}/help2adoc
+cp -p help2adoc.1 $RPM_BUILD_ROOT%{_mandir}/man1/help2adoc.1
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc COPYING README
+%attr(755,root,root) %{_bindir}/help2adoc
+%{_mandir}/man1/help2adoc.1*
This page took 0.113225 seconds and 4 git commands to generate.