parent
48d09146aa
commit
bbd6e1d974
@ -0,0 +1 @@
|
|||||||
|
Mixin-Linewise-0.002.tar.gz
|
@ -0,0 +1,55 @@
|
|||||||
|
Name: perl-Mixin-Linewise
|
||||||
|
Version: 0.002
|
||||||
|
Release: 1%{?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
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: perl >= 1:5.6.0
|
||||||
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
|
BuildRequires: perl(IO::String)
|
||||||
|
BuildRequires: perl(Sub::Exporter) >= 0.9
|
||||||
|
BuildRequires: perl(Test::More)
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
|
|
||||||
|
%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
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
||||||
|
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||||
|
|
||||||
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||||
|
|
||||||
|
%check
|
||||||
|
make test
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc Changes LICENSE README
|
||||||
|
%{perl_vendorlib}/*
|
||||||
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sun Apr 19 2009 Iain Arnell 0.002-1
|
||||||
|
- Specfile autogenerated by cpanspec 1.77.
|
Loading…
Reference in new issue