From a86c8eddbabccb93d669365c0d44b3d60a6bb216 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 06:55:50 +0100 Subject: [PATCH] package created using the webbuild interface [release 3.0.1-1mamba;Fri Oct 03 2014] --- README.md | 2 ++ man2html.spec | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 man2html.spec diff --git a/README.md b/README.md index 9f52cd0..4fe0223 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # man2html +A Unix manpage-to-HTML converter. + diff --git a/man2html.spec b/man2html.spec new file mode 100644 index 0000000..c74cbf1 --- /dev/null +++ b/man2html.spec @@ -0,0 +1,49 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: man2html +Version: 3.0.1 +Release: 1mamba +Summary: A Unix manpage-to-HTML converter +Group: Applications/Publishing +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.cpan.org +Source: http://search.cpan.org/CPAN/authors/id/E/EH/EHOOD/man2html%{version}.tar.gz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: libperl +BuildRequires: perl-devel +## AUTOBUILDREQ-END +BuildRequires: perl-devel +Requires: perl >= %perl_major_ver +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +A Unix manpage-to-HTML converter. + +%prep +%setup -q -n man2html%{version} + +%build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +install -d -m0755 %{buildroot}{%{_bindir},%{_mandir}/man1} +perl ./install.me \ + -batch \ + -binpath %{buildroot}%{_bindir} \ + -manpath %{buildroot}%{_mandir} + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/man2html +%{_mandir}/man1/man2html.1* +%doc COPYING + +%changelog +* Fri Oct 03 2014 Silvan Calarco 3.0.1-1mamba +- package created using the webbuild interface