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