]> git.pld-linux.org Git - packages/perl-Math-Derivative.git/blob - perl-Math-Derivative.spec
- BR: perl-devel; do not BR: perl
[packages/perl-Math-Derivative.git] / perl-Math-Derivative.spec
1 %include        /usr/lib/rpm/macros.perl
2 %define pdir    Math
3 %define pnam    Derivative
4 Summary:        Math::Derivative perl module
5 Summary(pl):    Modu³ perla Math::Derivative
6 Name:           perl-Math-Derivative
7 Version:        0.01
8 Release:        10
9 License:        GPL
10 Group:          Development/Languages/Perl
11 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
12 Patch0:         %{name}-man.patch
13 BuildRequires:  perl-devel >= 5.6
14 BuildRequires:  rpm-perlprov >= 4.1-13
15 BuildArch:      noarch
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 - obliczaj±cy pochodne pierwszego i
23 drugiego rzêdu.
24
25 %prep
26 %setup -q -n %{pdir}-%{pnam}-%{version}
27 %patch -p0
28
29 %build
30 %{__perl} Makefile.PL \
31         INSTALLDIRS=vendor 
32 %{__make}
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36
37 %{__make} install DESTDIR=$RPM_BUILD_ROOT
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %files
43 %defattr(644,root,root,755)
44 %doc README
45 %{perl_vendorlib}/Math/Derivative.pm
46 %{_mandir}/man3/*
This page took 0.354816 seconds and 4 git commands to generate.