[packages/help2adoc] - new
qboosh
qboosh at pld-linux.org
Mon May 21 18:13:50 CEST 2018
commit 8ba986e86c06793e9bf3cba28406916f528c4e01
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon May 21 18:14:24 2018 +0200
- new
help2adoc.spec | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
---
diff --git a/help2adoc.spec b/help2adoc.spec
new file mode 100644
index 0000000..f2df0c3
--- /dev/null
+++ b/help2adoc.spec
@@ -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*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/help2adoc.git/commitdiff/8ba986e86c06793e9bf3cba28406916f528c4e01
More information about the pld-cvs-commit
mailing list