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