2015-11-18 14:27:23 +00:00
|
|
|
Name: libcacard
|
2021-08-16 13:11:15 +00:00
|
|
|
Version: 2.8.1
|
2023-07-20 10:25:36 +00:00
|
|
|
Release: 6%{?dist}
|
2015-11-18 14:27:23 +00:00
|
|
|
Summary: CAC (Common Access Card) library
|
|
|
|
License: LGPLv2+
|
2018-08-08 13:52:44 +00:00
|
|
|
URL: https://gitlab.freedesktop.org/spice/libcacard
|
2021-08-16 13:11:15 +00:00
|
|
|
Source0: http://www.spice-space.org/download/libcacard/%{name}-%{version}.tar.xz
|
|
|
|
Source1: http://www.spice-space.org/download/libcacard/%{name}-%{version}.tar.xz.sig
|
|
|
|
Source2: gpgkey-A3DDE969.gpg
|
2022-06-17 13:26:49 +00:00
|
|
|
Source3: db2.crypt
|
|
|
|
# https://gitlab.freedesktop.org/spice/libcacard/-/merge_requests/31
|
|
|
|
Patch1: libcacard-2.8.1-sort-certificates.patch
|
2015-11-18 14:27:23 +00:00
|
|
|
Epoch: 3
|
|
|
|
|
2018-07-09 17:06:47 +00:00
|
|
|
BuildRequires: gcc
|
2015-11-18 14:27:23 +00:00
|
|
|
BuildRequires: glib2-devel
|
|
|
|
BuildRequires: nss-devel
|
2019-07-22 16:53:27 +00:00
|
|
|
BuildRequires: softhsm
|
|
|
|
BuildRequires: opensc
|
|
|
|
BuildRequires: gnutls-utils
|
|
|
|
BuildRequires: nss-tools
|
|
|
|
BuildRequires: openssl
|
|
|
|
BuildRequires: gnupg2
|
2020-07-31 13:46:44 +00:00
|
|
|
BuildRequires: meson
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: pcsc-lite-devel
|
2015-11-18 14:27:23 +00:00
|
|
|
Conflicts: qemu-common < 2:2.5.0
|
|
|
|
|
|
|
|
%description
|
|
|
|
This library provides emulation of smart cards to a virtual card
|
|
|
|
reader running in a guest virtual machine.
|
|
|
|
|
|
|
|
It implements DoD CAC standard with separate pki containers
|
|
|
|
(compatible coolkey), using certificates read from NSS.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
The %{name}-devel package contains libraries and header files for
|
|
|
|
developing applications that use %{name}.
|
|
|
|
|
|
|
|
%prep
|
2021-08-16 13:11:15 +00:00
|
|
|
gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
|
|
|
|
%setup -q
|
2022-06-17 13:26:49 +00:00
|
|
|
%patch1 -p1
|
|
|
|
cp %{SOURCE3} tests/
|
2015-11-18 14:27:23 +00:00
|
|
|
|
|
|
|
%build
|
2020-07-31 13:46:44 +00:00
|
|
|
%meson
|
|
|
|
%meson_build
|
2015-11-18 14:27:23 +00:00
|
|
|
|
2019-07-22 16:53:27 +00:00
|
|
|
%check
|
|
|
|
# Do not run the tests on s390x, which fails
|
|
|
|
%ifnarch s390x
|
2020-07-31 13:46:44 +00:00
|
|
|
%meson_test
|
2019-07-22 16:53:27 +00:00
|
|
|
%endif
|
|
|
|
|
2015-11-18 14:27:23 +00:00
|
|
|
%install
|
2020-07-31 13:46:44 +00:00
|
|
|
%meson_install
|
2015-11-18 14:27:23 +00:00
|
|
|
|
2019-01-22 17:39:34 +00:00
|
|
|
%ldconfig_scriptlets
|
2015-11-18 14:27:23 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%license COPYING
|
|
|
|
%doc NEWS
|
|
|
|
%{_libdir}/libcacard.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_includedir}/cacard
|
|
|
|
%{_libdir}/libcacard.so
|
|
|
|
%{_libdir}/pkgconfig/libcacard.pc
|
|
|
|
|
|
|
|
%changelog
|
2023-07-20 10:25:36 +00:00
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3:2.8.1-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
2022-06-17 13:26:49 +00:00
|
|
|
* Thu May 18 2023 Jakub Jelen <jjelen@redhat.com> - 2.8.1-5
|
|
|
|
- Sort certificates by ID
|
|
|
|
|
2023-01-19 15:56:22 +00:00
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3:2.8.1-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-07-21 17:24:56 +00:00
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3:2.8.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-01-20 15:51:25 +00:00
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3:2.8.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-08-16 13:11:15 +00:00
|
|
|
* Mon Aug 16 2021 Jakub Jelen <jjelen@redhat.com> - 2.8.1-1
|
|
|
|
- New upstream release
|
|
|
|
|
2021-08-02 10:36:41 +00:00
|
|
|
* Mon Aug 2 2021 Marc-André Lureau <marcandre.lureau@redhat.com> - 3:2.8.0-5.20210801gitcf6121deb4
|
|
|
|
- Fix UNKNOWN pkg-config version, rhbz#1989031
|
|
|
|
|
|
|
|
* Sun Aug 1 2021 Marc-André Lureau <marcandre.lureau@redhat.com> - 3:2.8.0-4.20210801gitcf6121deb4
|
2021-08-01 15:28:28 +00:00
|
|
|
- Update to git snapshot v2.8.0.22
|
|
|
|
- Fix FTBFS rhbz#1987641
|
|
|
|
|
2021-07-22 11:02:36 +00:00
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3:2.8.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-01-26 16:44:48 +00:00
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3:2.8.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-07-31 13:46:44 +00:00
|
|
|
* Tue Oct 06 2020 Jakub Jelen <jjelen@redhat.com> - 2.8.0-1
|
|
|
|
- New upstream release
|
|
|
|
|
2020-07-28 04:19:49 +00:00
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3:2.7.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-01-29 08:42:00 +00:00
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3:2.7.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-08-29 12:33:33 +00:00
|
|
|
* Thu Aug 29 2019 Jakub Jelen <jjelen@redhat.com> - 2.7.0-3
|
|
|
|
- Backport an upstream patch to unbreak testing
|
|
|
|
|
2019-07-25 12:53:46 +00:00
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3:2.7.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-02-01 06:46:21 +00:00
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3:2.6.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-08-31 08:57:32 +00:00
|
|
|
* Fri Aug 31 2018 Christophe Fergeau <cfergeau@redhat.com> - 2.6.1-1
|
|
|
|
- Update to new upstream release
|
|
|
|
|
2018-08-08 13:52:44 +00:00
|
|
|
* Wed Aug 8 2018 Marc-André Lureau <marcandre.lureau@redhat.com> - 3:2.6.0-1
|
|
|
|
- Update to release v2.6.0
|
|
|
|
- remove vscclient, drop libcacard-tools
|
|
|
|
|
2018-07-13 07:52:27 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3:2.5.3-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-02-07 21:17:27 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3:2.5.3-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-08-03 01:14:26 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3:2.5.3-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-26 18:35:42 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3:2.5.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-03-01 16:15:11 +00:00
|
|
|
* Wed Mar 01 2017 Marc-André Lureau <marcandre.lureau@redhat.com> - 3:2.5.3-1
|
|
|
|
- new upstream release 2.5.3
|
|
|
|
|
2017-02-10 18:26:02 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3:2.5.2-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-02-04 02:57:09 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3:2.5.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-12-08 15:00:47 +00:00
|
|
|
* Tue Dec 8 2015 Marc-André Lureau <marcandre.lureau@redhat.com> - 3:2.5.2-1
|
|
|
|
- Update to latest libcacard's release (2.5.2)
|
|
|
|
|
2015-11-25 22:40:32 +00:00
|
|
|
* Wed Nov 25 2015 Fabiano Fidêncio <fidencio@redhat.com> - 3:2.5.1-1
|
|
|
|
- Update to latest libcacard's release (2.5.1)
|
|
|
|
|
2015-11-18 14:27:23 +00:00
|
|
|
* Wed Sep 23 2015 Marc-André Lureau <marcandre.lureau@redhat.com> - 3:2.5.0-1
|
|
|
|
- Initial standalone libcacard package.
|