]> git.pld-linux.org Git - packages/perl-Math-PRSG.git/blob - perl-Math-PRSG.spec
ea15ed0eecfe423b74a36fc89fe9635a2361af9f
[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:        8
9 License:        GPL
10 Group:          Development/Languages/Perl
11 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
12 # Source0-md5:  4f0c32973d5b03d2a665b6ac6ec04b9c
13 Patch0:         %{name}-paths.patch
14 BuildRequires:  rpm-perlprov >= 4.1-13
15 BuildRequires:  perl-devel >= 5.6
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Math::PRSG - interface to pseudo random sequence generator function.
20
21 %description -l pl
22 Math::PRSG - interfejs do funkcji generowania pseudolosowych sekwencji.
23
24 %prep
25 %setup -q -n %{pdir}-%{pnam}-%{version}
26 %patch -p1
27
28 %build
29 %{__perl} Makefile.PL \
30         INSTALLDIRS=vendor
31 %{__make} OPTIMIZE="%{rpmcflags}"
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35
36 %{__make} install DESTDIR=$RPM_BUILD_ROOT
37
38 %clean
39 rm -rf $RPM_BUILD_ROOT
40
41 %files
42 %defattr(644,root,root,755)
43 %doc examples/prsg_driver.pl
44 %{perl_vendorarch}/Math/PRSG.pm
45 %dir %{perl_vendorarch}/auto/Math/PRSG
46 %{perl_vendorarch}/auto/Math/PRSG/PRSG.bs
47 %attr(755,root,root) %{perl_vendorarch}/auto/Math/PRSG/PRSG.so
48 %{_mandir}/man3/*
This page took 0.089875 seconds and 2 git commands to generate.