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