SPECS: perl-Tee.spec (NEW) - new

radek radek at pld-linux.org
Sun Feb 17 18:23:50 CET 2008


Author: radek                        Date: Sun Feb 17 17:23:50 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   perl-Tee.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-Tee.spec
diff -u /dev/null SPECS/perl-Tee.spec:1.1
--- /dev/null	Sun Feb 17 18:23:50 2008
+++ SPECS/perl-Tee.spec	Sun Feb 17 18:23:45 2008
@@ -0,0 +1,72 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define	pdir	Tee
+Summary:	Tee - Pure Perl emulation of GNU tee
+#Summary(pl.UTF-8):	
+Name:		perl-Tee
+Version:	0.13
+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
+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-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.
+
+# %description -l pl.UTF-8
+# TODO
+
+%prep
+%setup -q -n %{pdir}-%{version}
+
+%build
+%{__perl} Build.PL \
+	destdir=$RPM_BUILD_ROOT \
+	installdirs=vendor
+./Build
+
+%{?with_tests:./Build test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+./Build install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes
+%attr(755,root,root) %{_bindir}/*
+%{perl_vendorlib}/*.pm
+%{_mandir}/man?/*
+
+%define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2008-02-17 17:23:45  radek
+- new
+
================================================================


More information about the pld-cvs-commit mailing list