]> git.pld-linux.org Git - packages/perl-PGPLOT.git/blob - perl-PGPLOT.spec
perl 5.38.0 rebuild
[packages/perl-PGPLOT.git] / perl-PGPLOT.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %define pdir    PGPLOT
6 Summary:        PGPLOT perl module
7 Summary(pl.UTF-8):      ModuĊ‚ perla PGPLOT
8 Name:           perl-PGPLOT
9 Version:        2.21
10 Release:        18
11 # same as perl
12 License:        GPL v1+ or Artistic
13 Group:          Development/Languages/Perl
14 Source0:        http://www.cpan.org/modules/by-module/PGPLOT/%{pdir}-%{version}.tar.gz
15 # Source0-md5:  836d8eb09bfcadd5d4edf668a551f17a
16 URL:            http://search.cpan.org/dist/PGPLOT/
17 BuildRequires:  gcc-g77
18 BuildRequires:  perl-ExtUtils-F77 >= 1.13
19 BuildRequires:  perl-devel >= 1:5.8.0
20 BuildRequires:  pgplot-devel >= 5.2.2-1
21 BuildRequires:  rpm-perlprov >= 4.1-13
22 BuildRequires:  xorg-lib-libX11-devel
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 PGPLOT - perl interface to the PGPLOT graphics library.
27
28 %description -l pl.UTF-8
29 PGPLOT - 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
42 rm -rf $RPM_BUILD_ROOT
43
44 %{__make} pure_install \
45         DESTDIR=$RPM_BUILD_ROOT
46
47 rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/auto/PGPLOT/.packlist
48
49 %clean
50 rm -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.102061 seconds and 3 git commands to generate.