%include /usr/lib/rpm/macros.perl %define pdir Test %define pnam Simple Summary: Test::Simple perl module Summary(pl): Moduł perla Test::Simple Name: perl-%{pdir}-%{pnam} Version: 0.45 Release: 1 License: GPL Group: Development/Languages/Perl Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz BuildRequires: perl >= 5.6.1 BuildRequires: perl(Test::Harness) BuildRequires: rpm-perlprov >= 3.0.3-16 BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description This is an extremely simple, extremely basic module for writing tests suitable for CPAN modules and other pursuits. If you wish to do more complicated testing, use the Test::More module (a drop-in replacement for this one). %description -l pl To jest bardzo prosty, bardzo podstawowy moduł do pisania testów pasujących do modułów CPAN i innych. Do bardziej skomplikowanych testów lepiej używać modułu Test::More (zastępującego ten). %prep %setup -q -n %{pdir}-%{pnam}-%{version} %build perl Makefile.PL %{__make} %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 TODO %{perl_sitelib}/Test %{_mandir}/man3/*