]> git.pld-linux.org Git - packages/perl-Math-GMP.git/blob - perl-Math-GMP.spec
- BR: perl-devel; do not BR: perl
[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:        2
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-devel >= 5.6
17 BuildRequires:  gmp-devel
18 BuildRequires:  rpm-perlprov >= 4.1-13
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         INSTALLDIRS=vendor 
35
36 %{__make} OPTIMIZE="%{rpmcflags}"
37
38 %{!?_without_tests:%{__make} test}
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42
43 %{__make} install \
44         DESTDIR=$RPM_BUILD_ROOT
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc Changes LICENSE README
52 %{perl_vendorarch}/Math/GMP.pm
53 %dir %{perl_vendorarch}/auto/Math/GMP
54 %{perl_vendorarch}/auto/Math/GMP/GMP.bs
55 %attr(755,root,root) %{perl_vendorarch}/auto/Math/GMP/GMP.so
56 %{perl_vendorarch}/auto/Math/GMP/autosplit.ix
57 %{_mandir}/man3/*
This page took 0.148939 seconds and 4 git commands to generate.