]> git.pld-linux.org Git - packages/perl-PGPLOT.git/blobdiff - perl-PGPLOT.spec
- updated to version 2.17.
[packages/perl-PGPLOT.git] / perl-PGPLOT.spec
index 9ec33ec1e1e060e31f3e8ad3838b55bccea8badb..cf9e31f295871a8018c71820947f3d1d480975ef 100644 (file)
@@ -2,20 +2,21 @@
 Summary:       PGPLOT perl module
 Summary(pl):   Modu³ perla PGPLOT
 Name:          perl-PGPLOT
-Version:       2.15
-Release:       3
-Copyright:     GPL
+Version:       2.17
+Release:       1
+License:       GPL
 Group:         Development/Languages/Perl
 Group(pl):     Programowanie/Jêzyki/Perl
-Source:                ftp://ftp.perl.org/pub/CPAN/modules/by-module/PGPLOT/PGPLOT-%{version}.tar.gz
+Source0:       ftp://ftp.perl.org/pub/CPAN/modules/by-module/PGPLOT/PGPLOT-%{version}.tar.gz
 BuildRequires: rpm-perlprov >= 3.0.3-16
 BuildRequires: perl >= 5.005_03-14
 BuildRequires: XFree86-devel
 BuildRequires: pgplot-devel
 BuildRequires: perl-ExtUtils-F77 >= 1.11
+BuildRequires: gcc-g77
 %requires_eq   perl
 Requires:      %{perl_sitearch}
-BuildRoot:     /tmp/%{name}-%{version}-root
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 PGPLOT - perl interface to the PGPLOT graphics library.
@@ -28,11 +29,11 @@ PGPLOT - interfejs perla do biblioteki graficznej PGPLOT.
 
 %build
 perl Makefile.PL
-make OPTIMIZE="$RPM_OPT_FLAGS"
+%{__make} OPTIMIZE="$RPM_OPT_FLAGS"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
 
 strip --strip-unneeded $RPM_BUILD_ROOT/%{perl_sitearch}/auto/PGPLOT/*.so
 
This page took 0.051851 seconds and 4 git commands to generate.