1 | Name: perl-MIME-Lite |
---|
2 | Version: 3.030 |
---|
3 | Release: 2%{?_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 | Vendor: Project Vine |
---|
13 | Distribution: Vine Linux |
---|
14 | |
---|
15 | BuildArch: noarch |
---|
16 | BuildRequires: perl >= 2:5.26.2 |
---|
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) |
---|
21 | BuildRequires: perl(MIME::Types) |
---|
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) |
---|
27 | Requires: perl(MIME::Types) |
---|
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} |
---|
37 | sed -i 's/\r//' examples/* |
---|
38 | sed -i 's/\r//' contrib/README |
---|
39 | |
---|
40 | %build |
---|
41 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
42 | make %{?_smp_mflags} |
---|
43 | |
---|
44 | %install |
---|
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 ';' |
---|
49 | |
---|
50 | %check |
---|
51 | make test |
---|
52 | |
---|
53 | %clean |
---|
54 | rm -rf %{buildroot} |
---|
55 | |
---|
56 | %files |
---|
57 | %defattr(-,root,root,-) |
---|
58 | %license COPYING LICENSE |
---|
59 | %doc changes.pod README examples contrib |
---|
60 | %{perl_vendorlib}/* |
---|
61 | %{_mandir}/man3/*.3* |
---|
62 | |
---|
63 | |
---|
64 | %changelog |
---|
65 | * Sat May 18 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.030-2 |
---|
66 | - rebuilt with perl-5.26. |
---|
67 | |
---|
68 | * Mon Jun 30 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 3.030-1 |
---|
69 | - update to 3.030 |
---|
70 | |
---|
71 | * Sat Mar 10 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 3.028-1 |
---|
72 | - updated to 3.028 |
---|
73 | |
---|
74 | * Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.01-6 |
---|
75 | - rebuild with perl-5.12.3 |
---|
76 | |
---|
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. |
---|