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(pl): Programowanie/Jêzyki/Perl
10 Source0: ftp://ftp.perl.org/pub/CPAN/modules/by-module/PGPLOT/PGPLOT-%{version}.tar.gz
11 BuildRequires: rpm-perlprov >= 3.0.3-16
12 BuildRequires: perl >= 5.005_03-14
13 BuildRequires: XFree86-devel
14 BuildRequires: pgplot-devel
15 BuildRequires: perl-ExtUtils-F77 >= 1.11
16 BuildRequires: gcc-g77
18 Requires: %{perl_sitearch}
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 PGPLOT - perl interface to the PGPLOT graphics library.
25 PGPLOT - interfejs perla do biblioteki graficznej PGPLOT.
28 %setup -q -n PGPLOT-%{version}
35 rm -rf $RPM_BUILD_ROOT
37 %{__make} install DESTDIR=$RPM_BUILD_ROOT
39 gzip -9nf CHANGES README HELP
42 rm -rf $RPM_BUILD_ROOT
45 %defattr(644,root,root,755)
46 %doc {CHANGES,README,HELP}.gz
48 %{perl_sitearch}/PGPLOT.pm
50 %dir %{perl_sitearch}/auto/PGPLOT
51 %{perl_sitearch}/auto/PGPLOT/.packlist
52 %{perl_sitearch}/auto/PGPLOT/PGPLOT.bs
53 %attr(755,root,root) %{perl_sitearch}/auto/PGPLOT/PGPLOT.so