# BEGIN COPYRIGHT BLOCK # Copyright (C) 2005 Red Hat, Inc. # All rights reserved. # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation version # 2.1 of the License. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # END COPYRIGHT BLOCK Name: coolkey Version: 1.1.1 Release: 1 Summary: CoolKey PKCS #11 module License: LGPL URL: http://directory.fedora.redhat.com/wiki/CoolKey Source: coolkey-%{version}.tar.gz Group: System Environment/Libraries BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: pcsc-lite-devel BuildRequires: zlib-devel Requires: pcsc-lite Requires: ifd-egate Requires: ccid Provides: CoolKey Openkey Obsoletes: CoolKey Openkey # 390 does not have libusb or smartCards ExcludeArch: s390 s390x %description Linux Driver support for the CoolKey and CAC products. %package devel Summary: CoolKey Applet libraries Group: System Environment/Libraries %description devel Linux Driver support to access the CoolKey applet. %prep %setup -q %build %configure --disable-dependency-tracking make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT ln -s pkcs11/libcoolkeypk11.so $RPM_BUILD_ROOT/%{_libdir} mkdir -p $RPM_BUILD_ROOT/var/cache/pk11ipc1 %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc ChangeLog LICENSE %{_libdir}/libcoolkeypk11.so %{_libdir}/pkcs11/libcoolkeypk11.so %{_libdir}/libckyapplet.so.1 %{_libdir}/libckyapplet.so.1.0.0 %attr(1777, root,root) /var/cache/pk11ipc1 %files devel %{_libdir}/libckyapplet.so %{_libdir}/pkgconfig/libckyapplet.pc %{_includedir}/*.h %changelog * Tue Aug 14 2007 Bob Relyea - 1.1.1 - Move cache to /var/cache. Make the package own it's cache directory. - Allow formatting applications like ESC to open access tokens which may not have a recognized ATR. * Wed Feb 14 2007 Bob Relyea - 1.1.0 - Clear any logout rests after a successful login. - Don't grab the CUID on cac's. Reseting the card causes it to - logout of other applications. - Shared memory directory needs to be writeable by all so - coolkey can create caches for any user. (lack of caches - show up in screen savers reactly slowly). - fix login hw race failures - make the coolkey token caches persist over application calls. - make a separate cache for each user. * Sun Jul 16 2006 Florian La Roche - 1.0.1-2 - fix excludearch line * Mon Jul 10 2006 Bob Relyea - 1.0.1-1 - Don't require pthread library in coolkey * Mon Jul 10 2006 Bob Relyea - 1.0.0-2 - remove s390 from the build * Mon Jun 5 2006 Bob Relyea - 1.0.0-1 - Initial revision for fedora