]> git.pld-linux.org Git - packages/perl-Math-Derivative.git/blob - perl-Math-Derivative.spec
use generic url
[packages/perl-Math-Derivative.git] / perl-Math-Derivative.spec
1 %define         pdir    Math
2 %define         pnam    Derivative
3 %include        /usr/lib/rpm/macros.perl
4 Summary:        Math::Derivative perl module
5 Summary(pl.UTF-8):      Moduł perla Math::Derivative
6 Name:           perl-Math-Derivative
7 Version:        0.01
8 Release:        12
9 # same as perl
10 License:        GPL v1+ or Artistic
11 Group:          Development/Languages/Perl
12 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
13 # Source0-md5:  a359b1b4b545c03f4147594fc64420a2
14 Patch0:         %{name}-man.patch
15 URL:            http://search.cpan.org/dist/Math-Derivative/
16 BuildRequires:  perl-devel >= 1:5.8.0
17 BuildRequires:  rpm-perlprov >= 4.1-13
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 Math::Derivative - Numeric 1st and 2nd order differentiation.
23
24 %description -l pl.UTF-8
25 Moduł perla Math::Derivative - obliczający pochodne pierwszego i
26 drugiego rzędu.
27
28 %prep
29 %setup -q -n %{pdir}-%{pnam}-%{version}
30 %patch0 -p0
31
32 %build
33 %{__perl} Makefile.PL \
34         INSTALLDIRS=vendor
35 %{__make}
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39
40 %{__make} install \
41         DESTDIR=$RPM_BUILD_ROOT
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %doc README
49 %{perl_vendorlib}/Math/Derivative.pm
50 %{_mandir}/man3/*
This page took 0.069992 seconds and 3 git commands to generate.