109937a
Name:           perl-Email-MIME
60429cf
Version:        1.946
8742e29
Release:        1%{?dist}
109937a
Summary:        Easy MIME message parsing
109937a
109937a
Group:          Development/Libraries
b1aaa96
License:        GPL+ or Artistic
109937a
URL:            http://search.cpan.org/dist/Email-MIME/
109fef0
Source0:        http://www.cpan.org/authors/id/R/RJ/RJBS/Email-MIME-%{version}.tar.gz
109937a
109937a
BuildArch:      noarch
91b1546
# Module Build
c8980c5
BuildRequires:  perl-generators
91b1546
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.30
91b1546
# Module Runtime
91b1546
BuildRequires:  perl(Carp)
91b1546
BuildRequires:  perl(Email::Address)
c461e05
# BuildRequires:	perl(Email::Address::XS)
7bef3fc
BuildRequires:  perl(Email::MessageID)
60429cf
BuildRequires:  perl(Email::MIME::ContentType) >= 1.022
91b1546
BuildRequires:  perl(Email::MIME::Encodings) >= 1.314
91b1546
BuildRequires:  perl(Email::Simple) >= 2.102
91b1546
BuildRequires:  perl(Email::Simple::Creator)
91b1546
BuildRequires:  perl(Email::Simple::Header)
91b1546
BuildRequires:  perl(Encode) >= 1.9801
c461e05
BuildRequires:	perl(Module::Runtime)
91b1546
BuildRequires:  perl(MIME::Base64)
109937a
BuildRequires:  perl(MIME::Types) >= 1.13
91b1546
BuildRequires:  perl(parent)
91b1546
BuildRequires:  perl(Scalar::Util)
91b1546
# Test Suite
91b1546
BuildRequires:  perl(blib)
91b1546
BuildRequires:  perl(Capture::Tiny)
91b1546
BuildRequires:  perl(Symbol)
91b1546
BuildRequires:  perl(Test::More) >= 0.96
91b1546
BuildRequires:  perl(utf8)
91b1546
BuildRequires:  perl(version) > 0.99
91b1546
# Release Tests
91b1546
BuildRequires:  perl(Test::Pod) >= 1.41
91b1546
# Runtime
91b1546
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
91b1546
Requires:       perl(Email::Simple::Creator)
109937a
Requires:       perl(MIME::Types) >= 1.13
91b1546
ad3abf4
Obsoletes:      perl-Email-MIME-Creator < 1.457
ad3abf4
Obsoletes:      perl-Email-MIME-Modifier < 1.445
ad3abf4
Provides:       perl-Email-MIME-Creator = %{version}
ad3abf4
Provides:       perl-Email-MIME-Modifier = %{version}
109937a
109937a
%description
109937a
This is an extension of the Email::Simple module, to handle MIME
109937a
encoded messages. It takes a message as a string, splits it up
109937a
into its constituent parts, and allows you access to various
109937a
parts of the message. Headers are decoded from MIME encoding.
109937a
109937a
109937a
%prep
109937a
%setup -q -n Email-MIME-%{version}
109937a
109937a
109937a
%build
109937a
%{__perl} Makefile.PL INSTALLDIRS=vendor
109937a
make %{?_smp_mflags}
109937a
109937a
109937a
%install
109937a
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
109937a
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
109937a
chmod -R u+w $RPM_BUILD_ROOT/*
109937a
109937a
109937a
%check
109937a
make test
91b1546
make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
109937a
109937a
109937a
%files
002bd7e
%license LICENSE
002bd7e
%doc Changes README
109937a
%{perl_vendorlib}/Email/
109937a
%{_mandir}/man3/*.3pm*
109937a
109937a
109937a
%changelog
60429cf
* Thu Aug 31 2017 Tom Callaway <spot@fedoraproject.org> - 1.946-1
60429cf
- update to 1.946
60429cf
8742e29
* Mon Jul 31 2017 Tom Callaway <spot@fedoraproject.org> - 1.945-1
8742e29
- update to 1.945
8742e29
ac4faad
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.940-3
ac4faad
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
ac4faad
d5a2e3f
* Tue Jun 06 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.940-2
d5a2e3f
- Perl 5.26 rebuild
d5a2e3f
6f48cb1
* Thu Feb  9 2017 Tom Callaway <spot@fedoraproject.org> - 1.940-1
6f48cb1
- update to 1.940
6f48cb1
1cf8118
* Mon May 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.937-3
1cf8118
- Perl 5.24 rebuild
1cf8118
6114bf1
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.937-2
6114bf1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
6114bf1
002bd7e
* Mon Feb  1 2016 Tom Callaway <spot@fedoraproject.org> - 1.937-1
002bd7e
- update to 1.937
002bd7e
3970e89
* Fri Sep 11 2015 Tom Callaway <spot@fedoraproject.org> - 1.936-1
3970e89
- update to 1.936
3970e89
6eddefa
* Tue Aug  4 2015 Tom Callaway <spot@fedoraproject.org> - 1.934-1
6eddefa
- update to 1.934
6eddefa
03685bd
* Mon Jul 27 2015 Tom Callaway <spot@fedoraproject.org> - 1.933-1
03685bd
- update to 1.933
03685bd
89e4f08
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.929-3
89e4f08
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
89e4f08
99eb7f8
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.929-2
99eb7f8
- Perl 5.22 rebuild
99eb7f8
6c658df
* Mon Mar 30 2015 Tom Callaway <spot@fedoraproject.org> - 1.929-1
6c658df
- update to 1.929
6c658df
5115831
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.926-3
5115831
- Perl 5.20 rebuild
5115831
15871f0
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.926-2
15871f0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
15871f0
7045f6f
* Thu Mar  6 2014 Tom Callaway <spot@fedoraproject.org> - 1.926-1
7045f6f
- update to 1.926
7045f6f
c57e73a
* Sun Aug 11 2013 Paul Howarth <paul@city-fan.org> - 1.924-1
c57e73a
- Update to 1.924
c57e73a
  - Update use of Email::MIME::ContentType to match new, fixed hash keys:
c57e73a
    type/subtype
c57e73a
91b1546
* Fri Aug  9 2013 Paul Howarth <paul@city-fan.org> - 1.923-1
91b1546
- Update to 1.923
91b1546
  - Repackage, remove PEP links, update bugtracker
91b1546
  - Try to encode headers based on the header structure, if it has one, rather
91b1546
    than treating the header as a big string in all cases
91b1546
  - Do not call parts_set during walk_parts unless the parts have actually
91b1546
    changed
91b1546
  - When trying to decode a body, fall back to 7bit if the encoding is unknown;
91b1546
    trying to create a new body in an unknown encoding is still forbidden
91b1546
  - Avoid undefined warnings in debug_structure (CPAN RT#82388)
91b1546
  - Better error message when the given body is a ref but not a scalar
91b1546
    (CPAN RT#59205)
91b1546
  - Do not consider the part-ending CRLF part of the body
91b1546
- Update build-reqs as per upstream requirements
91b1546
- Explicitly run the release tests
91b1546
- Drop %%defattr, redundant since rpm 4.4
91b1546
- Don't need to remove empty directories from the buildroot
91b1546
- Classify buildreqs by usage
91b1546
3af1349
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.911-3
3af1349
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
3af1349
20d85c7
* Wed Jul 31 2013 Petr Pisar <ppisar@redhat.com> - 1.911-2
20d85c7
- Perl 5.18 rebuild
20d85c7
b04244b
* Sat Feb 23 2013 Ralf Cors├ępius <corsepiu@fedoraproject.org> - 1.911-1
b04244b
- Add BR: perl(ExtUtils::MakeMaker) (Fix FTBFS #914270).
b04244b
- Upstream update.
b04244b
- Modernize spec.
b04244b
2d8495c
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.906-8
2d8495c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
2d8495c
a6e674e
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.906-7
a6e674e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
a6e674e
7a5ee43
* Thu Jun 21 2012 Petr Pisar <ppisar@redhat.com> - 1.906-6
7a5ee43
- Perl 5.16 rebuild
7a5ee43
72ce46d
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.906-5
72ce46d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
72ce46d
Petr Sabata dea6068
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 1.906-4
Petr Sabata dea6068
- Perl mass rebuild
Petr Sabata dea6068
416f861
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.906-3
416f861
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
416f861
ad3abf4
* Fri Dec  3 2010 Paul Howarth <paul@city-fan.oth> - 1.906-2
ad3abf4
- Obsolete perl-Email-MIME-Creator and perl-Email-MIME-Modifier, merged into
ad3abf4
  Email::MIME at version 1.900
ad3abf4
7bef3fc
* Fri Dec  3 2010 Paul Howarth <paul@city-fan.oth> - 1.906-1
7bef3fc
- Update to 1.906 (#659635)
7bef3fc
- BR: perl(Email::Date::Format) and perl(Email::MessageID)
7bef3fc
- BR: perl(Test::MinimumVersion) for additional test coverage
7bef3fc
- Bump perl(Email::MIME::Encodings) version requirement to 1.313
7bef3fc
- Bump perl(Email::Simple) version requirement to 2.004
7bef3fc
305ca73
* Sat May 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.863-5
305ca73
- Mass rebuild with perl-5.12.0
305ca73
bb474b1
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.863-4
bb474b1
- Mass rebuild with perl-5.12.0
bb474b1
64b3757
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.863-3
64b3757
- rebuild against perl 5.10.1
64b3757
1e9d273
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.863-2
1e9d273
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
1e9d273
7ef4e09
* Fri Mar 13 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1.863-1
7ef4e09
- update to 1.863
7ef4e09
809fcc7
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.861-4
809fcc7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
809fcc7
0acea96
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.861-3
0acea96
- Rebuild for perl 5.10 (again)
0acea96
30601d0
* Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.861-2
30601d0
- rebuild for new perl
30601d0
4dc6908
* Wed Nov 28 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.861-1
4dc6908
- bump to 1.861
4dc6908
a82510b
* Fri Mar 23 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.859-1
a82510b
- Update to 1.859.
a82510b
654f3f8
* Sat Feb 10 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.858-1
654f3f8
- Update to 1.858.
654f3f8
e4bafb6
* Fri Dec  1 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.857-1
e4bafb6
- Update to 1.857.
e4bafb6
116836c
* Thu Oct 19 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.855-1
116836c
- Update to 1.855.
116836c
116836c
* Sun Oct 15 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.854-1
116836c
- Update to 1.854.
116836c
eaccb35
* Fri Oct 13 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.853-1
eaccb35
- Update to 1.853.
eaccb35
345bfd8
* Wed Sep  6 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.852-1
345bfd8
- Update to 1.852.
345bfd8
5d7b5ef
* Mon Aug 28 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.851-1
5d7b5ef
- Update to 1.851.
5d7b5ef
109fef0
* Fri Jul 14 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.85-1
109fef0
- Update to 1.85.
109fef0
109937a
* Thu Sep  8 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.82-2
109937a
- Requires Email::Simple (rpm "use base" shortcoming).
109937a
109937a
* Thu Sep 08 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.82-1
109937a
- First build.