libcacard-2.7.0

This commit is contained in:
Jakub Jelen 2019-07-22 18:53:27 +02:00
parent 1dd466e214
commit 34da83c4f9
3 changed files with 25 additions and 3 deletions

3
.gitignore vendored
View File

@ -4,3 +4,6 @@
/libcacard-2.5.3.tar.xz
/libcacard-2.6.0.tar.xz
/libcacard-2.6.1.tar.xz
/libcacard-2.7.0.tar.xz
/libcacard-2.7.0.tar.xz.asc
/gpgkey-15B5C33D.gpg

View File

@ -1,15 +1,24 @@
Name: libcacard
Version: 2.6.1
Release: 2%{?dist}
Version: 2.7.0
Release: 1%{?dist}
Summary: CAC (Common Access Card) library
License: LGPLv2+
URL: https://gitlab.freedesktop.org/spice/libcacard
Source0: http://www.spice-space.org/download/libcacard/%{name}-%{version}.tar.xz
Source1: http://www.spice-space.org/download/libcacard/%{name}-%{version}.tar.xz.asc
Source2: gpgkey-15B5C33D.gpg
Epoch: 3
BuildRequires: gcc
BuildRequires: glib2-devel
BuildRequires: nss-devel
BuildRequires: softhsm
BuildRequires: opensc
BuildRequires: gnutls-utils
BuildRequires: nss-tools
BuildRequires: openssl
BuildRequires: lcov
BuildRequires: gnupg2
Conflicts: qemu-common < 2:2.5.0
%description
@ -28,6 +37,7 @@ The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
%setup -q
%build
@ -35,6 +45,13 @@ developing applications that use %{name}.
sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
make %{?_smp_mflags}
%check
# Do not run the tests on s390x, which fails
%ifnarch s390x
sed -i "s!/usr/lib64/!%{_libdir}/!" tests/setup-softhsm2.sh
make check
%endif
%install
%make_install
rm -f %{buildroot}%{_libdir}/*.la

View File

@ -1 +1,3 @@
SHA512 (libcacard-2.6.1.tar.xz) = 1df2fa0cf46ee503cebb3a6f28c5e11609ec19dbf4e146d6d89ea59ddc7fcace45fc02adf852bfa385ae1ba1a889e9731a034b5e6630d45f3475cbc093e3aa2d
SHA512 (libcacard-2.7.0.tar.xz) = 347c13396e6777193e4e158321605410f4cbd90727c1ba8d85a1aac41d5ada96728dbef367ed4027d16dd0b10c8a4d0cf902ce3345334be4c78994cf72c58352
SHA512 (libcacard-2.7.0.tar.xz.asc) = a8890117610a0d89019fee5c2ec67a8e383095a39ce56b3a2d092c6e1164435888c5128f9ca303689ffa304f4bcdf71bfab9b2218361bb352427c58dae54dce0
SHA512 (gpgkey-15B5C33D.gpg) = 7f17283e5ea7e173d867ff815370c37b138df4fd8b7310f8a6eca13c5af90b0e6bd51bac79c0d3265021f6ae0e0e32f738ba4e12ba21e5302d628c235d5aed58