[5844] | 1 | Name: perl-Mixin-Linewise |
---|
[9141] | 2 | Version: 0.106 |
---|
[5844] | 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 |
---|
[9141] | 9 | |
---|
| 10 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
[5844] | 11 | BuildArch: noarch |
---|
| 12 | BuildRequires: perl >= 1:5.6.0 |
---|
[9141] | 13 | BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 |
---|
| 14 | BuildRequires: perl(IO::File) |
---|
| 15 | BuildRequires: perl(PerlIO::utf8_strict) |
---|
[5844] | 16 | BuildRequires: perl(Sub::Exporter) >= 0.9 |
---|
[9141] | 17 | BuildRequires: perl(Test::More) >= 0.96 |
---|
[5844] | 18 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
| 19 | |
---|
| 20 | %{?perl_default_filter} |
---|
| 21 | |
---|
| 22 | %description |
---|
| 23 | It's boring to deal with opening files for IO, converting strings to handle- |
---|
| 24 | like objects, and all that. With Mixin::Linewise::Readers and |
---|
| 25 | Mixin::Linewise::Writers, you can just write a method to handle handles, |
---|
| 26 | and methods for handling strings and filenames are added for you. |
---|
| 27 | |
---|
| 28 | %prep |
---|
| 29 | %setup -q -n Mixin-Linewise-%{version} |
---|
| 30 | |
---|
| 31 | %build |
---|
| 32 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
| 33 | make %{?_smp_mflags} |
---|
| 34 | |
---|
| 35 | %install |
---|
| 36 | rm -rf %{buildroot} |
---|
| 37 | |
---|
| 38 | make pure_install DESTDIR=%{buildroot} |
---|
| 39 | |
---|
| 40 | find %{buildroot} -type f -name .packlist -exec rm -f {} \; |
---|
| 41 | find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; |
---|
| 42 | |
---|
| 43 | %{_fixperms} %{buildroot}/* |
---|
| 44 | |
---|
| 45 | %check |
---|
| 46 | make test |
---|
| 47 | |
---|
| 48 | %clean |
---|
| 49 | rm -rf %{buildroot} |
---|
| 50 | |
---|
| 51 | %files |
---|
| 52 | %defattr(-,root,root,-) |
---|
| 53 | %doc Changes LICENSE README |
---|
| 54 | %{perl_vendorlib}/* |
---|
| 55 | %{_mandir}/man3/* |
---|
| 56 | |
---|
| 57 | %changelog |
---|
[9141] | 58 | * Sun Dec 7 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.106-1 |
---|
| 59 | - updated to 0.106 |
---|
| 60 | - added BR: perl(PerlIO::utf8_strict) |
---|
| 61 | - built with perl 5.16.3 |
---|
| 62 | |
---|
[5844] | 63 | * Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.003-1 |
---|
| 64 | - initial build for Vine Linux |
---|
| 65 | |
---|
| 66 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.003-6 |
---|
| 67 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
| 68 | |
---|
| 69 | * Wed Jun 29 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.003-5 |
---|
| 70 | - Perl mass rebuild |
---|
| 71 | |
---|
| 72 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.003-4 |
---|
| 73 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 74 | |
---|
| 75 | * Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.003-3 |
---|
| 76 | - 661697 rebuild for fixing problems with vendorach/lib |
---|
| 77 | |
---|
| 78 | * Mon May 03 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.003-2 |
---|
| 79 | - Mass rebuild with perl-5.12.0 |
---|
| 80 | |
---|
| 81 | * Sat Mar 13 2010 Iain Arnell <iarnell@gmail.com> 0.003-1 |
---|
| 82 | - update to latest upstream version |
---|
| 83 | - use perl_default_filter and DESTDIR |
---|
| 84 | |
---|
| 85 | * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.002-3 |
---|
| 86 | - rebuild against perl 5.10.1 |
---|
| 87 | |
---|
| 88 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.002-2 |
---|
| 89 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 90 | |
---|
| 91 | * Sun Apr 19 2009 Iain Arnell 0.002-1 |
---|
| 92 | - Specfile autogenerated by cpanspec 1.77. |
---|