perl-PerlIO-utf8_strict-vl.spec 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. Name: perl-PerlIO-utf8_strict
  2. Version: 0.005
  3. Release: 2%{?_dist_release}
  4. Summary: Fast and correct UTF-8 I/O
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/PerlIO-utf8_strict/
  8. Source0: http://www.cpan.org/authors/id/L/LE/LEONT/PerlIO-utf8_strict-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildRequires: perl
  11. BuildRequires: perl(Module::Build) >= 0.28
  12. BuildRequires: perl(strict)
  13. BuildRequires: perl(warnings)
  14. # Run-time:
  15. BuildRequires: perl(XSLoader)
  16. # Tests:
  17. BuildRequires: perl(Carp)
  18. BuildRequires: perl(Exporter)
  19. BuildRequires: perl(File::Spec)
  20. BuildRequires: perl(File::Spec::Functions)
  21. BuildRequires: perl(IO::File)
  22. BuildRequires: perl(IO::Handle)
  23. BuildRequires: perl(IPC::Open3)
  24. # Pod::Coverage::TrustPod not used
  25. BuildRequires: perl(Test::Exception)
  26. BuildRequires: perl(Test::More) >= 0.88
  27. # Test::Pod 1.41 not used
  28. # Test::Pod::Coverage 1.08 not used
  29. BuildRequires: perl(utf8)
  30. Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
  31. %{?perl_default_filter}
  32. %description
  33. This module provides a fast and correct UTF-8 PerlIO layer. Unlike perl's
  34. default :utf8 layer it checks the input for correctness.
  35. %prep
  36. %setup -q -n PerlIO-utf8_strict-%{version}
  37. %build
  38. perl Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS"
  39. ./Build
  40. %install
  41. ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
  42. find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
  43. %{_fixperms} $RPM_BUILD_ROOT/*
  44. %check
  45. ./Build test
  46. %files
  47. %doc Changes LICENSE README
  48. %{perl_vendorarch}/auto/*
  49. %{perl_vendorarch}/PerlIO*
  50. %{_mandir}/man3/*
  51. %changelog
  52. * Sun Dec 07 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.005-2
  53. - Inital package for Vine Linux
  54. * Wed Nov 12 2014 Petr Pisar <ppisar@redhat.com> - 0.005-1
  55. - 0.005 bump
  56. * Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.004-6
  57. - Perl 5.20 rebuild
  58. * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.004-5
  59. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
  60. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.004-4
  61. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  62. * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.004-3
  63. - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
  64. * Mon Jul 22 2013 Petr Pisar <ppisar@redhat.com> - 0.004-2
  65. - Perl 5.18 rebuild
  66. * Thu Feb 28 2013 Petr Pisar <ppisar@redhat.com> - 0.004-1
  67. - 0.004 bump
  68. * Thu Feb 21 2013 Petr Pisar <ppisar@redhat.com> - 0.003-1
  69. - 0.003 bump
  70. * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.002-2
  71. - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
  72. * Thu Sep 20 2012 Petr Pisar <ppisar@redhat.com> 0.002-1
  73. - Specfile autogenerated by cpanspec 1.78.