]> git.pld-linux.org Git - packages/perl-Math-PRSG.git/blob - perl-Math-PRSG.spec
- initial release
[packages/perl-Math-PRSG.git] / perl-Math-PRSG.spec
1 Summary:        Math-PRSG perl module
2 Summary(pl):    Modu³ perla Math-PRSG
3 Name:           perl-Math-PRSG
4 Version:        1.0
5 Release:        3
6 Copyright:      GPL
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
12 %requires_eq    perl
13 Requires:       %{perl_sitearch}
14 BuildRoot:      /tmp/%{name}-%{version}-root
15
16 %description
17 Math-PRSG - interface to pseudo random sequence generator function. 
18
19 %description -l pl
20 Math-PRSG - interfejs do funkcji generowania pseudolosowych sekwencji.
21
22 %prep
23 %setup -q -n Math-PRSG-%{version}
24 %patch -p1
25
26 %build
27 perl Makefile.PL
28 make
29
30 %install
31 rm -rf $RPM_BUILD_ROOT
32 make install DESTDIR=$RPM_BUILD_ROOT
33
34 strip --strip-unneeded $RPM_BUILD_ROOT/%{perl_sitearch}/auto/Math/PRSG/*.so
35
36 (
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
40 )
41
42 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man3/*
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %doc examples/prsg-driver.pl
50
51 %{perl_sitearch}/Math/PRSG.pm
52
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
57
58 %{_mandir}/man3/*
This page took 0.078541 seconds and 4 git commands to generate.