%include /usr/lib/rpm/macros.perl Summary: Math-VecStat perl module Summary(pl): Moduł perla Math-VecStat Name: perl-Math-VecStat Version: 0.04 Release: 3 Copyright: GPL Group: Development/Languages/Perl Group(pl): Programowanie/Języki/Perl Source: ftp://ftp.perl.org/pub/CPAN/modules/by-module/Math/Math-VecStat-%{version}.tar.gz BuildRequires: rpm-perlprov >= 3.0.3-16 BuildRequires: perl >= 5.005_03-14 %requires_eq perl Requires: %{perl_sitearch} BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Math-VecStat perl module. %description -l pl Moduł perla Math-VecStat. %prep %setup -q -n Math-VecStat-%{version} %build perl Makefile.PL make %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT ( cd $RPM_BUILD_ROOT%{perl_sitearch}/auto/Math/VecStat sed -e "s#$RPM_BUILD_ROOT##" .packlist >.packlist.new mv .packlist.new .packlist ) gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man3/* \ README %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc README.gz %{perl_sitelib}/Math/VecStat.pm %{perl_sitearch}/auto/Math/VecStat %{_mandir}/man3/*