]> git.pld-linux.org Git - packages/perl-PGPLOT.git/blob - perl-PGPLOT.spec
- added tests, BR: fixed pgplot-devel; now it should build correctly
[packages/perl-PGPLOT.git] / perl-PGPLOT.spec
1 #
2 # Conditional build:
3 # _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 License:        GPL
12 Group:          Development/Languages/Perl
13 Source0:        http://www.cpan.org/modules/by-module/PGPLOT/PGPLOT-%{version}.tar.gz
14 BuildRequires:  XFree86-devel
15 BuildRequires:  gcc-g77
16 BuildRequires:  perl >= 5.6
17 BuildRequires:  perl-ExtUtils-F77 >= 1.11
18 BuildRequires:  pgplot-devel >= 5.2.2-1
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 PGPLOT - perl interface to the PGPLOT graphics library.
24
25 %description -l pl
26 PGPLOT - interfejs perla do biblioteki graficznej PGPLOT.
27
28 %prep
29 %setup -q -n PGPLOT-%{version}
30
31 %build
32 %{__perl} Makefile.PL \
33         INSTALLDIRS=vendor 
34 %{__make}
35
36 %{!?_without_tests:echo /NULL | %{__make} test}
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40
41 %{__make} install DESTDIR=$RPM_BUILD_ROOT
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %doc CHANGES README HELP
49 %{perl_vendorarch}/PGPLOT.pm
50 %dir %{perl_vendorarch}/auto/PGPLOT
51 %{perl_vendorarch}/auto/PGPLOT/PGPLOT.bs
52 %attr(755,root,root) %{perl_vendorarch}/auto/PGPLOT/PGPLOT.so
53 %{_mandir}/man3/*
This page took 0.03351 seconds and 4 git commands to generate.