| [521] | 1 | Name: perl-HTTP-Response-Encoding |
|---|
| 2 | Version: 0.06 |
|---|
| [3699] | 3 | Release: 2%{?_dist_release} |
|---|
| [521] | 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 | |
|---|
| [3699] | 21 | Vendor: Project Vine |
|---|
| 22 | Distribution: Vine Linux |
|---|
| 23 | |
|---|
| [521] | 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 |
|---|
| [3699] | 57 | * Mon Apr 25 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 0.06-2 |
|---|
| 58 | - build with perl 5.12.3 |
|---|
| 59 | - add Vendor and Distribution tags |
|---|
| 60 | |
|---|
| [521] | 61 | * Thu Nov 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.06-1 |
|---|
| 62 | - initial build for Vine Linux based on fedora development |
|---|
| 63 | |
|---|
| 64 | * Fri Aug 20 2009 Ralf Cors辿pius <corsepiu@fedoraproject.org> 0.06-1 |
|---|
| 65 | - Upstream update. |
|---|
| 66 | |
|---|
| 67 | * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-4 |
|---|
| 68 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
|---|
| 69 | |
|---|
| 70 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-3 |
|---|
| 71 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
|---|
| 72 | |
|---|
| 73 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-2 |
|---|
| 74 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
|---|
| 75 | |
|---|
| 76 | * Fri Feb 20 2009 Ralf Cors辿pius <corsepiu@fedoraproject.org> 0.05-1 |
|---|
| 77 | - Initial Fedora package. |
|---|