perl-Capture-Tiny/perl-Capture-Tiny.spec

61 lines
1.2 KiB
RPMSpec
Raw Normal View History

# norootforbuild
Name: perl-Capture-Tiny
Version: 0.06
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}
Requires: perl
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
%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
%doc %{perl_man3dir}/Capture::Tiny.%{perl_man3ext}*
/var/adm/perl-modules/%{name}
%changelog
* Thu Oct 29 2009 Pascal Bleser <pascal.bleser@opensuse.org> 0.06
- new package
# vim: set sw=3 ts=3 noet:
# Local Variables:
# mode: rpm-spec
# tab-width: 3
# End: