diff --git a/.cvsignore b/.cvsignore index e69de29..cf8ea4b 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +IO-CaptureOutput-1.03.tar.gz diff --git a/perl-IO-CaptureOutput.spec b/perl-IO-CaptureOutput.spec new file mode 100644 index 0000000..9936955 --- /dev/null +++ b/perl-IO-CaptureOutput.spec @@ -0,0 +1,57 @@ +Name: perl-IO-CaptureOutput +Version: 1.03 +Release: 4%{?dist} +Summary: Capture STDOUT/STDERR from subprocesses and XS/C modules +Group: Development/Libraries +License: GPL or Artistic +URL: http://search.cpan.org/dist/IO-CaptureOutput +Source0: http://search.cpan.org/CPAN/authors/id/S/SI/SIMONFLK/IO-CaptureOutput-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: perl(Inline), perl(Parse::RecDescent), perl(Test::Pod::Coverage), perl(Test::Pod) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +%{summary}. + +%prep +%setup -q -n IO-CaptureOutput-%{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 -type d -depth -exec rmdir {} 2>/dev/null ';' +chmod -R u+w $RPM_BUILD_ROOT/* + +%check +make test + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc Changes README +%{perl_vendorlib}/IO +%{_mandir}/man3/*.3* + + +%changelog +* Wed Aug 17 2005 Tom "spot" Callaway 1.03-4 +- add BR (Test::Pod) + +* Wed Aug 17 2005 Tom "spot" Callaway 1.03-3 +- more cleanups +- add BR so testing passes + +* Fri Jul 8 2005 Tom "spot" Callaway 1.03-2 +- cleanups + +* Wed Jul 6 2005 Tom "spot" Callaway 1.03-1 +- Initial package for Fedora Extras diff --git a/sources b/sources index e69de29..866ff72 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +a117ecf931cf03967bf6a6843164667a IO-CaptureOutput-1.03.tar.gz