]> git.pld-linux.org Git - packages/perl-PGPLOT.git/blob - perl-PGPLOT.spec
- translated kloczkish into english
[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.15
6 Release:        3
7 Copyright:      GPL
8 Group:          Development/Languages/Perl
9 Group(pl):      Programowanie/Jêzyki/Perl
10 Source:         ftp://ftp.perl.org/pub/CPAN/modules/by-module/PGPLOT/PGPLOT-%{version}.tar.gz
11 BuildRequires:  rpm-perlprov >= 3.0.3-16
12 BuildRequires:  perl >= 5.005_03-14
13 BuildRequires:  XFree86-devel
14 BuildRequires:  pgplot-devel
15 BuildRequires:  perl-ExtUtils-F77 >= 1.11
16 %requires_eq    perl
17 Requires:       %{perl_sitearch}
18 BuildRoot:      /tmp/%{name}-%{version}-root
19
20 %description
21 PGPLOT - perl interface to the PGPLOT graphics library.
22
23 %description -l pl
24 PGPLOT - interfejs perla do biblioteki graficznej PGPLOT.
25
26 %prep
27 %setup -q -n PGPLOT-%{version}
28
29 %build
30 perl Makefile.PL
31 make OPTIMIZE="$RPM_OPT_FLAGS"
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35 make install DESTDIR=$RPM_BUILD_ROOT
36
37 strip --strip-unneeded $RPM_BUILD_ROOT/%{perl_sitearch}/auto/PGPLOT/*.so
38
39 (
40   cd $RPM_BUILD_ROOT%{perl_sitearch}/auto/PGPLOT
41   sed -e "s#$RPM_BUILD_ROOT##" .packlist >.packlist.new
42   mv .packlist.new .packlist
43 )
44
45 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man3/* \
46         CHANGES README HELP
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc {CHANGES,README,HELP}.gz
54
55 %{perl_sitearch}/PGPLOT.pm
56
57 %dir %{perl_sitearch}/auto/PGPLOT
58 %{perl_sitearch}/auto/PGPLOT/.packlist
59 %{perl_sitearch}/auto/PGPLOT/PGPLOT.bs
60 %attr(755,root,root) %{perl_sitearch}/auto/PGPLOT/PGPLOT.so
61
62 %{_mandir}/man3/*
This page took 0.316503 seconds and 4 git commands to generate.