1 Summary: Math-PRSG perl module
2 Summary(pl): Modu³ perla Math-PRSG
7 Group: Development/Languages/Perl
8 Group(pl): Programowanie/Jêzyki/Perl
9 Source: ftp://ftp.perl.org/pub/CPAN/modules/by-module/Math/Math-PRSG-%{version}.tar.gz
10 Patch: perl-Math-PRSG-paths.patch
11 BuildRequires: perl >= 5.005_03-10
13 Requires: %{perl_sitearch}
14 BuildRoot: /tmp/%{name}-%{version}-root
17 Math-PRSG - interface to pseudo random sequence generator function.
20 Math-PRSG - interfejs do funkcji generowania pseudolosowych sekwencji.
23 %setup -q -n Math-PRSG-%{version}
31 rm -rf $RPM_BUILD_ROOT
32 make install DESTDIR=$RPM_BUILD_ROOT
34 strip --strip-unneeded $RPM_BUILD_ROOT/%{perl_sitearch}/auto/Math/PRSG/*.so
37 cd $RPM_BUILD_ROOT%{perl_sitearch}/auto/Math/PRSG
38 sed -e "s#$RPM_BUILD_ROOT##" .packlist >.packlist.new
39 mv .packlist.new .packlist
42 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man3/*
45 rm -rf $RPM_BUILD_ROOT
48 %defattr(644,root,root,755)
49 %doc examples/prsg-driver.pl
51 %{perl_sitearch}/Math/PRSG.pm
53 %dir %{perl_sitearch}/auto/Math/PRSG
54 %{perl_sitearch}/auto/Math/PRSG/.packlist
55 %{perl_sitearch}/auto/Math/PRSG/PRSG.bs
56 %attr(755,root,root) %{perl_sitearch}/auto/Math/PRSG/PRSG.so