%define name mhonarc %define oname MHonArc %define version 2.6.18 %define release %mkrel 0 %define subrel 1 Summary: A Perl mail-to-HTML converter Name: %name Version: %version Release: %release License: GPLv2+ Group: Networking/WWW URL: http://www.mhonarc.org/ Source: http://www.mhonarc.org/release/MHonArc/tar/%{oname}-%{version}.tar.bz2 Patch0: MHonArc-2.6.15-fix-perl.patch Requires: perl >= 0:5.601 BuildArch: noarch BuildRoot: %{_tmppath}/%{oname}%{version} Obsoletes: MHonArc %description 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 %oname-%version %patch0 -p1 %build %install rm -rf %{buildroot} perl install.me -batch -libpath %{buildroot}%{_datadir}/MHonArc -nodoc \ -manpath %{buildroot}%{_mandir} -binpath %{buildroot}%{_bindir} # just in case cd %{buildroot} find . -type f -exec perl -pi -e "s|%{buildroot}||g" {} \; %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc ACKNOWLG BUGS CHANGES README.txt RELNOTES %doc doc examples extras logo %{_bindir}/* %{_datadir}/MHonArc %{_mandir}/*/* %changelog * Tue Jan 03 2012 dmorgan <dmorgan> 2.6.18-0.1.mga1 + Revision: 189768 - New version 2.6.18 ( Fix CVE-2010-1677 / CVE-2010-4524) ( mga #3997) * Mon Mar 07 2011 ennael <ennael> 2.6.16-6.mga1 + Revision: 65898 - imported package mhonarc * Fri Dec 10 2010 Oden Eriksson <oeriksson@mandriva.com> 2.6.16-6mdv2011.0 + Revision: 620324 - the mass rebuild of 2010.0 packages * Fri Sep 04 2009 Thierry Vignaud <tv@mandriva.org> 2.6.16-5mdv2010.0 + Revision: 430026 - rebuild * Tue Jul 29 2008 Thierry Vignaud <tv@mandriva.org> 2.6.16-4mdv2009.0 + Revision: 252395 - rebuild - kill re-definition of %%buildroot on Pixel's request + Olivier Blin <oblin@mandriva.com> - restore BuildRoot * Fri Oct 26 2007 Adam Williamson <awilliamson@mandriva.org> 2.6.16-2mdv2008.1 + Revision: 102453 - if it's a noarch package, you *really* shouldn't use %%libdir as an install target... - new license policy * Wed Jan 17 2007 Nicolas Lécureuil <neoclust@mandriva.org> 2.6.16-1mdv2007.0 + Revision: 109977 - Rename * Wed Jan 17 2007 Nicolas Lécureuil <neoclust@mandriva.org> 2.6.16-1mdv2007.1 + Revision: 109965 - New version 2.6.16 - Import MHonArc