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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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. # 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. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. %description
  21. Adds encoding() to HTTP::Response.
  22. %prep
  23. %setup -q -n HTTP-Response-Encoding-%{version}
  24. %build
  25. %{__perl} Makefile.PL INSTALLDIRS=vendor
  26. make %{?_smp_mflags}
  27. %install
  28. rm -rf $RPM_BUILD_ROOT
  29. make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  30. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
  31. find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
  32. %{_fixperms} $RPM_BUILD_ROOT/*
  33. %check
  34. make test
  35. %clean
  36. rm -rf $RPM_BUILD_ROOT
  37. %files
  38. %defattr(-,root,root,-)
  39. %doc Changes README
  40. %{perl_vendorlib}/*
  41. %{_mandir}/man3/*
  42. %changelog
  43. * Sun Dec 07 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.06-3
  44. - rebuild with VineSeed environment
  45. * Mon Apr 25 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 0.06-2
  46. - build with perl 5.12.3
  47. - add Vendor and Distribution tags
  48. * Thu Nov 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.06-1
  49. - initial build for Vine Linux based on fedora development
  50. * Thu Aug 20 2009 Ralf Cors辿pius <corsepiu@fedoraproject.org> 0.06-1
  51. - Upstream update.
  52. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-4
  53. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  54. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-3
  55. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  56. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-2
  57. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  58. * Fri Feb 20 2009 Ralf Cors辿pius <corsepiu@fedoraproject.org> 0.05-1
  59. - Initial Fedora package.