commit a6ad6d106f9b4b72de97dd74d327a1604d9cf36f Author: Robin Lee <cheeselee@xxxxxxxxxxxxxxxxx> Date: Tue Mar 12 23:47:24 2013 +0800 initial import .gitignore | 1 + perl-File-Tee.spec | 47 +++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 49 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..799e5c6 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/File-Tee-0.07.tar.gz diff --git a/perl-File-Tee.spec b/perl-File-Tee.spec new file mode 100644 index 0000000..20f3cf9 --- /dev/null +++ b/perl-File-Tee.spec @@ -0,0 +1,47 @@ +Name: perl-File-Tee +Version: 0.07 +Release: 2%{?dist} +Summary: Replicate data sent to a Perl stream +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/File-Tee/ +Source0: http://www.cpan.org/modules/by-module/File/File-Tee-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Carp) +BuildRequires: perl(Exporter) +BuildRequires: perl(Test::More) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This module is able to replicate data written to a Perl stream into another +streams. It is the Perl equivalent of the shell utility tee(1). + +%prep +%setup -q -n File-Tee-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Sat Mar 9 2013 Robin Lee <cheeselee@xxxxxxxxxxxxxxxxx> - 0.07-2 +- BR: perl(Carp), perl(Exporter), perl(Test::More) + +* Fri Feb 22 2013 Robin Lee <cheeselee@xxxxxxxxxxxxxxxxx> 0.07-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..adb9a18 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +663cf56b6fa52f6c377512ad04b0467b File-Tee-0.07.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel