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