mhonarc/mhonarc.spec

70 lines
2.0 KiB
RPMSpec

Name: mhonarc
Version: 2.6.24
Release: 1mamba
Summary: MHonArc is a Perl mail-to-HTML converter
Group: Applications/Publishing
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.mhonarc.org/
Source: https://github.com/sympa-community/MHonArc.git/%{version}/MHonArc-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: libperl
BuildRequires: perl-Unicode-MapUTF8
BuildRequires: perl-Unicode-String
BuildRequires: perl-devel
## AUTOBUILDREQ-END
Provides: perl(ewhutil.pl)
Provides: perl(mhtime.pl)
Provides: perl(readmail.pl)
Provides: MHonArc
Obsoletes: MHonArc < 2.6.24
%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 Dec 27 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.24-1mamba
- update to 2.6.24
* 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