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