c6b524
Name:           perl-Mixin-Linewise
c6b524
Version:        0.004
c6b524
Release:        2%{?dist}
c6b524
Summary:        Write your linewise code for handles; this does the rest
c6b524
License:        GPL+ or Artistic
c6b524
Group:          Development/Libraries
c6b524
URL:            http://search.cpan.org/dist/Mixin-Linewise/
c6b524
Source0:        http://www.cpan.org/authors/id/R/RJ/RJBS/Mixin-Linewise-%{version}.tar.gz
c6b524
BuildArch:      noarch
c6b524
BuildRequires:  perl(Carp)
c6b524
BuildRequires:  perl(ExtUtils::MakeMaker)
c6b524
BuildRequires:  perl(IO::File)
c6b524
BuildRequires:  perl(IO::String)
c6b524
BuildRequires:  perl(lib)
c6b524
BuildRequires:  perl(Sub::Exporter) >= 0.9
c6b524
BuildRequires:  perl(Test::More)
c6b524
# Module::Install deps
c6b524
BuildRequires:  perl(Cwd)
c6b524
BuildRequires:  perl(ExtUtils::Command)
c6b524
BuildRequires:  perl(ExtUtils::Manifest)
c6b524
BuildRequires:  perl(File::Path)
c6b524
BuildRequires:  perl(File::Spec)
c6b524
BuildRequires:  perl(Module::Build)
c6b524
BuildRequires:  perl(YAML::Tiny)
c6b524
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
c6b524
c6b524
%{?perl_default_filter}
c6b524
c6b524
%description
c6b524
It's boring to deal with opening files for IO, converting strings to handle-
c6b524
like objects, and all that. With Mixin::Linewise::Readers and
c6b524
Mixin::Linewise::Writers, you can just write a method to handle handles,
c6b524
and methods for handling strings and filenames are added for you.
c6b524
c6b524
%prep
c6b524
%setup -q -n Mixin-Linewise-%{version}
c6b524
c6b524
%build
c6b524
perl Makefile.PL INSTALLDIRS=vendor
c6b524
make %{?_smp_mflags}
c6b524
c6b524
%install
c6b524
make pure_install DESTDIR=%{buildroot}
c6b524
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
c6b524
%{_fixperms} %{buildroot}/*
c6b524
c6b524
%check
c6b524
make test
c6b524
c6b524
%files
c6b524
%doc Changes LICENSE README
c6b524
%{perl_vendorlib}/*
c6b524
%{_mandir}/man3/*
c6b524
c6b524
%changelog
c6b524
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.004-2
c6b524
- Mass rebuild 2013-12-27
c6b524
c6b524
* Fri Jun 21 2013 Iain Arnell <iarnell@gmail.com> 0.004-1
c6b524
- update to latest upstream version
c6b524
- clean up spec for modern rpmbuild
c6b524
c6b524
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.003-10
c6b524
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
c6b524
c6b524
* Wed Nov 21 2012 Petr Šabata <contyk@redhat.com> - 0.003-9
c6b524
- Buildtime dependencies fix
c6b524
- Drop command macros
c6b524
c6b524
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.003-8
c6b524
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
c6b524
c6b524
* Wed Jun 13 2012 Petr Pisar <ppisar@redhat.com> - 0.003-7
c6b524
- Perl 5.16 rebuild
c6b524
c6b524
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.003-6
c6b524
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
c6b524
c6b524
* Wed Jun 29 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.003-5
c6b524
- Perl mass rebuild
c6b524
c6b524
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.003-4
c6b524
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
c6b524
c6b524
* Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.003-3
c6b524
- 661697 rebuild for fixing problems with vendorach/lib
c6b524
c6b524
* Mon May 03 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.003-2
c6b524
- Mass rebuild with perl-5.12.0
c6b524
c6b524
* Sat Mar 13 2010 Iain Arnell <iarnell@gmail.com> 0.003-1
c6b524
- update to latest upstream version
c6b524
- use perl_default_filter and DESTDIR
c6b524
c6b524
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.002-3
c6b524
- rebuild against perl 5.10.1
c6b524
c6b524
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.002-2
c6b524
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
c6b524
c6b524
* Sun Apr 19 2009 Iain Arnell 0.002-1
c6b524
- Specfile autogenerated by cpanspec 1.77.