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