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

Revision 9022, 2.7 KB checked in by inagaki, 9 years ago (diff)

2014-10-25 Ryoichi INAGAKI <ryo1@…>

  • perl modules: rebuilt and update


Line 
1Summary: modules for parsing (and creating!) MIME entities with Perl
2Name: perl-MIME-tools
3Version: 5.505
4Release: 2%{_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 >= 5.004
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
51%check
52make test
53
54%clean
55rm -rf $RPM_BUILD_ROOT
56
57%files -f %{name}.files
58%defattr(-,root,root)
59%doc COPYING ChangeLog MANIFEST README examples
60%{_mandir}/*/*
61%dir %{perl_vendorlib}/MIME
62%dir %{perl_vendorlib}/MIME/Parser
63%dir %{perl_vendorlib}/MIME/Decoder
64%dir %{perl_vendorlib}/MIME/Field
65
66%changelog
67* Wed Oct 15 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 5.505-2
68- moved to Development/Libraries package
69- added BR: perl-Test-Deep
70
71* Tue Jul  1 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.505-1
72- new upstream release.
73
74* Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.426-2
75- build with perl-5.12.3
76
77* Thu May  1 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.426-1
78- new upstream release.
79- built with perl-5.10.0.
80- moved files to %%{perl_vendorlib}.
81
82* Sat Dec  4 2004 IWAI, Masaharu <iwai@alib.jp> 5.415-0vl1
83- new upstream release
84- build on perl-5.8.6-0vl1
85- drop unnecessary patch ( Patch0 )
86
87* Sat Nov 13 2004 IWAI, Masaharu <iwai@alib.jp> 5.411a-0vl4
88- SECURITY FIX: add empty boundary patch ( Patch0 )
89  - http://lists.roaringpenguin.com/pipermail/mimedefang/2004-October/024959.html
90
91* Tue Apr 29 2003 IWAI Masaharu <iwai@alib.jp> 5.411a-0vl3
92- build with perl-5.8.0
93
94* Sun Nov  3 2002 IWAI Masaharu <iwai@alib.jp> 5.411a-0vl2
95- update Summary and Description
96
97* Sun Nov  3 2002 IWAI Masaharu <iwai@alib.jp> 5.411a-0vl1
98- first build for Vine Linux
99
Note: See TracBrowser for help on using the repository browser.