You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
142 lines
4.8 KiB
142 lines
4.8 KiB
8 months ago
|
Name: perl-Email-MIME-ContentType
|
||
|
Version: 1.017
|
||
|
Release: 1%{?dist}
|
||
|
Summary: Parse a MIME Content-Type Header
|
||
|
|
||
|
Group: Development/Libraries
|
||
|
License: GPL+ or Artistic
|
||
|
URL: http://search.cpan.org/dist/Email-MIME-ContentType/
|
||
|
Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/Email-MIME-ContentType-%{version}.tar.gz
|
||
|
|
||
|
BuildArch: noarch
|
||
|
BuildRequires: perl(blib)
|
||
|
BuildRequires: perl(Capture::Tiny)
|
||
|
BuildRequires: perl(Carp)
|
||
|
BuildRequires: perl(Exporter) >= 5.57
|
||
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
|
||
|
BuildRequires: perl(strict)
|
||
|
BuildRequires: perl(Test::More) >= 0.96
|
||
|
BuildRequires: perl(Test::Pod) >= 1.41
|
||
|
BuildRequires: perl(version) > 0.99
|
||
|
BuildRequires: perl(warnings)
|
||
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||
|
|
||
|
%description
|
||
|
This module is responsible for parsing email content type headers according
|
||
|
to section 5.1 of RFC 2045. It returns a hash with entries for the type, the
|
||
|
subtype, and a hash of attributes.
|
||
|
|
||
|
For backward compatibility with a really unfortunate misunderstanding of RFC
|
||
|
2045 by the early implementors of this module, 'discrete' and 'composite' are
|
||
|
also present in the returned hashref, with the values of 'type' and 'subtype'
|
||
|
respectively.
|
||
|
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n Email-MIME-ContentType-%{version}
|
||
|
|
||
|
|
||
|
%build
|
||
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||
|
make %{?_smp_mflags}
|
||
|
|
||
|
|
||
|
%install
|
||
|
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
||
|
chmod -R u+w $RPM_BUILD_ROOT/*
|
||
|
|
||
|
|
||
|
%check
|
||
|
make test
|
||
|
make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
|
||
|
|
||
|
|
||
|
%files
|
||
|
%doc Changes LICENSE README
|
||
|
%{perl_vendorlib}/Email/
|
||
|
%{_mandir}/man3/*.3pm*
|
||
|
|
||
|
|
||
|
%changelog
|
||
|
* Sun Aug 11 2013 Paul Howarth <paul@city-fan.org> - 1.017-1
|
||
|
- Update to 1.017
|
||
|
- Correct the longstanding and embarrassing misuse of "discrete" and
|
||
|
"composite" to mean "type" and "subtype"; the returned data still contains
|
||
|
the wrong old names so your code shouldn't break
|
||
|
- Repackage to update bugtracker, repo, etc.
|
||
|
- Make $STRICT_PARAMS actually work! (CPAN RT#87460)
|
||
|
- Don't need to remove empty directories from the buildroot
|
||
|
- Drop %%defattr, redundant since rpm 4.4
|
||
|
- Explicitly run the release tests
|
||
|
|
||
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.015-16
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||
|
|
||
|
* Sat Jul 20 2013 Petr Pisar <ppisar@redhat.com> - 1.015-15
|
||
|
- Perl 5.18 rebuild
|
||
|
|
||
|
* Sun Feb 24 2013 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.015-14
|
||
|
- Add BR: perl(ExtUtils::MakeMaker) (Fix FTBFS #914271).
|
||
|
- Modernize spec.
|
||
|
|
||
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.015-13
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||
|
|
||
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.015-12
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||
|
|
||
|
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 1.015-11
|
||
|
- Perl 5.16 rebuild
|
||
|
|
||
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.015-10
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||
|
|
||
|
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.015-9
|
||
|
- Perl mass rebuild
|
||
|
|
||
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.015-8
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||
|
|
||
|
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.015-7
|
||
|
- 661697 rebuild for fixing problems with vendorach/lib
|
||
|
|
||
|
* Sat May 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.015-6
|
||
|
- Mass rebuild with perl-5.12.0
|
||
|
|
||
|
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.015-5
|
||
|
- Mass rebuild with perl-5.12.0
|
||
|
|
||
|
* Fri Apr 23 2010 Marcela Mašláňová <mmaslano@redhat.com> - 1.015-4
|
||
|
- rebuild
|
||
|
|
||
|
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.015-3
|
||
|
- rebuild against perl 5.10.1
|
||
|
|
||
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.015-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||
|
|
||
|
* Fri Mar 13 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1.015-1
|
||
|
- update to 1.015
|
||
|
|
||
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.014-4
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||
|
|
||
|
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.014-3
|
||
|
- Rebuild for perl 5.10 (again)
|
||
|
|
||
|
* Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.014-2
|
||
|
- rebuild for new perl
|
||
|
|
||
|
* Fri Mar 23 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.014-1
|
||
|
- Update to 1.014.
|
||
|
|
||
|
* Sat Nov 25 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.012-1
|
||
|
- Update to 1.012.
|
||
|
|
||
|
* Fri Oct 13 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.011-1
|
||
|
- Update to 1.011.
|
||
|
|
||
|
* Thu Sep 08 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.01-1
|
||
|
- First build.
|