From c785182edfef3c1fb1396676c84c2f5eaac2ff42 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 07:08:17 +0100 Subject: [PATCH] add internal requirements as provides rename from MHonArc to mhonarc [release 2.6.18-2mamba;Mon Jul 01 2013] --- README.md | 2 ++ mhonarc.spec | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 mhonarc.spec diff --git a/README.md b/README.md index da0be48..b93f426 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # mhonarc +MHonArc is a Perl mail-to-HTML converter. MHonArc provides HTML mail archiving with index, mail thread linking, etc; plus other capabilities including support for MIME and powerful user customization features + diff --git a/mhonarc.spec b/mhonarc.spec new file mode 100644 index 0000000..f6f1adb --- /dev/null +++ b/mhonarc.spec @@ -0,0 +1,66 @@ +Name: mhonarc +Version: 2.6.18 +Release: 2mamba +Summary: MHonArc is a Perl mail-to-HTML converter +Group: Applications/Publishing +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.mhonarc.org/ +Source: http://www.mhonarc.org/release/MHonArc/tar/MHonArc-%{version}.tar.gz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: perl-devel +BuildRequires: perl-Unicode-MapUTF8 +BuildRequires: perl-Unicode-String +## AUTOBUILDREQ-END +Provides: perl(ewhutil.pl) +Provides: perl(mhtime.pl) +Provides: perl(readmail.pl) +Provides: MHonArc +Obsoletes: MHonArc +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +MHonArc is a Perl mail-to-HTML converter. MHonArc provides HTML mail archiving with index, mail thread linking, etc; plus other capabilities including support for MIME and powerful user customization features + +%prep +%setup -q -n MHonArc-%{version} + +%build +perl Makefile.PL PREFIX=%{_prefix} +%make + +%install +[ "%{buildroot}" != / ] && rm -rf %{buildroot} +%{__perl} install.me -batch -nodoc \ + -root %{buildroot} \ + -perl %{__perl} \ + -libpath %{_libdir}/%{name} \ + -binpath %{_bindir} \ + -manpath %{_mandir} + +%clean +[ "%{buildroot}" != / ] && rm -rf %{buildroot} + +%files +%defattr(-,root,root) +%{_bindir}/* +%dir %{_libdir}/%{name} +%{_libdir}/%{name}/* +%{_mandir}/man1/* +%doc COPYING + +%changelog +* Mon Jul 01 2013 Silvan Calarco 2.6.18-2mamba +- add internal requirements as provides +- rename from MHonArc to mhonarc + +* Fri Jan 14 2011 Automatic Build System 2.6.18-1mamba +- automatic update by autodist + +* Wed Mar 28 2007 Silvan Calarco 2.6.16-1mamba +- update to version 2.6.16 by autospec + +* Wed Dec 28 2005 Alessandro Ramazzina 2.6.15-1qilnx +- package created by autospec