]> git.pld-linux.org Git - packages/perl-PGPLOT.git/blob - perl-PGPLOT.spec
004aedba23f74ab4f8f3e7063a043333649fb5f6
[packages/perl-PGPLOT.git] / perl-PGPLOT.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 Summary:        PGPLOT perl module
7 Summary(pl):    Modu³ perla PGPLOT
8 Name:           perl-PGPLOT
9 Version:        2.18
10 Release:        5
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/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)
23
24 %description
25 PGPLOT - perl interface to the PGPLOT graphics library.
26
27 %description -l pl
28 PGPLOT - interfejs perla do biblioteki graficznej PGPLOT.
29
30 %prep
31 %setup -q -n PGPLOT-%{version}
32
33 %build
34 %{__perl} Makefile.PL \
35         INSTALLDIRS=vendor
36 %{__make}
37
38 %{?with_tests:echo /NULL | %{__make} test}
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42
43 %{__make} install \
44         DESTDIR=$RPM_BUILD_ROOT
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
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
56 %{_mandir}/man3/*
This page took 0.410865 seconds and 2 git commands to generate.