]> git.pld-linux.org Git - packages/perl-Crypt-OpenSSL-Bignum.git/blobdiff - perl-Crypt-OpenSSL-Bignum.spec
- updated URL
[packages/perl-Crypt-OpenSSL-Bignum.git] / perl-Crypt-OpenSSL-Bignum.spec
index 19b5c64fa7578afd4cb6b8b6464a3300fb7cc6f0..c48dff084f8791dbc26d9978c63c56d6ee926243 100644 (file)
@@ -1,23 +1,25 @@
 #
 # Conditional build:
-# _without_tests - do not perform "make test"
+%bcond_without tests   # unit tests
 #
-%include       /usr/lib/rpm/macros.perl
 %define                pdir    Crypt
 %define                pnam    OpenSSL-Bignum
 Summary:       Crypt::OpenSSL::Bignum - OpenSSL's multiprecision integer arithmetic
-Summary(pl):   Crypt::OpenSSL::Bignum - arytmetyka liczb ca³kowitych du¿ej precyzji z OpenSSL
+Summary(pl.UTF-8):     Crypt::OpenSSL::Bignum - arytmetyka liczb całkowitych dużej precyzji z OpenSSL
 Name:          perl-Crypt-OpenSSL-Bignum
-Version:       0.03
-Release:       1
+Version:       0.09
+Release:       6
 # same as perl
 License:       GPL v1+ or Artistic
 Group:         Development/Languages/Perl
-Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: b526c1554b2f3bf7d94bf0c8c474fd2d
+Source0:       http://www.cpan.org/modules/by-module/Crypt/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: c8ae05771c70c69b3e5647b29a885ed2
+Patch0:                %{name}-mod_sqrt.patch
+URL:           https://metacpan.org/dist/Crypt-OpenSSL-Bignum
 BuildRequires: openssl-devel >= 0.9.7d
-BuildRequires: perl-devel >= 5.6.1
+BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
+BuildRequires: rpmbuild(macros) >= 1.745
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -28,28 +30,32 @@ addition, this module can be used to provide access to bignum values
 produced by other OpenSSL modules, such as key parameters from
 Crypt::OpenSSL::RSA.
 
-%description -l pl
-Crypt::OpenSSL::Bignum daje dostêp do bibliotek arytmetyki
-liczb ca³kowitych du¿ej precyzji z OpenSSL. Aktualnie wiele, ale nie
-wszystkie, operacje arytmetyczne udostêpniane przez OpenSSL s±
-dostêpne z Perla. Ponadto ten modu³ mo¿e byæ u¿ywany do udostêpnienia
-du¿ych warto¶ci produkowanych przez inne modu³y OpenSSL, takie jak
+%description -l pl.UTF-8
+Crypt::OpenSSL::Bignum daje dostęp do bibliotek arytmetyki
+liczb całkowitych dużej precyzji z OpenSSL. Aktualnie wiele, ale nie
+wszystkie, operacje arytmetyczne udostępniane przez OpenSSL są
+dostępne z Perla. Ponadto ten moduł może być używany do udostępnienia
+dużych wartości produkowanych przez inne moduły OpenSSL, takie jak
 parametry klucza z Crypt::OpenSSL::RSA.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
+%patch0 -p1
 
 %build
 %{__perl} Makefile.PL \
        INSTALLDIRS=vendor
-%{__make} OPTIMIZE="%{rpmcflags}"
+%{__make} \
+       CC="%{__cc}" \
+       OPTIMIZE="%{rpmcflags}"
 
-%{!?_without_tests:%{__make} test}
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -60,6 +66,5 @@ rm -rf $RPM_BUILD_ROOT
 %{perl_vendorarch}/Crypt/OpenSSL/Bignum.pm
 %{perl_vendorarch}/Crypt/OpenSSL/Bignum
 %dir %{perl_vendorarch}/auto/Crypt/OpenSSL/Bignum
-%{perl_vendorarch}/auto/Crypt/OpenSSL/Bignum/Bignum.bs
 %attr(755,root,root) %{perl_vendorarch}/auto/Crypt/OpenSSL/Bignum/Bignum.so
-%{_mandir}/man3/*
+%{_mandir}/man3/Crypt::OpenSSL::Bignum*.3pm*
This page took 0.080493 seconds and 4 git commands to generate.