]> git.pld-linux.org Git - SPECS.git/blob - perl-Math-Libm.spec
SPECS updated Sun 1 Aug 20:13:02 CEST 2021
[SPECS.git] / perl-Math-Libm.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %define         pdir    Math
6 %define         pnam    Libm
7 Summary:        Math::Libm - Perl extension for the C math library, libm
8 Summary(pl.UTF-8):      Math::Libm - rozszerzenie Perla dla biblioteki matematycznej C - libm
9 Name:           perl-Math-Libm
10 Version:        1.00
11 Release:        15
12 License:        unknown
13 Group:          Development/Languages/Perl
14 Source0:        http://www.cpan.org/modules/by-module/Math/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5:  26a4ce8fe507d04c7d40b9eadac428ae
16 URL:            http://search.cpan.org/dist/Math-Libm/
17 BuildRequires:  perl-devel >= 1:5.8.0
18 BuildRequires:  rpm-perlprov >= 4.1-13
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 This module is a translation of the C <math.h> file.
23
24 %description -l pl.UTF-8
25 Ten moduł jest tłumaczeniem pliku nagłówkowego C <math.h>.
26
27 %prep
28 %setup -q -n %{pdir}-%{pnam}-%{version}
29
30 %build
31 %{__perl} Makefile.PL \
32         INSTALLDIRS=vendor
33 %{__make} \
34         CC="%{__cc}" \
35         OPTIMIZE="%{rpmcflags}"
36
37 %{?with_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 README
51 %{perl_vendorarch}/Math/Libm.pm
52 %dir %{perl_vendorarch}/auto/Math/Libm
53 %{perl_vendorarch}/auto/Math/Libm/autosplit.ix
54 %attr(755,root,root) %{perl_vendorarch}/auto/Math/Libm/Libm.so
55 %{_mandir}/man3/*
This page took 0.097277 seconds and 3 git commands to generate.