]> git.pld-linux.org Git - SPECS.git/blob - perl-Alien-GMP.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / perl-Alien-GMP.spec
1 #
2 # Conditional build:
3 %bcond_without  tests           # do not perform "make test"
4 #
5 %define         pdir    Alien
6 %define         pnam    GMP
7 Summary:        Alien::GMP - provide the C gmp library
8 Name:           perl-Alien-GMP
9 Version:        1.16
10 Release:        1
11 License:        LGPL v3
12 Group:          Development/Languages/Perl
13 Source0:        http://www.cpan.org/modules/by-module/Alien/%{pdir}-%{pnam}-%{version}.tar.gz
14 # Source0-md5:  961ac6e4c8a1cb53ad266134d6338a06
15 URL:            https://metacpan.org/release/Alien-GMP
16 BuildRequires:  gmp-devel
17 BuildRequires:  perl-Alien-Base
18 BuildRequires:  perl-Alien-Build >= 2.12
19 BuildRequires:  perl-ExtUtils-MakeMaker >= 6.52
20 BuildRequires:  perl-FFI-CheckLib
21 BuildRequires:  perl-Test-Alien
22 BuildRequires:  perl-Test2-Suite >= 0.000060
23 BuildRequires:  perl-devel >= 1:5.8.0
24 BuildRequires:  rpm-perlprov >= 4.1-13
25 BuildRequires:  rpmbuild(macros) >= 1.745
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %define         _enable_debug_packages  0
29
30 %description
31 This module provides gmp for other modules to use.
32
33 %prep
34 %setup -q -n %{pdir}-%{pnam}-%{version}
35
36 %build
37 %{__perl} Makefile.PL \
38         INSTALLDIRS=vendor
39
40 %{__make}
41
42 %{?with_tests:%{__make} test}
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46
47 %{__make} pure_install \
48         DESTDIR=$RPM_BUILD_ROOT
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
54 %defattr(644,root,root,755)
55 %doc Changes
56 %{perl_vendorarch}/Alien/GMP.pm
57 %{perl_vendorarch}/Alien/GMP
58 %dir %{perl_vendorarch}/auto/Alien/GMP
59 %{perl_vendorarch}/auto/Alien/GMP/GMP.txt
60 %{perl_vendorarch}/auto/share/dist/Alien-GMP
61 %{_mandir}/man3/Alien::GMP.3pm*
This page took 0.599342 seconds and 3 git commands to generate.