1 %include /usr/lib/rpm/macros.perl
2 Summary: PGPLOT perl module
3 Summary(pl): Modu³ perla PGPLOT
8 Group: Development/Languages/Perl
9 Group(de): Entwicklung/Sprachen/Perl
10 Group(pl): Programowanie/Jêzyki/Perl
11 Source0: ftp://ftp.perl.org/pub/CPAN/modules/by-module/PGPLOT/PGPLOT-%{version}.tar.gz
12 BuildRequires: rpm-perlprov >= 3.0.3-16
13 BuildRequires: perl >= 5.6
14 BuildRequires: XFree86-devel
15 BuildRequires: pgplot-devel
16 BuildRequires: perl-ExtUtils-F77 >= 1.11
17 BuildRequires: gcc-g77
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 PGPLOT - perl interface to the PGPLOT graphics library.
24 PGPLOT - interfejs perla do biblioteki graficznej PGPLOT.
27 %setup -q -n PGPLOT-%{version}
34 rm -rf $RPM_BUILD_ROOT
36 %{__make} install DESTDIR=$RPM_BUILD_ROOT
38 gzip -9nf CHANGES README HELP
41 rm -rf $RPM_BUILD_ROOT
44 %defattr(644,root,root,755)
46 %{perl_sitearch}/PGPLOT.pm
47 %dir %{perl_sitearch}/auto/PGPLOT
48 %{perl_sitearch}/auto/PGPLOT/PGPLOT.bs
49 %attr(755,root,root) %{perl_sitearch}/auto/PGPLOT/PGPLOT.so