]> git.pld-linux.org Git - packages/perl-Math-PRSG.git/blob - perl-Math-PRSG.spec
- removed all Group fields translations (oure rpm now can handle translating
[packages/perl-Math-PRSG.git] / perl-Math-PRSG.spec
1 %define pdir    Math
2 %define pnam    PRSG
3 %include        /usr/lib/rpm/macros.perl
4 Summary:        Math-PRSG perl module
5 Summary(pl):    Modu³ perla Math-PRSG
6 Name:           perl-Math-PRSG
7 Version:        1.0
8 Release:        6
9
10 License:        GPL
11 Group:          Development/Languages/Perl
12 Source0:        ftp://ftp.perl.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
13 Patch0:         %{name}-paths.patch
14 BuildRequires:  rpm-perlprov >= 3.0.3-16
15 BuildRequires:  perl >= 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 Math-PRSG-%{version}
26 %patch -p1
27
28 %build
29 perl Makefile.PL
30 %{__make} OPTIMIZE="%{rpmcflags}"
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34
35 %{__make} install DESTDIR=$RPM_BUILD_ROOT
36
37 %clean
38 rm -rf $RPM_BUILD_ROOT
39
40 %files
41 %defattr(644,root,root,755)
42 %doc examples/prsg_driver.pl
43 %{perl_sitearch}/Math/PRSG.pm
44 %dir %{perl_sitearch}/auto/Math/PRSG
45 %{perl_sitearch}/auto/Math/PRSG/PRSG.bs
46 %attr(755,root,root) %{perl_sitearch}/auto/Math/PRSG/PRSG.so
47 %{_mandir}/man3/*
This page took 0.064296 seconds and 4 git commands to generate.