]> git.pld-linux.org Git - packages/perl-Math-PRSG.git/blobdiff - perl-Math-PRSG.spec
- mass commit: cosmetics (removed trailing white spaces)
[packages/perl-Math-PRSG.git] / perl-Math-PRSG.spec
index 35bb8abbad240522b5f97f458c41a90d596ae68f..ea15ed0eecfe423b74a36fc89fe9635a2361af9f 100644 (file)
@@ -5,13 +5,14 @@ Summary:      Math::PRSG perl module
 Summary(pl):   Modu³ perla Math::PRSG
 Name:          perl-Math-PRSG
 Version:       1.0
-Release:       7
+Release:       8
 License:       GPL
 Group:         Development/Languages/Perl
-Source0:       ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 4f0c32973d5b03d2a665b6ac6ec04b9c
 Patch0:                %{name}-paths.patch
-BuildRequires: rpm-perlprov >= 3.0.3-16
-BuildRequires: perl >= 5.6
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildRequires: perl-devel >= 5.6
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -25,7 +26,8 @@ Math::PRSG - interfejs do funkcji generowania pseudolosowych sekwencji.
 %patch -p1
 
 %build
-perl Makefile.PL
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor
 %{__make} OPTIMIZE="%{rpmcflags}"
 
 %install
@@ -39,8 +41,8 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc examples/prsg_driver.pl
-%{perl_sitearch}/Math/PRSG.pm
-%dir %{perl_sitearch}/auto/Math/PRSG
-%{perl_sitearch}/auto/Math/PRSG/PRSG.bs
-%attr(755,root,root) %{perl_sitearch}/auto/Math/PRSG/PRSG.so
+%{perl_vendorarch}/Math/PRSG.pm
+%dir %{perl_vendorarch}/auto/Math/PRSG
+%{perl_vendorarch}/auto/Math/PRSG/PRSG.bs
+%attr(755,root,root) %{perl_vendorarch}/auto/Math/PRSG/PRSG.so
 %{_mandir}/man3/*
This page took 0.110461 seconds and 4 git commands to generate.