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

Revision 5876, 1.3 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 
1%define real_name MIME-Lite-TT
2
3Summary:        TT enabled MIME::Lite wrapper
4Name:           perl-%{real_name}
5Version:        0.02
6Release:        1%{?_dist_release}
7License:        Artistic or GPL+
8Group:          Development/Libraries
9URL:            http://search.cpan.org/dist/MIME-Lite-TT/
10Source:         http://www.cpan.org/modules/by-module/MIME/MIME-Lite-TT-%{version}.tar.gz
11BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
12
13BuildArch:      noarch
14BuildRequires:  perl(Test::More) >= 0.32
15BuildRequires:  perl(MIME::Lite)
16BuildRequires:  perl(Template)
17Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
18
19Vendor:         Project Vine
20Distribution:   Vine Linux
21
22%description
23TT enabled MIME::Lite wrapper.
24
25%prep
26%setup -q -n %{real_name}-%{version}
27
28%build
29%{__perl} Makefile.PL INSTALLDIRS=vendor
30make %{?_smp_mflags}
31
32%install
33rm -rf %{buildroot}
34make pure_install PERL_INSTALL_ROOT=%{buildroot}
35find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
36find %{buildroot} -depth -type d -empty -exec rmdir ';'
37
38%check
39make test
40
41%clean
42rm -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.