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

Revision 8707, 2.5 KB checked in by daisuke, 10 years ago (diff)

per;-MIME-Lite: update to 3.030

Line 
1Name:           perl-MIME-Lite
2Version:        3.030
3Release:        1%{?_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
12BuildArch:      noarch
13BuildRequires:  perl >= 1:5.6.1
14BuildRequires:  perl(Carp)
15BuildRequires:  perl(ExtUtils::MakeMaker) perl(Test::More)
16BuildRequires:  perl(Email::Date::Format) perl(Mail::Address)
17BuildRequires:  perl(File::Spec)
18BuildRequires:  perl(MIME::Types) >= 1.28
19# Tests
20BuildRequires:  perl(Test::More)
21Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
22# not detected by automated find-requires:
23Requires:       perl(Email::Date::Format)
24Requires:       perl(MIME::Types) >= 1.28
25
26%description
27MIME::Lite is intended as a simple, standalone module for generating (not
28parsing!) MIME messages... specifically, it allows you to output a simple,
29decent single- or multi-part message with text or binaryattachments.  It does
30not require that you have the Mail:: or MIME:: modules installed.
31
32%prep
33%setup -q -n MIME-Lite-%{version}
34sed -i 's/\r//' examples/*
35sed -i 's/\r//' contrib/README
36
37%build
38%{__perl} Makefile.PL INSTALLDIRS=vendor
39make %{?_smp_mflags}
40
41%install
42rm -rf %{buildroot}
43make pure_install PERL_INSTALL_ROOT=%{buildroot}
44find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
45find %{buildroot} -depth -type d -empty -exec rmdir ';'
46
47%check
48make test
49
50%clean
51rm -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.
Note: See TracBrowser for help on using the repository browser.