mhonarc/mhonarc.spec

67 lines
1.9 KiB
RPMSpec
Raw Permalink Normal View History

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