perl-Mixin-Linewise-vl.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. Name: perl-Mixin-Linewise
  2. Version: 0.108
  3. Release: 1%{?_dist_release}
  4. Summary: Write your linewise code for handles; this does the rest
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/Mixin-Linewise/
  8. Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/Mixin-Linewise-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  10. BuildArch: noarch
  11. BuildRequires: perl >= 2:5.26.0
  12. BuildRequires: perl(ExtUtils::MakeMaker)
  13. BuildRequires: perl(IO::File)
  14. BuildRequires: perl(PerlIO::utf8_strict)
  15. BuildRequires: perl(Sub::Exporter)
  16. BuildRequires: perl(Test::More)
  17. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  18. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. %{?perl_default_filter}
  21. %description
  22. It's boring to deal with opening files for IO, converting strings to handle-
  23. like objects, and all that. With Mixin::Linewise::Readers and
  24. Mixin::Linewise::Writers, you can just write a method to handle handles,
  25. and methods for handling strings and filenames are added for you.
  26. %prep
  27. %setup -q -n Mixin-Linewise-%{version}
  28. %build
  29. %{__perl} Makefile.PL INSTALLDIRS=vendor
  30. make %{?_smp_mflags}
  31. %install
  32. rm -rf %{buildroot}
  33. make pure_install DESTDIR=%{buildroot}
  34. find %{buildroot} -type f -name .packlist -exec rm -f {} \;
  35. find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
  36. %{_fixperms} %{buildroot}/*
  37. %check
  38. make test
  39. %clean
  40. rm -rf %{buildroot}
  41. %files
  42. %defattr(-,root,root,-)
  43. %license LICENSE
  44. %doc Changes README
  45. %{perl_vendorlib}/*
  46. %{_mandir}/man3/*
  47. %changelog
  48. * Fri May 17 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.108-1
  49. - new upstream release.
  50. - rebuilt with perl-5.26.
  51. * Sun Dec 7 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.106-1
  52. - updated to 0.106
  53. - added BR: perl(PerlIO::utf8_strict)
  54. - built with perl 5.16.3
  55. * Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.003-1
  56. - initial build for Vine Linux
  57. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.003-6
  58. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  59. * Wed Jun 29 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.003-5
  60. - Perl mass rebuild
  61. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.003-4
  62. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  63. * Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.003-3
  64. - 661697 rebuild for fixing problems with vendorach/lib
  65. * Mon May 03 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.003-2
  66. - Mass rebuild with perl-5.12.0
  67. * Sat Mar 13 2010 Iain Arnell <iarnell@gmail.com> 0.003-1
  68. - update to latest upstream version
  69. - use perl_default_filter and DESTDIR
  70. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.002-3
  71. - rebuild against perl 5.10.1
  72. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.002-2
  73. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  74. * Sun Apr 19 2009 Iain Arnell 0.002-1
  75. - Specfile autogenerated by cpanspec 1.77.