[521] | 1 | Name: perl-MIME-Lite |
---|
[8707] | 2 | Version: 3.030 |
---|
[12120] | 3 | Release: 2%{?_dist_release} |
---|
[521] | 4 | Summary: MIME::Lite - low-calorie MIME generator |
---|
| 5 | |
---|
| 6 | Group: Development/Libraries |
---|
[5876] | 7 | License: GPL+ or Artistic |
---|
[521] | 8 | URL: http://search.cpan.org/dist/MIME-Lite/ |
---|
| 9 | Source0: http://www.cpan.org/authors/id/Y/YV/YVES/MIME-Lite-%{version}.tar.gz |
---|
| 10 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 11 | |
---|
[12120] | 12 | Vendor: Project Vine |
---|
| 13 | Distribution: Vine Linux |
---|
| 14 | |
---|
[521] | 15 | BuildArch: noarch |
---|
[12120] | 16 | BuildRequires: perl >= 2:5.26.2 |
---|
[5876] | 17 | BuildRequires: perl(Carp) |
---|
| 18 | BuildRequires: perl(ExtUtils::MakeMaker) perl(Test::More) |
---|
| 19 | BuildRequires: perl(Email::Date::Format) perl(Mail::Address) |
---|
| 20 | BuildRequires: perl(File::Spec) |
---|
[12120] | 21 | BuildRequires: perl(MIME::Types) |
---|
[5876] | 22 | # Tests |
---|
| 23 | BuildRequires: perl(Test::More) |
---|
| 24 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
| 25 | # not detected by automated find-requires: |
---|
| 26 | Requires: perl(Email::Date::Format) |
---|
[12120] | 27 | Requires: perl(MIME::Types) |
---|
[521] | 28 | |
---|
| 29 | %description |
---|
| 30 | MIME::Lite is intended as a simple, standalone module for generating (not |
---|
| 31 | parsing!) MIME messages... specifically, it allows you to output a simple, |
---|
| 32 | decent single- or multi-part message with text or binaryattachments. It does |
---|
| 33 | not require that you have the Mail:: or MIME:: modules installed. |
---|
| 34 | |
---|
| 35 | %prep |
---|
| 36 | %setup -q -n MIME-Lite-%{version} |
---|
[5876] | 37 | sed -i 's/\r//' examples/* |
---|
| 38 | sed -i 's/\r//' contrib/README |
---|
[521] | 39 | |
---|
| 40 | %build |
---|
| 41 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
| 42 | make %{?_smp_mflags} |
---|
| 43 | |
---|
| 44 | %install |
---|
[5876] | 45 | rm -rf %{buildroot} |
---|
| 46 | make pure_install PERL_INSTALL_ROOT=%{buildroot} |
---|
| 47 | find %{buildroot} -type f -name .packlist -exec rm -f {} ';' |
---|
| 48 | find %{buildroot} -depth -type d -empty -exec rmdir ';' |
---|
[521] | 49 | |
---|
[5876] | 50 | %check |
---|
[521] | 51 | make test |
---|
| 52 | |
---|
| 53 | %clean |
---|
[5876] | 54 | rm -rf %{buildroot} |
---|
[521] | 55 | |
---|
| 56 | %files |
---|
| 57 | %defattr(-,root,root,-) |
---|
[12120] | 58 | %license COPYING LICENSE |
---|
| 59 | %doc changes.pod README examples contrib |
---|
[521] | 60 | %{perl_vendorlib}/* |
---|
| 61 | %{_mandir}/man3/*.3* |
---|
| 62 | |
---|
| 63 | |
---|
| 64 | %changelog |
---|
[12120] | 65 | * Sat May 18 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.030-2 |
---|
| 66 | - rebuilt with perl-5.26. |
---|
| 67 | |
---|
[8707] | 68 | * Mon Jun 30 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 3.030-1 |
---|
| 69 | - update to 3.030 |
---|
| 70 | |
---|
[5876] | 71 | * Sat Mar 10 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 3.028-1 |
---|
| 72 | - updated to 3.028 |
---|
| 73 | |
---|
[3739] | 74 | * Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.01-6 |
---|
| 75 | - rebuild with perl-5.12.3 |
---|
| 76 | |
---|
[521] | 77 | * Tue Nov 13 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.01-5vl1 |
---|
| 78 | - Initial build for Vine Linux |
---|
| 79 | |
---|
| 80 | * Sun Sep 10 2006 Mike McGrath <imlinux@gmail.com> 3.01-5 |
---|
| 81 | - Rebuild |
---|
| 82 | |
---|
| 83 | * Thu Mar 30 2006 Mike McGrath <imlinux@gmail.com> 3.01-4 |
---|
| 84 | - New maintainer |
---|
| 85 | |
---|
| 86 | * Thu Jun 23 2005 Ralf Corsepius <ralf@links2linux.de> 3.01-3 |
---|
| 87 | - Add %%{dist}. |
---|
| 88 | |
---|
| 89 | * Wed Apr 06 2005 Hunter Matthews <thm@duke.edu> 3.01-2 |
---|
| 90 | - Review suggestions from José Pedro Oliveira |
---|
| 91 | |
---|
| 92 | * Fri Mar 18 2005 Hunter Matthews <thm@duke.edu> 3.01-1 |
---|
| 93 | - Initial packageing. |
---|