# # Conditional build: %bcond_without tests # do not perform "make test" %define pdir IO %define pnam Tee Summary: IO::Tee perl module Summary(pl.UTF-8): Moduł perla IO::Tee Name: perl-IO-Tee Version: 0.64 Release: 9 # same as perl License: GPL v1+ or Artistic Group: Development/Languages/Perl Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz # Source0-md5: 97d91e38fcadc1f01d8030a8d4f30701 URL: http://search.cpan.org/dist/IO-Tee/ BuildRequires: perl-devel >= 1:5.8.0 BuildRequires: rpm-perlprov >= 4.1-13 BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description IO::Tee - Multiplex output to multiple output handles. %description -l pl.UTF-8 Moduł perla IO::Tee - powielający wyjście na wiele uchwytów plików. %prep %setup -q -n %{pdir}-%{pnam}-%{version} %build %{__perl} Makefile.PL \ INSTALLDIRS=vendor %{__make} %{?with_tests:%{__make} test} %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc Changes README %{perl_vendorlib}/IO/Tee.pm %{_mandir}/man3/*