]> git.pld-linux.org Git - packages/perl-PGPLOT.git/blobdiff - perl-PGPLOT.spec
- release 2,
[packages/perl-PGPLOT.git] / perl-PGPLOT.spec
index cf9e31f295871a8018c71820947f3d1d480975ef..c40846253223d2d77854ced48937057b7f69fd3d 100644 (file)
@@ -3,13 +3,14 @@ Summary:      PGPLOT perl module
 Summary(pl):   Modu³ perla PGPLOT
 Name:          perl-PGPLOT
 Version:       2.17
-Release:       1
+Release:       2
 License:       GPL
 Group:         Development/Languages/Perl
+Group(de):     Entwicklung/Sprachen/Perl
 Group(pl):     Programowanie/Jêzyki/Perl
 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: perl >= 5.6
 BuildRequires: XFree86-devel
 BuildRequires: pgplot-devel
 BuildRequires: perl-ExtUtils-F77 >= 1.11
@@ -29,35 +30,23 @@ PGPLOT - interfejs perla do biblioteki graficznej PGPLOT.
 
 %build
 perl Makefile.PL
-%{__make} OPTIMIZE="$RPM_OPT_FLAGS"
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
-
-strip --strip-unneeded $RPM_BUILD_ROOT/%{perl_sitearch}/auto/PGPLOT/*.so
 
-(
-  cd $RPM_BUILD_ROOT%{perl_sitearch}/auto/PGPLOT
-  sed -e "s#$RPM_BUILD_ROOT##" .packlist >.packlist.new
-  mv .packlist.new .packlist
-)
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
 
-gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man3/* \
-        CHANGES README HELP
+gzip -9nf CHANGES README HELP
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc {CHANGES,README,HELP}.gz
-
+%doc *.gz
 %{perl_sitearch}/PGPLOT.pm
-
 %dir %{perl_sitearch}/auto/PGPLOT
-%{perl_sitearch}/auto/PGPLOT/.packlist
 %{perl_sitearch}/auto/PGPLOT/PGPLOT.bs
 %attr(755,root,root) %{perl_sitearch}/auto/PGPLOT/PGPLOT.so
-
 %{_mandir}/man3/*
This page took 0.067042 seconds and 4 git commands to generate.