2009-10-29 17:40:20 +01:00
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
Name: perl-Capture-Tiny
|
2010-06-21 20:30:02 +02:00
|
|
|
Version: 0.08
|
2009-10-29 17:40:20 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Capture STDOUT and STDERR
|
|
|
|
Source: http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/Capture-Tiny-%{version}.tar.gz
|
|
|
|
URL: http://search.cpan.org/dist/Capture-Tiny/
|
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
License: Perl License
|
|
|
|
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
2010-06-21 20:30:02 +02:00
|
|
|
Requires: perl = %{perl_version}
|
2009-10-29 17:40:20 +01:00
|
|
|
BuildRequires: make perl
|
|
|
|
|
|
|
|
%description
|
|
|
|
Capture STDOUT and STDERR from Perl, XS or external programs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
David A. Golden
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n "Capture-Tiny-%{version}"
|
|
|
|
%__sed -i '/^auto_install/d' Makefile.PL
|
|
|
|
|
|
|
|
%build
|
|
|
|
%__perl Makefile.PL PREFIX="%{_prefix}"
|
|
|
|
%__make %{?jobs:-j%{jobs}}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
|
2010-06-21 20:30:02 +02:00
|
|
|
%check
|
|
|
|
%__make test
|
|
|
|
|
2009-10-29 17:40:20 +01:00
|
|
|
%clean
|
|
|
|
%__rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc Changes README
|
|
|
|
%doc examples
|
|
|
|
%dir %{perl_vendorlib}/Capture
|
|
|
|
%{perl_vendorlib}/Capture/Tiny.pm
|
|
|
|
%{perl_vendorlib}/Capture/Tiny.pod
|
|
|
|
%dir %{perl_vendorarch}/auto/Capture
|
|
|
|
%{perl_vendorarch}/auto/Capture/Tiny
|
2010-01-26 13:29:08 +01:00
|
|
|
%doc %{perl_man3dir}/Capture::Tiny.%{perl_man3ext}%{ext_man}
|
2009-10-29 17:40:20 +01:00
|
|
|
/var/adm/perl-modules/%{name}
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
# vim: set sw=3 ts=3 noet:
|
|
|
|
# Local Variables:
|
|
|
|
# mode: rpm-spec
|
|
|
|
# tab-width: 3
|
|
|
|
# End:
|