]> git.pld-linux.org Git - packages/perl-Math-PRSG.git/blob - perl-Math-PRSG.spec
73aa12dc9718582e137a08071223f5645496d2cb
[packages/perl-Math-PRSG.git] / perl-Math-PRSG.spec
1 %include        /usr/lib/rpm/macros.perl
2 %define pdir    Math
3 %define pnam    PRSG
4 Summary:        Math-PRSG perl module
5 Summary(pl):    Modu³ perla Math-PRSG
6 Name:           perl-Math-PRSG
7 Version:        1.0
8 Release:        7
9 License:        GPL
10 Group:          Development/Languages/Perl
11 Source0:        ftp://ftp.perl.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
12 Patch0:         %{name}-paths.patch
13 BuildRequires:  rpm-perlprov >= 3.0.3-16
14 BuildRequires:  perl >= 5.6
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 Math-PRSG - interface to pseudo random sequence generator function.
19
20 %description -l pl
21 Math-PRSG - interfejs do funkcji generowania pseudolosowych sekwencji.
22
23 %prep
24 %setup -q -n %{pdir}-%{pnam}-%{version}
25 %patch -p1
26
27 %build
28 perl Makefile.PL
29 %{__make} OPTIMIZE="%{rpmcflags}"
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33
34 %{__make} install DESTDIR=$RPM_BUILD_ROOT
35
36 %clean
37 rm -rf $RPM_BUILD_ROOT
38
39 %files
40 %defattr(644,root,root,755)
41 %doc examples/prsg_driver.pl
42 %{perl_sitearch}/Math/PRSG.pm
43 %dir %{perl_sitearch}/auto/Math/PRSG
44 %{perl_sitearch}/auto/Math/PRSG/PRSG.bs
45 %attr(755,root,root) %{perl_sitearch}/auto/Math/PRSG/PRSG.so
46 %{_mandir}/man3/*
This page took 0.105536 seconds and 2 git commands to generate.