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

Revision 8709, 2.6 KB checked in by tomop, 10 years ago (diff)

updated perl modules.

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