Name: perl-IO-TieCombine Version: 1.000 Release: 1%{?dist} # see lib/IO/TieCombine.pm License: GPL+ or Artistic Group: Development/Libraries Summary: Produce tied (and other) separate but combined variables Source: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/IO-TieCombine-%{version}.tar.gz Url: http://search.cpan.org/dist/IO-TieCombine BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) # a weak description, I know, but upstream didn't have one and it's an # App::Cmd prereq. %description This package allows you to tie separate variables into a combined whole, using ties and other magic. This can be very useful when, say, you want a unified output from various different things that return data in different ways (STDIN/ERR, scalars, handles, etc). %prep %setup -q -n IO-TieCombine-%{version} perl -pi -e 's|^#!perl|#!%{__perl}|' t/*.t %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf %{buildroot} make pure_install PERL_INSTALL_ROOT=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} ';' find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' %{_fixperms} %{buildroot}/* %check make test %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc Changes LICENSE README t/ %{perl_vendorlib}/* %{_mandir}/man3/*.3* %changelog * Sat Nov 01 2008 Chris Weyl 1.000-1 - cleanup for submission * Mon Oct 27 2008 Chris Weyl 1.000-0.1 - initial RPM packaging - generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.5)