]> git.pld-linux.org Git - packages/perl-PGPLOT.git/blob - perl-PGPLOT.spec
9bf28db17be3883170d85530818bb05276d799c7
[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:        2
7 License:        GPL
8 Group:          Development/Languages/Perl
9 Source0:        ftp://ftp.perl.org/pub/CPAN/modules/by-module/PGPLOT/PGPLOT-%{version}.tar.gz
10 BuildRequires:  rpm-perlprov >= 3.0.3-16
11 BuildRequires:  perl >= 5.6
12 BuildRequires:  XFree86-devel
13 BuildRequires:  pgplot-devel
14 BuildRequires:  perl-ExtUtils-F77 >= 1.11
15 BuildRequires:  gcc-g77
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 PGPLOT - perl interface to the PGPLOT graphics library.
20
21 %description -l pl
22 PGPLOT - interfejs perla do biblioteki graficznej PGPLOT.
23
24 %prep
25 %setup -q -n PGPLOT-%{version}
26
27 %build
28 perl Makefile.PL
29 %{__make}
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33
34 %{__make} install DESTDIR=$RPM_BUILD_ROOT
35
36 gzip -9nf CHANGES README HELP
37
38 %clean
39 rm -rf $RPM_BUILD_ROOT
40
41 %files
42 %defattr(644,root,root,755)
43 %doc *.gz
44 %{perl_sitearch}/PGPLOT.pm
45 %dir %{perl_sitearch}/auto/PGPLOT
46 %{perl_sitearch}/auto/PGPLOT/PGPLOT.bs
47 %attr(755,root,root) %{perl_sitearch}/auto/PGPLOT/PGPLOT.so
48 %{_mandir}/man3/*
This page took 0.044446 seconds and 2 git commands to generate.