[521] | 1 | Name: perl-MIME-Lite |
---|
| 2 | Version: 3.01 |
---|
| 3 | Release: 5vl1 |
---|
| 4 | Summary: MIME::Lite - low-calorie MIME generator |
---|
| 5 | |
---|
| 6 | Group: Development/Libraries |
---|
| 7 | License: GPL or Artistic |
---|
| 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 | |
---|
| 12 | BuildArch: noarch |
---|
| 13 | BuildRequires: perl >= 1:5.6.1 |
---|
| 14 | BuildRequires: perl-MIME-Types |
---|
| 15 | Requires: perl >= %(eval "`%{__perl} -V:version`"; echo $version) |
---|
| 16 | |
---|
| 17 | %description |
---|
| 18 | MIME::Lite is intended as a simple, standalone module for generating (not |
---|
| 19 | parsing!) MIME messages... specifically, it allows you to output a simple, |
---|
| 20 | decent single- or multi-part message with text or binaryattachments. It does |
---|
| 21 | not require that you have the Mail:: or MIME:: modules installed. |
---|
| 22 | |
---|
| 23 | %prep |
---|
| 24 | %setup -q -n MIME-Lite-%{version} |
---|
| 25 | |
---|
| 26 | %build |
---|
| 27 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
| 28 | make %{?_smp_mflags} |
---|
| 29 | |
---|
| 30 | %install |
---|
| 31 | rm -rf $RPM_BUILD_ROOT |
---|
| 32 | make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT |
---|
| 33 | find $RPM_BUILD_ROOT -type f -a \( -name .packlist \ |
---|
| 34 | -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';' |
---|
| 35 | find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' |
---|
| 36 | |
---|
| 37 | %check || : |
---|
| 38 | make test |
---|
| 39 | |
---|
| 40 | %clean |
---|
| 41 | rm -rf $RPM_BUILD_ROOT |
---|
| 42 | |
---|
| 43 | %files |
---|
| 44 | %defattr(-,root,root,-) |
---|
| 45 | %doc changes.pod README examples contrib |
---|
| 46 | %{perl_vendorlib}/* |
---|
| 47 | %{_mandir}/man3/*.3* |
---|
| 48 | |
---|
| 49 | |
---|
| 50 | %changelog |
---|
| 51 | * Tue Nov 13 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.01-5vl1 |
---|
| 52 | - Initial build for Vine Linux |
---|
| 53 | |
---|
| 54 | * Sun Sep 10 2006 Mike McGrath <imlinux@gmail.com> 3.01-5 |
---|
| 55 | - Rebuild |
---|
| 56 | |
---|
| 57 | * Thu Mar 30 2006 Mike McGrath <imlinux@gmail.com> 3.01-4 |
---|
| 58 | - New maintainer |
---|
| 59 | |
---|
| 60 | * Thu Jun 23 2005 Ralf Corsepius <ralf@links2linux.de> 3.01-3 |
---|
| 61 | - Add %%{dist}. |
---|
| 62 | |
---|
| 63 | * Wed Apr 06 2005 Hunter Matthews <thm@duke.edu> 3.01-2 |
---|
| 64 | - Review suggestions from José Pedro Oliveira |
---|
| 65 | |
---|
| 66 | * Fri Mar 18 2005 Hunter Matthews <thm@duke.edu> 3.01-1 |
---|
| 67 | - Initial packageing. |
---|