3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
6 Summary: PGPLOT perl module
7 Summary(pl): Modu³ perla PGPLOT
12 License: GPL v1+ or Artistic
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/PGPLOT/PGPLOT-%{version}.tar.gz
15 # Source0-md5: 0c27c49f6443eb4fdcc9eaee4c756c87
16 BuildRequires: XFree86-devel
17 BuildRequires: gcc-g77
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: perl-ExtUtils-F77 >= 1.11
20 BuildRequires: pgplot-devel >= 5.2.2-1
21 BuildRequires: rpm-perlprov >= 4.1-13
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 PGPLOT - perl interface to the PGPLOT graphics library.
28 PGPLOT - interfejs perla do biblioteki graficznej PGPLOT.
31 %setup -q -n PGPLOT-%{version}
34 %{__perl} Makefile.PL \
38 %{?with_tests:echo /NULL | %{__make} test}
41 rm -rf $RPM_BUILD_ROOT
44 DESTDIR=$RPM_BUILD_ROOT
47 rm -rf $RPM_BUILD_ROOT
50 %defattr(644,root,root,755)
51 %doc CHANGES README HELP
52 %{perl_vendorarch}/PGPLOT.pm
53 %dir %{perl_vendorarch}/auto/PGPLOT
54 %{perl_vendorarch}/auto/PGPLOT/PGPLOT.bs
55 %attr(755,root,root) %{perl_vendorarch}/auto/PGPLOT/PGPLOT.so