]> git.pld-linux.org Git - packages/perl-PGPLOT.git/blob - perl-PGPLOT.spec
- mass commit: cosmetics (removed trailing white spaces)
[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 # Source0-md5:  0c27c49f6443eb4fdcc9eaee4c756c87
15 BuildRequires:  XFree86-devel
16 BuildRequires:  gcc-g77
17 BuildRequires:  perl-devel >= 5.6
18 BuildRequires:  perl-ExtUtils-F77 >= 1.11
19 BuildRequires:  pgplot-devel >= 5.2.2-1
20 BuildRequires:  rpm-perlprov >= 4.1-13
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 PGPLOT - perl interface to the PGPLOT graphics library.
25
26 %description -l pl
27 PGPLOT - interfejs perla do biblioteki graficznej PGPLOT.
28
29 %prep
30 %setup -q -n PGPLOT-%{version}
31
32 %build
33 %{__perl} Makefile.PL \
34         INSTALLDIRS=vendor
35 %{__make}
36
37 %{!?_without_tests:echo /NULL | %{__make} test}
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41
42 %{__make} install DESTDIR=$RPM_BUILD_ROOT
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %doc CHANGES README HELP
50 %{perl_vendorarch}/PGPLOT.pm
51 %dir %{perl_vendorarch}/auto/PGPLOT
52 %{perl_vendorarch}/auto/PGPLOT/PGPLOT.bs
53 %attr(755,root,root) %{perl_vendorarch}/auto/PGPLOT/PGPLOT.so
54 %{_mandir}/man3/*
This page took 0.054322 seconds and 4 git commands to generate.