Revision 5876,
1.3 KB
checked in by shaolin, 13 years ago
(diff) |
- perl-MIME-Types: update
- perl-MIME-Lite: update
- perl-Email-Date-Format: new
- perl-MIME-Lite-TT: new
|
Line | |
---|
1 | %define real_name MIME-Lite-TT |
---|
2 | |
---|
3 | Summary: TT enabled MIME::Lite wrapper |
---|
4 | Name: perl-%{real_name} |
---|
5 | Version: 0.02 |
---|
6 | Release: 1%{?_dist_release} |
---|
7 | License: Artistic or GPL+ |
---|
8 | Group: Development/Libraries |
---|
9 | URL: http://search.cpan.org/dist/MIME-Lite-TT/ |
---|
10 | Source: http://www.cpan.org/modules/by-module/MIME/MIME-Lite-TT-%{version}.tar.gz |
---|
11 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
12 | |
---|
13 | BuildArch: noarch |
---|
14 | BuildRequires: perl(Test::More) >= 0.32 |
---|
15 | BuildRequires: perl(MIME::Lite) |
---|
16 | BuildRequires: perl(Template) |
---|
17 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
18 | |
---|
19 | Vendor: Project Vine |
---|
20 | Distribution: Vine Linux |
---|
21 | |
---|
22 | %description |
---|
23 | TT enabled MIME::Lite wrapper. |
---|
24 | |
---|
25 | %prep |
---|
26 | %setup -q -n %{real_name}-%{version} |
---|
27 | |
---|
28 | %build |
---|
29 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
30 | make %{?_smp_mflags} |
---|
31 | |
---|
32 | %install |
---|
33 | rm -rf %{buildroot} |
---|
34 | make pure_install PERL_INSTALL_ROOT=%{buildroot} |
---|
35 | find %{buildroot} -type f -name .packlist -exec rm -f {} ';' |
---|
36 | find %{buildroot} -depth -type d -empty -exec rmdir ';' |
---|
37 | |
---|
38 | %check |
---|
39 | make test |
---|
40 | |
---|
41 | %clean |
---|
42 | rm -rf %{buildroot} |
---|
43 | |
---|
44 | %files |
---|
45 | %defattr(-, root, root, 0755) |
---|
46 | %doc Changes MANIFEST META.yml |
---|
47 | %{perl_vendorlib}/* |
---|
48 | %doc %{_mandir}/man3/* |
---|
49 | |
---|
50 | %changelog |
---|
51 | * Sat Mar 10 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.02-1 |
---|
52 | - initial build for Vine Linux |
---|
Note: See
TracBrowser
for help on using the repository browser.