]> git.pld-linux.org Git - packages/perl-Math-GMP.git/blob - perl-Math-GMP.spec
- ported to new bconds
[packages/perl-Math-GMP.git] / perl-Math-GMP.spec
1 #
2 # Conditional build:
3 %bcond_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 # Source0-md5:  cf653ffa60607717ff4fc67177ee07b0
17 BuildRequires:  perl-devel >= 5.6
18 BuildRequires:  gmp-devel
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 Math::GMP gives you access to the fast GMP library for fast big
24 integer math.
25
26 %description -l pl
27 Math::GMP daje dostêp do szybkiej biblioteki GMP dla szybkich
28 obliczeñ na du¿ych liczbach ca³kowitych.
29
30 %prep
31 %setup -q -n %{pdir}-%{pnam}-%{version}
32
33 %build
34 %{__perl} Makefile.PL \
35         INSTALLDIRS=vendor
36 %{__make} \
37         OPTIMIZE="%{rpmcflags}"
38
39 %{?with_tests:%{__make} test}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43
44 %{__make} install \
45         DESTDIR=$RPM_BUILD_ROOT
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %doc Changes LICENSE README
53 %{perl_vendorarch}/Math/GMP.pm
54 %dir %{perl_vendorarch}/auto/Math/GMP
55 %{perl_vendorarch}/auto/Math/GMP/GMP.bs
56 %attr(755,root,root) %{perl_vendorarch}/auto/Math/GMP/GMP.so
57 %{perl_vendorarch}/auto/Math/GMP/autosplit.ix
58 %{_mandir}/man3/*
This page took 0.096322 seconds and 4 git commands to generate.