[521] | 1 | Name: perl-HTTP-Response-Encoding |
---|
| 2 | Version: 0.06 |
---|
| 3 | Release: 1%{?_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 | %description |
---|
| 22 | Adds encoding() to HTTP::Response. |
---|
| 23 | |
---|
| 24 | %prep |
---|
| 25 | %setup -q -n HTTP-Response-Encoding-%{version} |
---|
| 26 | |
---|
| 27 | %build |
---|
| 28 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
| 29 | make %{?_smp_mflags} |
---|
| 30 | |
---|
| 31 | %install |
---|
| 32 | rm -rf $RPM_BUILD_ROOT |
---|
| 33 | |
---|
| 34 | make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT |
---|
| 35 | |
---|
| 36 | find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; |
---|
| 37 | find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; |
---|
| 38 | |
---|
| 39 | %{_fixperms} $RPM_BUILD_ROOT/* |
---|
| 40 | |
---|
| 41 | %check |
---|
| 42 | make test |
---|
| 43 | |
---|
| 44 | %clean |
---|
| 45 | rm -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. |
---|