Name: perl-Mail-Transport-Dbx Version: 0.07 Release: 8%{?dist} Summary: Parse Outlook Express mailboxes Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/Mail-Transport-Dbx/ Source0: http://search.cpan.org/CPAN/authors/id/V/VP/VPARSEVAL/Mail-Transport-Dbx-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: perl(ExtUtils::MakeMaker), perl(Test::Pod), perl(Test::Pod::Coverage), perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Mail::Transport::Dbx is a wrapper around libdbx to read Outlook Express mailboxes (more commonly known as .dbx files). %prep %setup -q -n Mail-Transport-Dbx-%{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/* recode() { iconv -f "$2" -t utf-8 < "$1" > "${1}_" mv -f "${1}_" "$1" } recode $RPM_BUILD_ROOT%{_mandir}/man3/Mail::Transport::Dbx.3pm iso-8859-1 %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc README %{perl_vendorarch}/auto/Mail/ %{perl_vendorarch}/Mail/ %{_mandir}/man3/*.3* %changelog * Sun Jul 26 2009 Fedora Release Engineering - 0.07-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 0.07-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Wed Feb 27 2008 Tom "spot" Callaway - 0.07-6 - Rebuild for perl 5.10 (again) * Tue Feb 19 2008 Fedora Release Engineering - 0.07-5 - Autorebuild for GCC 4.3 * Sun Jan 20 2008 Tom "spot" Callaway - 0.07-4 - rebuild for new perl * Sun Aug 26 2007 Tom "spot" Callaway - 0.07-3 - license tag fix * Mon Apr 9 2007 Tom "spot" Callaway - 0.07-2 - add missing BR for Test::Pod and Test::Pod::Coverage * Mon Apr 2 2007 Tom "spot" Callaway - 0.07-1 - Initial package for Fedora