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

Revision 5876, 2.4 KB checked in by shaolin, 12 years ago (diff)
  • perl-MIME-Types: update
  • perl-MIME-Lite: update
  • perl-Email-Date-Format: new
  • perl-MIME-Lite-TT: new
Line 
1Name:           perl-MIME-Lite
2Version:        3.028
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* Sat Mar 10 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 3.028-1
62- updated to 3.028
63
64* Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.01-6
65- rebuild with perl-5.12.3
66
67* Tue Nov 13 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.01-5vl1
68- Initial build for Vine Linux
69
70* Sun Sep 10 2006 Mike McGrath <imlinux@gmail.com> 3.01-5
71- Rebuild
72
73* Thu Mar 30 2006 Mike McGrath <imlinux@gmail.com> 3.01-4
74- New maintainer
75
76* Thu Jun 23 2005 Ralf Corsepius <ralf@links2linux.de> 3.01-3
77- Add %%{dist}.
78
79* Wed Apr 06 2005 Hunter Matthews <thm@duke.edu> 3.01-2
80- Review suggestions from José Pedro Oliveira
81
82* Fri Mar 18 2005 Hunter Matthews <thm@duke.edu> 3.01-1
83- Initial packageing.
Note: See TracBrowser for help on using the repository browser.