source: projects/specs/trunk/p/perl-HTTP-Response-Encoding/perl-HTTP-Response-Encoding-vl.spec @ 521

Revision 521, 2.0 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1Name:           perl-HTTP-Response-Encoding
2Version:        0.06
3Release:        1%{?_dist_release}
4Summary:        HTTP::Response::Encoding Perl module
5License:        GPL+ or Artistic
6Group:          Development/Libraries
7URL:            http://search.cpan.org/dist/HTTP-Response-Encoding/
8Source0:        http://www.cpan.org/authors/id/D/DA/DANKOGAI/HTTP-Response-Encoding-%{version}.tar.gz
9BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
10BuildArch:      noarch
11BuildRequires:  perl(ExtUtils::MakeMaker)
12BuildRequires:  perl(HTTP::Response)
13BuildRequires:  perl(Test::More)
14
15# For improved tests
16BuildRequires:  perl(Test::Pod::Coverage) >= 1.04
17BuildRequires:  perl(Test::Pod) >= 1.14
18
19Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
20
21%description
22Adds encoding() to HTTP::Response.
23
24%prep
25%setup -q -n HTTP-Response-Encoding-%{version}
26
27%build
28%{__perl} Makefile.PL INSTALLDIRS=vendor
29make %{?_smp_mflags}
30
31%install
32rm -rf $RPM_BUILD_ROOT
33
34make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
35
36find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
37find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
38
39%{_fixperms} $RPM_BUILD_ROOT/*
40
41%check
42make test
43
44%clean
45rm -rf $RPM_BUILD_ROOT
46
47%files
48%defattr(-,root,root,-)
49%doc Changes README
50%{perl_vendorlib}/*
51%{_mandir}/man3/*
52
53%changelog
54* Thu Nov 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.06-1
55- initial build for Vine Linux based on fedora development
56
57* Fri Aug 20 2009 Ralf Cors辿pius <corsepiu@fedoraproject.org> 0.06-1
58- Upstream update.
59
60* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-4
61- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
62
63* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-3
64- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
65
66* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-2
67- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
68
69* Fri Feb 20 2009 Ralf Cors辿pius <corsepiu@fedoraproject.org> 0.05-1
70- Initial Fedora package.
Note: See TracBrowser for help on using the repository browser.