]> git.pld-linux.org Git - packages/perl-Math-GMP.git/blob - perl-Math-GMP.spec
- massive attack: change CPAN URLs
[packages/perl-Math-GMP.git] / perl-Math-GMP.spec
1 #
2 # Conditional build:
3 # _without_tests - do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define         pdir    Math
7 %define         pnam    GMP
8 Summary:        Math::GMP Perl module - High speed arbitrary size integer math
9 Summary(pl):    Modu³ Perla Math::GMP - szybka arytmetyka liczb ca³kowitych o dowolnym rozmiarze
10 Name:           perl-Math-GMP
11 Version:        2.03
12 Release:        1
13 License:        LGPL
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 BuildRequires:  perl >= 5.6
17 BuildRequires:  gmp-devel
18 BuildRequires:  rpm-perlprov >= 3.0.3-16
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 Math::GMP gives you access to the fast GMP library for fast big
23 integer math.
24
25 %description -l pl
26 Math::GMP daje dostêp do szybkiej biblioteki GMP dla szybkich
27 obliczeñ na du¿ych liczbach ca³kowitych.
28
29 %prep
30 %setup -q -n %{pdir}-%{pnam}-%{version}
31
32 %build
33 perl Makefile.PL
34
35 %{__make} OPTIMIZE="%{rpmcflags}"
36
37 %{!?_without_tests:%{__make} test}
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41
42 %{__make} install \
43         DESTDIR=$RPM_BUILD_ROOT
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %doc Changes LICENSE README
51 %{perl_sitearch}/Math/GMP.pm
52 %dir %{perl_sitearch}/auto/Math/GMP
53 %{perl_sitearch}/auto/Math/GMP/GMP.bs
54 %attr(755,root,root) %{perl_sitearch}/auto/Math/GMP/GMP.so
55 %{perl_sitearch}/auto/Math/GMP/autosplit.ix
56 %{_mandir}/man3/*
This page took 0.066612 seconds and 4 git commands to generate.