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