]> git.pld-linux.org Git - packages/perl-Math-Derivative.git/blob - perl-Math-Derivative.spec
- spec adapterized.
[packages/perl-Math-Derivative.git] / perl-Math-Derivative.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        Math-Derivative perl module
3 Summary(pl):    Modu³ perla Math-Derivative
4 Name:           perl-Math-Derivative
5 Version:        0.01
6 Release:        3
7 License:        GPL
8 Group:          Development/Languages/Perl
9 Group(pl):      Programowanie/Jêzyki/Perl
10 Source0:        ftp://ftp.perl.org/pub/CPAN/modules/by-module/Math/Math-Derivative-%{version}.tar.gz
11 Patch0:         perl-Math-Derivative-man.patch
12 BuildRequires:  rpm-perlprov >= 3.0.3-16
13 BuildRequires:  perl >= 5.005_03-14
14 %requires_eq    perl
15 Requires:       %{perl_sitearch}
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Math-Derivative - Numeric 1st and 2nd order differentiation.
20
21 %description -l pl
22 Modu³ perla Math-Derivative.
23
24 %prep
25 %setup -q -n Math-Derivative-%{version}
26 %patch -p0
27
28 %build
29 perl Makefile.PL
30 make
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34 make install DESTDIR=$RPM_BUILD_ROOT
35
36 (
37   cd $RPM_BUILD_ROOT%{perl_sitearch}/auto/Math/Derivative
38   sed -e "s#$RPM_BUILD_ROOT##" .packlist >.packlist.new
39   mv .packlist.new .packlist
40 )
41
42 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man3/* \
43         README
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %doc README.gz
51
52 %{perl_sitelib}/Math/Derivative.pm
53 %{perl_sitearch}/auto/Math/Derivative
54
55 %{_mandir}/man3/*
This page took 0.038638 seconds and 4 git commands to generate.