3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
7 Summary: Tee - Pure Perl emulation of GNU tee
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-authors/id/D/DA/DAGOLDEN/Tee-0.13.tar.gz
16 # Source0-md5: 8641888d46b1d50125eb518664d822f0
17 URL: http://search.cpan.org/dist/Tee/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRequires: perl(Probe::Perl)
22 BuildRequires: perl-IPC-Run3 >= 0.033
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 The Tee distribution provides the ptee program, a pure Perl emulation of
29 the standard GNU tool tee. It is designed to be a platform-independent
30 replacement for operating systems without a native tee program. As with
31 tee, it passes input received on STDIN through to STDOUT while also writing a
32 copy of the input to one or more files. By default, files will be overwritten.
34 # %description -l pl.UTF-8
38 %setup -q -n %{pdir}-%{version}
42 destdir=$RPM_BUILD_ROOT \
46 %{?with_tests:./Build test}
49 rm -rf $RPM_BUILD_ROOT
54 rm -rf $RPM_BUILD_ROOT
57 %defattr(644,root,root,755)
59 %attr(755,root,root) %{_bindir}/*
60 %{perl_vendorlib}/*.pm