]> git.pld-linux.org Git - packages/perl-PGPLOT.git/blame - perl-PGPLOT.spec
perl 5.38.0 rebuild
[packages/perl-PGPLOT.git] / perl-PGPLOT.spec
CommitLineData
19a3257a
JB
1#
2# Conditional build:
5a56ff83 3%bcond_without tests # do not perform "make test"
19a3257a 4#
b649e443 5%define pdir PGPLOT
307ca709 6Summary: PGPLOT perl module
46014053 7Summary(pl.UTF-8): Moduł perla PGPLOT
307ca709 8Name: perl-PGPLOT
ce6a8342 9Version: 2.21
bb7e84e0 10Release: 19
ac871cf7 11# same as perl
12License: GPL v1+ or Artistic
307ca709 13Group: Development/Languages/Perl
05e8ea19 14Source0: http://www.cpan.org/modules/by-module/PGPLOT/%{pdir}-%{version}.tar.gz
ce6a8342 15# Source0-md5: 836d8eb09bfcadd5d4edf668a551f17a
05e8ea19 16URL: http://search.cpan.org/dist/PGPLOT/
0a1b910e 17BuildRequires: gcc-g77
ba2f345b 18BuildRequires: perl-ExtUtils-F77 >= 1.13
cf21b0c5 19BuildRequires: perl-devel >= 1:5.8.0
19a3257a
JB
20BuildRequires: pgplot-devel >= 5.2.2-1
21BuildRequires: rpm-perlprov >= 4.1-13
05e8ea19 22BuildRequires: xorg-lib-libX11-devel
304555db 23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
307ca709 24
25%description
26PGPLOT - perl interface to the PGPLOT graphics library.
27
65ad2ab5 28%description -l pl.UTF-8
307ca709 29PGPLOT - interfejs perla do biblioteki graficznej PGPLOT.
30
31%prep
b649e443 32%setup -q -n %{pdir}-%{version}
307ca709 33
34%build
ed317344 35%{__perl} Makefile.PL \
35667923 36 INSTALLDIRS=vendor
80a6e862 37%{__make}
307ca709 38
5a56ff83 39%{?with_tests:echo /NULL | %{__make} test}
19a3257a 40
307ca709 41%install
42rm -rf $RPM_BUILD_ROOT
307ca709 43
cf21b0c5 44%{__make} pure_install \
5a56ff83 45 DESTDIR=$RPM_BUILD_ROOT
307ca709 46
cf21b0c5
ER
47rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/auto/PGPLOT/.packlist
48
307ca709 49%clean
50rm -rf $RPM_BUILD_ROOT
51
52%files
53%defattr(644,root,root,755)
99a5ecc4 54%doc CHANGES README HELP
ed317344 55%{perl_vendorarch}/PGPLOT.pm
56%dir %{perl_vendorarch}/auto/PGPLOT
ed317344 57%attr(755,root,root) %{perl_vendorarch}/auto/PGPLOT/PGPLOT.so
307ca709 58%{_mandir}/man3/*
This page took 0.137704 seconds and 5 git commands to generate.