[521] | 1 | Summary: modules for parsing (and creating!) MIME entities with Perl |
---|
| 2 | Name: perl-MIME-tools |
---|
| 3 | Version: 5.426 |
---|
[3739] | 4 | Release: 2%{_dist_release} |
---|
[521] | 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 |
---|
[3739] | 58 | * Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.426-2 |
---|
| 59 | - build with perl-5.12.3 |
---|
| 60 | |
---|
[521] | 61 | * Thu May 1 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.426-1 |
---|
| 62 | - new upstream release. |
---|
| 63 | - built with perl-5.10.0. |
---|
| 64 | - moved files to %%{perl_vendorlib}. |
---|
| 65 | |
---|
| 66 | * Sat Dec 4 2004 IWAI, Masaharu <iwai@alib.jp> 5.415-0vl1 |
---|
| 67 | - new upstream release |
---|
| 68 | - build on perl-5.8.6-0vl1 |
---|
| 69 | - drop unnecessary patch ( Patch0 ) |
---|
| 70 | |
---|
| 71 | * Sat Nov 13 2004 IWAI, Masaharu <iwai@alib.jp> 5.411a-0vl4 |
---|
| 72 | - SECURITY FIX: add empty boundary patch ( Patch0 ) |
---|
| 73 | - http://lists.roaringpenguin.com/pipermail/mimedefang/2004-October/024959.html |
---|
| 74 | |
---|
| 75 | * Tue Apr 29 2003 IWAI Masaharu <iwai@alib.jp> 5.411a-0vl3 |
---|
| 76 | - build with perl-5.8.0 |
---|
| 77 | |
---|
| 78 | * Sun Nov 3 2002 IWAI Masaharu <iwai@alib.jp> 5.411a-0vl2 |
---|
| 79 | - update Summary and Description |
---|
| 80 | |
---|
| 81 | * Sun Nov 3 2002 IWAI Masaharu <iwai@alib.jp> 5.411a-0vl1 |
---|
| 82 | - first build for Vine Linux |
---|
| 83 | |
---|