2007-08-13 04:27:55 +02:00
|
|
|
#
|
|
|
|
# spec file for package coolkey (Version 1.1.0)
|
|
|
|
#
|
|
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
#
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: coolkey
|
|
|
|
Version: 1.1.0
|
2007-09-11 00:41:24 +02:00
|
|
|
Release: 10
|
2007-08-13 04:27:55 +02:00
|
|
|
Summary: CoolKey PKCS #11 PKI Module for Smart Cards
|
|
|
|
License: LGPL v2 only
|
|
|
|
Group: Productivity/Security
|
|
|
|
URL: http://directory.fedoraproject.org/wiki/CoolKey
|
|
|
|
Source: %{name}-%{version}.tar.bz2
|
|
|
|
Patch: coolkey-configure-syntax-error.patch
|
|
|
|
Patch1: coolkey-string-literal-comparison.patch
|
|
|
|
Patch2: coolkey-amflags.patch
|
2007-09-11 00:41:24 +02:00
|
|
|
Patch3: coolkey-1.1.0-evoandooo.patch
|
2007-08-13 04:27:55 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-09-11 00:41:24 +02:00
|
|
|
BuildRequires: gcc-c++ mozilla-nss-devel pcsc-lite-devel pkg-config zlib-devel
|
2007-08-13 04:27:55 +02:00
|
|
|
#Requires: pcsc-lite
|
|
|
|
# Requires: ifd-egate
|
|
|
|
Requires: pcsc-ccid
|
|
|
|
# These package never existed in SuSE:
|
|
|
|
Provides: CoolKey Openkey
|
|
|
|
Obsoletes: CoolKey Openkey
|
|
|
|
# 390 does not have libusb or smartCards
|
|
|
|
ExcludeArch: s390 s390x
|
|
|
|
|
|
|
|
%description
|
2007-09-11 00:41:24 +02:00
|
|
|
Linux Driver support for the CoolKey and CAC products. CoolKeys are
|
|
|
|
part of a complete PKI solution that provides smart card login, single
|
|
|
|
sign-on, secure messaging, and secure email access. In the complete
|
|
|
|
solution, users are issued CoolKeys by their employer, ISP, bank, or
|
|
|
|
other parties. When the user plugs the keys in for the first time, the
|
|
|
|
keys are automatically provisioned with certificates, keys, and a PIN,
|
|
|
|
unique for that user by the Red Hat Certificate System. Once the
|
|
|
|
CoolKey is provisioned, the user can take the key to any system and use
|
|
|
|
it to login (authenticate), send and receive signed and encrypted
|
|
|
|
email, or participate in secure messaging or IRC communication. Using a
|
|
|
|
CoolKey should be as easy as starting a car. To accomplish that vision,
|
|
|
|
we are focusing on building complete support for CoolKey on exactly one
|
|
|
|
token. As the system is built out, we can add token support. CoolKeys
|
|
|
|
are based on JavaCard 1.2. We are testing with Axalto Egate Cyberflex
|
|
|
|
cards, which are available in both smart card and USB Fob form factors.
|
2007-08-13 04:27:55 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: CoolKey PKCS #11 PKI Module for Smart Cards
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
Linux Driver support for the CoolKey and CAC products.
|
|
|
|
|
|
|
|
CoolKeys are part of complete PKI solution that provides smart card
|
|
|
|
login, single sign-on, secure messaging, and secure email access. In
|
|
|
|
the complete solution, users are issued CoolKeys by their employer,
|
|
|
|
ISP, bank, or other agency. When the user plugs in the keys for the
|
|
|
|
first time, the keys are automatically provisioned with certificates,
|
|
|
|
keys, and a PIN unique to that user by the Red Hat Certificate System.
|
|
|
|
Once the CoolKey is provisioned, the user can take the key to any
|
|
|
|
system and use it to login (authenticate), send and receive signed and
|
|
|
|
encrypted email, or participate in secure messaging or IRC
|
|
|
|
communication. Using a CoolKey should be as easy as starting a car.
|
|
|
|
|
|
|
|
To accomplish that vision we are focusing on building complete support
|
|
|
|
for CoolKey on exactly one token. As the system is built out, we can
|
|
|
|
add token support. CoolKeys are based on JavaCard 1.2. We are testing
|
|
|
|
with Axalto Egate Cyberflex cards, which are available in both smart
|
|
|
|
card and USB Fob form factors.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%patch
|
|
|
|
%patch1
|
|
|
|
%patch2
|
2007-09-11 00:41:24 +02:00
|
|
|
%patch3 -p1
|
2007-08-13 04:27:55 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
autoreconf -f -i
|
|
|
|
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
|
|
|
export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
|
|
|
%configure\
|
2007-09-11 00:41:24 +02:00
|
|
|
--disable-dependency-tracking \
|
|
|
|
--enable-pk11install
|
2007-08-13 04:27:55 +02:00
|
|
|
make %{?jobs:-j%jobs}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%makeinstall
|
|
|
|
ln -s pkcs11/libcoolkeypk11.so $RPM_BUILD_ROOT/%{_libdir}
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc ChangeLog LICENSE README
|
2007-09-11 00:41:24 +02:00
|
|
|
%{_bindir}/pk11install
|
2007-08-13 04:27:55 +02:00
|
|
|
%{_libdir}/libcoolkeypk11.so
|
|
|
|
%{_libdir}/pkcs11/*.so
|
|
|
|
%{_libdir}/libckyapplet.so.*
|
|
|
|
# FIXME: Find a common package owning this directory:
|
|
|
|
%dir %{_libdir}/pkcs11
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libckyapplet.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%{_includedir}/*.h
|
|
|
|
|
|
|
|
%changelog
|
2007-09-11 00:41:24 +02:00
|
|
|
* Thu Sep 06 2007 - jberkman@novell.com
|
|
|
|
- install pk11install
|
|
|
|
- teach pk11install about evolution and openoffice
|
2007-08-13 04:27:55 +02:00
|
|
|
* Fri Aug 03 2007 - sbrabec@suse.cz
|
|
|
|
- New SuSE package, version 1.1.0.
|