perl-HTTP-Response-Encoding-vl.spec 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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. # For improved tests
  15. BuildRequires: perl(Test::Pod::Coverage) >= 1.04
  16. BuildRequires: perl(Test::Pod) >= 1.14
  17. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  18. %description
  19. Adds encoding() to HTTP::Response.
  20. %prep
  21. %setup -q -n HTTP-Response-Encoding-%{version}
  22. %build
  23. %{__perl} Makefile.PL INSTALLDIRS=vendor
  24. make %{?_smp_mflags}
  25. %install
  26. rm -rf $RPM_BUILD_ROOT
  27. make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  28. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
  29. find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
  30. %{_fixperms} $RPM_BUILD_ROOT/*
  31. %check
  32. make test
  33. %clean
  34. rm -rf $RPM_BUILD_ROOT
  35. %files
  36. %defattr(-,root,root,-)
  37. %doc Changes README
  38. %{perl_vendorlib}/*
  39. %{_mandir}/man3/*
  40. %changelog
  41. * Thu Nov 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.06-1
  42. - initial build for Vine Linux based on fedora development
  43. * Fri Aug 20 2009 Ralf Cors辿pius <corsepiu@fedoraproject.org> 0.06-1
  44. - Upstream update.
  45. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-4
  46. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  47. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-3
  48. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  49. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-2
  50. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  51. * Fri Feb 20 2009 Ralf Cors辿pius <corsepiu@fedoraproject.org> 0.05-1
  52. - Initial Fedora package.