libcacard/libcacard.spec

86 lines
2.2 KiB
RPMSpec
Raw Normal View History

2019-11-06 19:37:17 +08:00
Name: libcacard
2021-01-29 16:06:32 +08:00
Version: 2.8.0
2022-12-22 08:55:44 +00:00
Release: 2
Epoch: 41
2019-11-06 19:37:17 +08:00
Summary: Common Access Card(CAC) library
License: LGPLv2+
URL: https://gitlab.freedesktop.org/spice/libcacard
Source0: https://www.spice-space.org/download/libcacard/%{name}-%{version}.tar.xz
Source1: https://www.spice-space.org/download/libcacard/%{name}-%{version}.tar.xz.asc
2021-01-29 16:06:32 +08:00
Patch6000: libcacard-2.8.0-32bit.patch
2019-11-06 19:37:17 +08:00
BuildRequires: gcc glib2-devel nss-devel softhsm opensc
BuildRequires: gnutls-utils nss-tools openssl gnupg2
2021-01-29 16:06:32 +08:00
BuildRequires: meson gcc-c++ pcsc-lite-devel
2019-11-06 19:37:17 +08:00
Conflicts: qemu-common < 2:2.5.0
%description
This package uses certificates read from NSS and separate pki containers to implement
DoD CAC standard so that it can provide emulation of smart cards to a virtual card
reader running in a guest virtual machine.
%package devel
Summary: Provide development files for %{name}
Requires: %{name} = %{epoch}:%{version}-%{release}
%description devel
This package provides libraries and header files for the development of libcacard
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
%build
2021-01-29 16:06:32 +08:00
%meson
%meson_build
2019-11-06 19:37:17 +08:00
%install
2021-01-29 16:06:32 +08:00
%meson_install
rm -f %{buildroot}%{_libdir}/*.la
2019-11-06 19:37:17 +08:00
%ldconfig_scriptlets
%files
%defattr(-,root,root)
%license COPYING
%{_libdir}/libcacard.so.*
%exclude %{_libdir}/*.la
%files devel
%defattr(-,root,root)
%{_includedir}/cacard/*.h
%{_libdir}/libcacard.so
%{_libdir}/pkgconfig/libcacard.pc
%files help
%defattr(-,root,root)
%doc NEWS ChangeLog README.md
%changelog
2022-12-22 08:55:44 +00:00
* Thu Dec 22 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 41:2.8.0-2
- update epoch to 41
2021-01-29 16:06:32 +08:00
* Fri Jan 29 2021 zhanzhimin <zhanzhimin@huawei.com> - 3:2.8.0-1
- update to 2.8.0
2020-08-21 22:37:23 +08:00
* Fri Aug 21 2020 orange_snn <songnannan2@huawei.com> - 3:2.7.0-4
- delete the check
2020-02-05 16:05:32 +08:00
* Wed Feb 5 2020 openEuler Buildteam <buildteam@openeuler.org> - 3:2.7.0-3
- Type:enhancement
- ID:NA
- SUG:NA
- DESC: enable test cases
2020-01-09 15:31:58 +08:00
* Thu Jan 9 2020 openEuler Buildteam <buildteam@openeuler.org> - 3:2.7.0-2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC: optimization the spec
* Sat Oct 12 2019 openEuler Buildteam <buildteam@openeuler.org> - 3:2.7.0-1
2019-11-06 19:37:17 +08:00
- Package init