%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) Name: perl-Email-MIME Version: 1.926 Release: 1mamba Summary: Email::MIME - Easy MIME message parsing. Group: System/Libraries/Perl Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.cpan.org Source: http://bo.mirror.garr.it/mirrors/CPAN/authors/id/R/RJ/RJBS/Email-MIME-%{version}.tar.gz License: GPL, Artistic Requires: perl >= %perl_major_ver BuildRequires: perl-devel >= %perl_major_ver ## AUTOBUILDREQ-BEGIN BuildRequires: perl-devel BuildRequires: perl-Email-MIME-ContentType BuildRequires: perl-Email-MIME-Encodings ## AUTOBUILDREQ-END BuildRequires: perl-Email-Simple BuildRequires: perl-MIME-Types Provides: perl-Email-MIME-Modifier Obsoletes: perl-Email-MIME-Modifier Provides: perl-Email-MIME-Creator Obsoletes: perl-Email-MIME-Creator BuildRoot: %{_tmppath}/%{name}-%{version}-root %description This is an extension of the Email::Simple module, to handle MIME encoded messages. It takes a message as a string, splits it up into its constituent parts, and allows you access to various parts of the message. Headers are decoded from MIME encoding. %prep %setup -q -n Email-MIME-%{version} %build perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor %make %make test %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall_perl packlist=`find %{buildroot} -name .packlist` [ -z "$packlist" ] && exit 1 || cat $packlist | \ sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \ sort -u > .packlist && rm $packlist strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'` for dir in `find %{buildroot} -type d | grep $strid`; do echo "%dir ${dir#%buildroot}" >> .packlist done %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" rm -f .packlist %files -f .packlist %defattr(-,root,root) %changelog * Sun Jun 01 2014 Automatic Build System 1.926-1mamba - automatic update by autodist * Thu Dec 12 2013 Automatic Build System 1.925-1mamba - automatic update by autodist * Mon Aug 12 2013 Automatic Build System 1.924-1mamba - automatic update by autodist * Sun Jun 23 2013 Automatic Build System 1.920-1mamba - automatic version update by autodist * Thu Apr 11 2013 Automatic Build System 1.912_01-1mamba - automatic version update by autodist * Sat Aug 11 2012 Automatic Build System 1.911-1mamba - automatic version update by autodist * Wed Apr 25 2012 Automatic Build System 1.910-1mamba - automatic version update by autodist * Sun Jun 19 2011 Automatic Build System 1.908-1mamba - automatic update by autodist * Wed Feb 09 2011 Automatic Build System 1.907-1mamba - automatic update by autodist * Wed Nov 10 2010 Automatic Build System 1.906-1mamba - automatic update by autodist * Sun Sep 12 2010 Automatic Build System 1.905-1mamba - automatic update by autodist * Thu Jan 14 2010 Silvan Calarco 1.903-2mamba - provide and obsoleted integrated modules perl-Email-MIME-Modifier and perl-Email-MIME-Creator * Wed Jan 13 2010 Automatic Build System 1.903-1mamba - automatic update by autodist * Mon Mar 02 2009 Silvan Calarco 1.863-1mamba - automatic update by autodist * Sat Jan 03 2009 Silvan Calarco 1.861-1mamba - package created by autospec