]> git.pld-linux.org Git - packages/perl-Math-PRSG.git/blame - perl-Math-PRSG.spec
- rel 10
[packages/perl-Math-PRSG.git] / perl-Math-PRSG.spec
CommitLineData
01aab1ca 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
26daaeea 5%include /usr/lib/rpm/macros.perl
b8f90a9e 6%define pdir Math
7%define pnam PRSG
6f52124f 8Summary: Math::PRSG perl module
189c574e 9Summary(pl.UTF-8): Moduł perla Math::PRSG
d988ea1e 10Name: perl-Math-PRSG
11Version: 1.0
c069b573 12Release: 10
01aab1ca 13# if used in a product, Systemics should be given attribution as the author
14License: free use, distributable
d988ea1e 15Group: Development/Languages/Perl
6cf58185 16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
4a29a834 17# Source0-md5: 4f0c32973d5b03d2a665b6ac6ec04b9c
961c3c49 18Patch0: %{name}-paths.patch
d4d8b755 19BuildRequires: rpm-perlprov >= 4.1-13
07400e55 20BuildRequires: perl-devel >= 1:5.8.0
9eb34ca1 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
d988ea1e 22
23%description
6f52124f 24Math::PRSG - interface to pseudo random sequence generator function.
d988ea1e 25
cdc0944b 26%description -l pl.UTF-8
6f52124f 27Math::PRSG - interfejs do funkcji generowania pseudolosowych sekwencji.
d988ea1e 28
29%prep
26daaeea 30%setup -q -n %{pdir}-%{pnam}-%{version}
8b395f5a 31%patch0 -p1
d988ea1e 32
33%build
d4d8b755 34%{__perl} Makefile.PL \
40732574 35 INSTALLDIRS=vendor
01aab1ca 36%{__make} \
ced382c3 37 CC="%{__cc}" \
01aab1ca 38 OPTIMIZE="%{rpmcflags}"
39
40%{?with_tests:%{__make} test}
d988ea1e 41
42%install
43rm -rf $RPM_BUILD_ROOT
d988ea1e 44
99e1dfa0 45%{__make} install \
46 DESTDIR=$RPM_BUILD_ROOT
d988ea1e 47
48%clean
49rm -rf $RPM_BUILD_ROOT
50
51%files
52%defattr(644,root,root,755)
2f498b7a 53%doc examples/prsg_driver.pl
d4d8b755 54%{perl_vendorarch}/Math/PRSG.pm
55%dir %{perl_vendorarch}/auto/Math/PRSG
56%{perl_vendorarch}/auto/Math/PRSG/PRSG.bs
57%attr(755,root,root) %{perl_vendorarch}/auto/Math/PRSG/PRSG.so
d988ea1e 58%{_mandir}/man3/*
This page took 0.098344 seconds and 4 git commands to generate.