source: projects/specs/trunk/p/perl-MIME-Lite/perl-MIME-Lite-vl.spec @ 12120

Revision 12120, 2.7 KB checked in by tomop, 5 years ago (diff)

perl-5.26 and friends

Line 
1Name:           perl-MIME-Lite
2Version:        3.030
3Release:        2%{?_dist_release}
4Summary:        MIME::Lite - low-calorie MIME generator
5
6Group:          Development/Libraries
7License:        GPL+ or Artistic
8URL:            http://search.cpan.org/dist/MIME-Lite/
9Source0:        http://www.cpan.org/authors/id/Y/YV/YVES/MIME-Lite-%{version}.tar.gz
10BuildRoot:      %{_tmppath}/%{name}-%{version}-root
11
12Vendor:        Project Vine
13Distribution:  Vine Linux
14
15BuildArch:      noarch
16BuildRequires:  perl >= 2:5.26.2
17BuildRequires:  perl(Carp)
18BuildRequires:  perl(ExtUtils::MakeMaker) perl(Test::More)
19BuildRequires:  perl(Email::Date::Format) perl(Mail::Address)
20BuildRequires:  perl(File::Spec)
21BuildRequires:  perl(MIME::Types)
22# Tests
23BuildRequires:  perl(Test::More)
24Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
25# not detected by automated find-requires:
26Requires:       perl(Email::Date::Format)
27Requires:       perl(MIME::Types)
28
29%description
30MIME::Lite is intended as a simple, standalone module for generating (not
31parsing!) MIME messages... specifically, it allows you to output a simple,
32decent single- or multi-part message with text or binaryattachments.  It does
33not require that you have the Mail:: or MIME:: modules installed.
34
35%prep
36%setup -q -n MIME-Lite-%{version}
37sed -i 's/\r//' examples/*
38sed -i 's/\r//' contrib/README
39
40%build
41%{__perl} Makefile.PL INSTALLDIRS=vendor
42make %{?_smp_mflags}
43
44%install
45rm -rf %{buildroot}
46make pure_install PERL_INSTALL_ROOT=%{buildroot}
47find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
48find %{buildroot} -depth -type d -empty -exec rmdir ';'
49
50%check
51make test
52
53%clean
54rm -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.
Note: See TracBrowser for help on using the repository browser.