add internal requirements as provides

rename from MHonArc to mhonarc [release 2.6.18-2mamba;Mon Jul 01 2013]
This commit is contained in:
Silvan Calarco 2024-01-06 07:08:17 +01:00
parent c7ae77618f
commit c785182edf
2 changed files with 68 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# mhonarc # 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

66
mhonarc.spec Normal file
View File

@ -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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 2.6.18-2mamba
- add internal requirements as provides
- rename from MHonArc to mhonarc
* Fri Jan 14 2011 Automatic Build System <autodist@mambasoft.it> 2.6.18-1mamba
- automatic update by autodist
* Wed Mar 28 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.16-1mamba
- update to version 2.6.16 by autospec
* Wed Dec 28 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 2.6.15-1qilnx
- package created by autospec