Unretire package with standalone 2.5.0 version

This commit is contained in:
Cole Robinson 2015-11-18 09:27:23 -05:00
parent d0cc6415a3
commit a601f98efe
4 changed files with 71 additions and 1 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/libcacard-2.5.0.tar.xz

View File

@ -1 +0,0 @@
replaced by qemu subpackage

69
libcacard.spec Normal file
View File

@ -0,0 +1,69 @@
Name: libcacard
Version: 2.5.0
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 tools
Summary: CAC Emulation tools
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
%description tools
CAC emulation tools.
%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.*
%{_bindir}/vscclient
%files tools
%{_bindir}/vscclient
%files devel
%{_includedir}/cacard
%{_libdir}/libcacard.so
%{_libdir}/pkgconfig/libcacard.pc
%changelog
* Wed Sep 23 2015 Marc-André Lureau <marcandre.lureau@redhat.com> - 3:2.5.0-1
- Initial standalone libcacard package.

1
sources Normal file
View File

@ -0,0 +1 @@
68638ee98ae654db8e7c0b6dcc6e426b libcacard-2.5.0.tar.xz