source: projects/specs/trunk/p/perl-MIME-tools/perl-MIME-tools-vl.spec @ 12120

Revision 12120, 2.9 KB checked in by tomop, 5 years ago (diff)

perl-5.26 and friends

Line 
1Summary: modules for parsing (and creating!) MIME entities with Perl
2Name: perl-MIME-tools
3Version: 5.509
4Release: 1%{_dist_release}
5License: Artistic
6Group: Development/Libraries
7URL: http://search.cpan.org/author/ERYQ/MIME-tools/
8
9Source0:http://search.cpan.org/CPAN/authors/id/E/ER/ERYQ/MIME-tools-%{version}.tar.gz
10
11BuildArch: noarch
12BuildRoot: %{_tmppath}/%{name}-%{version}-root
13BuildRequires: perl >= 2:5.26.2
14BuildRequires: perl-IO-stringy
15BuildRequires: perl-MailTools
16BuildRequires: perl-Test-Deep
17Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
18Requires: perl-IO-stringy
19Requires: perl-MailTools
20
21Vendor: Project Vine
22Distribution: Vine Linux
23
24%description
25MIME-tools is a collection of Perl5 MIME:: modules for parsing,
26decoding, *and generating* single- or multipart (even nested multipart)
27MIME messages. (Yes, kids, that means you can send messages with
28attached GIF files).
29
30%prep
31%setup -q -n MIME-tools-%{version}
32
33%build
34CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor
35make %{?_smp_mflags}
36
37%install
38rm -rf $RPM_BUILD_ROOT
39make pure_install DESTDIR=$RPM_BUILD_ROOT
40
41find $RPM_BUILD_ROOT%{_prefix} -type f -print |
42        sed "s@^$RPM_BUILD_ROOT@@g" |
43        grep -v ^%{_mandir} |
44        grep -v perllocal.pod |
45        grep -v "\.packlist" > %{name}.files
46if [ "$(cat %{name}.files)X" = "X" ] ; then
47    echo "ERROR: EMPTY FILE LIST"
48    exit -1
49fi
50
51find $RPM_BUILD_ROOT%{_prefix} -type f -name ".packlist" -delete
52
53%check
54make test
55
56%clean
57rm -rf $RPM_BUILD_ROOT
58
59%files -f %{name}.files
60%defattr(-,root,root)
61%license COPYING
62%doc ChangeLog MANIFEST README examples
63%{_mandir}/*/*
64%dir %{perl_vendorlib}/MIME
65%dir %{perl_vendorlib}/MIME/Parser
66%dir %{perl_vendorlib}/MIME/Decoder
67%dir %{perl_vendorlib}/MIME/Field
68
69%changelog
70* Sun May 19 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.509-1
71- new upstream release.
72- rebuilt with perl-5.26.
73
74* Wed Oct 15 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 5.505-2
75- moved to Development/Libraries package
76- added BR: perl-Test-Deep
77
78* Tue Jul  1 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.505-1
79- new upstream release.
80
81* Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.426-2
82- build with perl-5.12.3
83
84* Thu May  1 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.426-1
85- new upstream release.
86- built with perl-5.10.0.
87- moved files to %%{perl_vendorlib}.
88
89* Sat Dec  4 2004 IWAI, Masaharu <iwai@alib.jp> 5.415-0vl1
90- new upstream release
91- build on perl-5.8.6-0vl1
92- drop unnecessary patch ( Patch0 )
93
94* Sat Nov 13 2004 IWAI, Masaharu <iwai@alib.jp> 5.411a-0vl4
95- SECURITY FIX: add empty boundary patch ( Patch0 )
96  - http://lists.roaringpenguin.com/pipermail/mimedefang/2004-October/024959.html
97
98* Tue Apr 29 2003 IWAI Masaharu <iwai@alib.jp> 5.411a-0vl3
99- build with perl-5.8.0
100
101* Sun Nov  3 2002 IWAI Masaharu <iwai@alib.jp> 5.411a-0vl2
102- update Summary and Description
103
104* Sun Nov  3 2002 IWAI Masaharu <iwai@alib.jp> 5.411a-0vl1
105- first build for Vine Linux
106
Note: See TracBrowser for help on using the repository browser.