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