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