packages: perl-Tee/perl-Tee.spec - up to 0.14; adapterized
zbyniu
zbyniu at pld-linux.org
Sat Jan 14 22:33:31 CET 2012
Author: zbyniu Date: Sat Jan 14 21:33:31 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- up to 0.14; adapterized
---- Files affected:
packages/perl-Tee:
perl-Tee.spec (1.3 -> 1.4)
---- Diffs:
================================================================
Index: packages/perl-Tee/perl-Tee.spec
diff -u packages/perl-Tee/perl-Tee.spec:1.3 packages/perl-Tee/perl-Tee.spec:1.4
--- packages/perl-Tee/perl-Tee.spec:1.3 Sun Feb 17 20:08:32 2008
+++ packages/perl-Tee/perl-Tee.spec Sat Jan 14 22:33:25 2012
@@ -8,29 +8,31 @@
Summary: Tee - Pure Perl emulation of GNU tee
#Summary(pl.UTF-8):
Name: perl-Tee
-Version: 0.13
-Release: 3
+Version: 0.14
+Release: 1
# same as perl
License: GPL v1+ or Artistic
Group: Development/Languages/Perl
-Source0: http://www.cpan.org/modules/by-authors/id/D/DA/DAGOLDEN/Tee-0.13.tar.gz
-# Source0-md5: 8641888d46b1d50125eb518664d822f0
+Source0: http://www.cpan.org/modules/by-authors/id/D/DA/DAGOLDEN/Tee-%{version}.tar.gz
+# Source0-md5: 5c189150962550b0348c31f6f3e6ad62
URL: http://search.cpan.org/dist/Tee/
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
%if %{with tests}
BuildRequires: perl(Probe::Perl)
+BuildRequires: perl-IO-CaptureOutput
BuildRequires: perl-IPC-Run3 >= 0.033
%endif
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-The Tee distribution provides the ptee program, a pure Perl emulation of
-the standard GNU tool tee. It is designed to be a platform-independent
-replacement for operating systems without a native tee program. As with
-tee, it passes input received on STDIN through to STDOUT while also writing a
-copy of the input to one or more files. By default, files will be overwritten.
+The Tee distribution provides the ptee program, a pure Perl emulation
+of the standard GNU tool tee. It is designed to be a
+platform-independent replacement for operating systems without a
+native tee program. As with tee, it passes input received on STDIN
+through to STDOUT while also writing a copy of the input to one or
+more files. By default, files will be overwritten.
# %description -l pl.UTF-8
# TODO
@@ -39,19 +41,17 @@
%setup -q -n %{pdir}-%{version}
%build
-%{__perl} Build.PL \
+%{__perl} Makefile.PL \
destdir=$RPM_BUILD_ROOT \
installdirs=vendor
-./Build
+%{__make}
-%{?with_tests:./Build test}
+%{?with_tests:%{__make} test}
%install
rm -rf $RPM_BUILD_ROOT
-./Build install
-rm $RPM_BUILD_ROOT%{perl_vendorlib}/auto/Tee/ptee
-ln -s %{_bindir}/ptee $RPM_BUILD_ROOT%{perl_vendorlib}/auto/Tee/ptee
+%{__make} install
%clean
rm -rf $RPM_BUILD_ROOT
@@ -61,7 +61,7 @@
%doc Changes
%attr(755,root,root) %{_bindir}/*
%{perl_vendorlib}/*.pm
-%{perl_vendorlib}/auto/Tee
+%{perl_vendorlib}/Tee
%{_mandir}/man?/*
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -70,6 +70,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.4 2012/01/14 21:33:25 zbyniu
+- up to 0.14; adapterized
+
Revision 1.3 2008/02/17 19:08:32 radek
- release 3: remove patch0, add ln(1) workaround
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/perl-Tee/perl-Tee.spec?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list