commit 426c83666ec4a40be7e7a8a2917df7b4baf7bddf Author: CentOS Sources Date: Tue May 7 09:41:56 2019 -0400 import libcacard-2.6.1-1.el8 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b2e17e3 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/libcacard-2.6.1.tar.xz diff --git a/.libcacard.metadata b/.libcacard.metadata new file mode 100644 index 0000000..6b194a7 --- /dev/null +++ b/.libcacard.metadata @@ -0,0 +1 @@ +bceec1a1da4ed95f08bc1307e3a92020fb86f300 SOURCES/libcacard-2.6.1.tar.xz diff --git a/SPECS/libcacard.spec b/SPECS/libcacard.spec new file mode 100644 index 0000000..6bb4ea3 --- /dev/null +++ b/SPECS/libcacard.spec @@ -0,0 +1,88 @@ +Name: libcacard +Version: 2.6.1 +Release: 1%{?dist} +Summary: CAC (Common Access Card) library +License: LGPLv2+ +URL: http://www.spice-space.org/page/Libcacard +Source0: http://www.spice-space.org/download/libcacard/%{name}-%{version}.tar.xz +Group: Development/Libraries +Epoch: 3 + +BuildRequires: glib2-devel +BuildRequires: nss-devel +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 +%setup -q + +%build +%configure --disable-static +sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool +make %{?_smp_mflags} + +%install +%make_install +rm -f %{buildroot}%{_libdir}/*.la + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%license COPYING +%doc NEWS +%{_libdir}/libcacard.so.* + +%files devel +%{_includedir}/cacard +%{_libdir}/libcacard.so +%{_libdir}/pkgconfig/libcacard.pc + +%changelog +* Mon Dec 17 2018 Christophe Fergeau - 2.6.1-1 +- Update to libcacard 2.6.1 + Resolves: rhbz#1620129 + +* Mon Aug 13 2018 Troy Dawson - 3:2.5.3-5 +- Release Bumped for el8 Mass Rebuild + +* Wed Feb 07 2018 Fedora Release Engineering - 3:2.5.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering - 3:2.5.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 3:2.5.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Wed Mar 01 2017 Marc-André Lureau - 3:2.5.3-1 +- new upstream release 2.5.3 + +* Fri Feb 10 2017 Fedora Release Engineering - 3:2.5.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 3:2.5.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Dec 8 2015 Marc-André Lureau - 3:2.5.2-1 +- Update to latest libcacard's release (2.5.2) + +* Wed Nov 25 2015 Fabiano Fidêncio - 3:2.5.1-1 +- Update to latest libcacard's release (2.5.1) + +* Wed Sep 23 2015 Marc-André Lureau - 3:2.5.0-1 +- Initial standalone libcacard package.