4026338
Name:           perl-Mail-MboxParser
4026338
Version:        0.55
668710b
Release:        9%{?dist}
4026338
Summary:        Read-only access to UNIX-mailboxes
4026338
License:        GPL+ or Artistic
4026338
Group:          Development/Libraries
4026338
URL:            http://search.cpan.org/dist/Mail-MboxParser/
4026338
Source0:        http://www.cpan.org/authors/id/V/VP/VPARSEVAL/Mail-MboxParser-%{version}.tar.gz
d6af9bc
# Bug #715505, submitted to upstream
d6af9bc
Patch0:         %{name}-0.55-Fix-garbled-attachment-name-RT-66576.patch
4026338
BuildArch:      noarch
4026338
BuildRequires:  perl(ExtUtils::MakeMaker)
4026338
BuildRequires:  perl(MIME::Tools) >= 5
724425b
# Tests:
724425b
BuildRequires:  perl(base)
724425b
BuildRequires:  perl(constant)
724425b
BuildRequires:  perl(Exporter)
41db03f
BuildRequires:  perl(File::Spec)
724425b
BuildRequires:  perl(File::Temp)
724425b
BuildRequires:  perl(IO::Seekable)
724425b
BuildRequires:  perl(MIME::Base64)
724425b
BuildRequires:  perl(MIME::QuotedPrint)
41db03f
BuildRequires:  perl(Test)
724425b
# Optional test
724425b
BuildRequires:  perl(Encode)
724425b
BuildRequires:  perl(Mail::Mbox::MessageParser)
724425b
BuildRequires:  perl(MIME::Words)
41db03f
BuildRequires:  perl(Test::Pod)
41db03f
BuildRequires:  perl(Test::Pod::Coverage)
ebf7dae
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
4026338
Requires:       perl(MIME::Tools) >= 5
f5f8d14
Requires:       perl(Mail::Mbox::MessageParser)
4026338
4026338
%{?perl_default_filter}
4026338
4026338
%description
4026338
This module attempts to provide a simplified access to standard UNIX-
4026338
mailboxes. It offers only a subset of methods to get 'straight to the
4026338
point'. More sophisticated things can still be done by invoking any method
4026338
from MIME::Tools on the appropriate return values.
4026338
4026338
%prep
4026338
%setup -q -n Mail-MboxParser-%{version}
d6af9bc
%patch0 -p1 -b .attachment_name
4026338
4026338
%build
4026338
%{__perl} Makefile.PL INSTALLDIRS=vendor
4026338
make %{?_smp_mflags}
4026338
4026338
%install
4026338
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
4026338
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
4026338
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
4026338
%{_fixperms} $RPM_BUILD_ROOT/*
4026338
4026338
%check
4026338
make test
4026338
4026338
%files
4026338
%doc Changelog README
4026338
%{perl_vendorlib}/*
4026338
%{_mandir}/man3/*
4026338
4026338
%changelog
668710b
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.55-9
668710b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
668710b
fb458db
* Sat Jun 23 2012 Petr Pisar <ppisar@redhat.com> - 0.55-8
fb458db
- Perl 5.16 rebuild
fb458db
e1a0fe7
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.55-7
e1a0fe7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
e1a0fe7
Petr Sabata 152e8ad
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 0.55-6
Petr Sabata 152e8ad
- Perl mass rebuild
Petr Sabata 152e8ad
41db03f
* Thu Jun 23 2011 Petr Pisar <ppisar@redhat.com> - 0.55-5
41db03f
- Add test-time buildrequires
41db03f
ebf7dae
* Thu Jun 23 2011 Petr Pisar <ppisar@redhat.com> - 0.55-4
ebf7dae
- Remove obsolete code from spec file
d6af9bc
- Fix failing test (bug #715505)
724425b
- Complete list of build-time dependencies
ebf7dae
6c842cd
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.55-3
6c842cd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
6c842cd
4892f4d
* Thu Jan 20 2011 Marcela Mašláňová <mmaslano@redhat.com> 0.55-2
4892f4d
- fix typo in requires
4892f4d
4026338
* Thu Jan 20 2011 Marcela Mašláňová <mmaslano@redhat.com> 0.55-1
4026338
- Specfile autogenerated by cpanspec 1.78.