Name: perl-Mail-Box-Parser-C Version: 3.006 Release: 7%{?dist} Summary: Parsing folders for MailBox with C routines Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/Mail-Box-Parser-C/ Source0: http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/Mail-Box-Parser-C-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: perl(ExtUtils::MakeMaker), perl(Mail::Message), perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module enables faster folder parsing by using compiled C routines. %prep %setup -q -n Mail-Box-Parser-C-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' chmod -R u+w $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc LICENSE %{perl_vendorarch}/auto/Mail/ %{perl_vendorarch}/Mail/ %{_mandir}/man3/*.3* %changelog * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 3.006-7 - rebuild against perl 5.10.1 * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.006-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.006-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 3.006-4 Rebuild for new perl * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 3.006-3 - Autorebuild for GCC 4.3 * Sun Aug 26 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 3.006-2 - license tag fix * Mon Apr 2 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 3.006-1 - Initial package for Fedora