]> git.pld-linux.org Git - packages/perl-PGPLOT.git/blob - perl-PGPLOT.spec
- updated to 2.18.
[packages/perl-PGPLOT.git] / perl-PGPLOT.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        PGPLOT perl module
3 Summary(pl):    Modu³ perla PGPLOT
4 Name:           perl-PGPLOT
5 Version:        2.18
6 Release:        1
7 License:        GPL
8 Group:          Development/Languages/Perl
9 Group(de):      Entwicklung/Sprachen/Perl
10 Group(pl):      Programowanie/Jêzyki/Perl
11 Source0:        ftp://ftp.perl.org/pub/CPAN/modules/by-module/PGPLOT/PGPLOT-%{version}.tar.gz
12 BuildRequires:  rpm-perlprov >= 3.0.3-16
13 BuildRequires:  perl >= 5.6
14 BuildRequires:  XFree86-devel
15 BuildRequires:  pgplot-devel
16 BuildRequires:  perl-ExtUtils-F77 >= 1.11
17 BuildRequires:  gcc-g77
18 %requires_eq    perl
19 Requires:       %{perl_sitearch}
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 %{__make}
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37
38 %{__make} install DESTDIR=$RPM_BUILD_ROOT
39
40 gzip -9nf CHANGES README HELP
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %doc *.gz
48 %{perl_sitearch}/PGPLOT.pm
49 %dir %{perl_sitearch}/auto/PGPLOT
50 %{perl_sitearch}/auto/PGPLOT/PGPLOT.bs
51 %attr(755,root,root) %{perl_sitearch}/auto/PGPLOT/PGPLOT.so
52 %{_mandir}/man3/*
This page took 0.309334 seconds and 3 git commands to generate.