pcsc-ccid/pcsc-ccid.spec

268 lines
9.5 KiB
RPMSpec
Raw Normal View History

#
# spec file for package pcsc-ccid (Version 1.3.8)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: pcsc-ccid
%define _name ccid
BuildRequires: libusb-compat-devel pcsc-lite-devel pkg-config
Version: 1.3.8
Release: 1
Provides: locale(MozillaFirefox:de_BE;en_BE;fr_BE;nl_BE;wa_BE)
# pcsc-ccid uses libusb-1.0 features over libusb-0.1 API:
Requires: libusb-1_0-features-in-0_1-api
Group: Productivity/Security
License: LGPL v2.1 or later
Url: http://pcsclite.alioth.debian.org/ccid.html
Summary: PCSC Driver for CCID Based Smart Card Readers and GemPC Twin Serial Reader
Source: %{_name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define ifddir %(pkg-config libpcsclite --variable=usbdropdir)
%description
This package contains a generic USB CCID (Chip/Smart Card Interface
Devices) driver.
This driver is meant to be used with the PCSC-Lite daemon from the
pcsc-lite package.
Authors:
--------
Ludovic Rousseau <ludovic.rousseau@free.fr>
Carlos Prados
Olaf Kirch
%prep
%setup -q -n %{_name}-%{version}
cp -a src/openct/LICENSE LICENSE.openct
cp -a src/towitoko/README README.towitoko
%build
./bootstrap
%configure\
--enable-twinserial\
--enable-udev
make %{?jobs:-j%jobs}
%install
%makeinstall
mkdir $RPM_BUILD_ROOT%{_sysconfdir}/reader.conf.d
mv $RPM_BUILD_ROOT%{_sysconfdir}/reader.conf $RPM_BUILD_ROOT%{_sysconfdir}/reader.conf.d/ccidtwin.conf
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d
cp src/pcscd_ccid.rules $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d
# Copied elsewhere:
rm $RPM_BUILD_ROOT%{_datadir}/doc/ccid/README_Kobil_mIDentity_switch.txt
rmdir $RPM_BUILD_ROOT%{_datadir}/doc/ccid
rmdir $RPM_BUILD_ROOT%{_datadir}/doc
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
# NEWS is empty
%doc AUTHORS ChangeLog COPYING LICENSE.openct README README.towitoko contrib/Kobil_mIDentity_switch/README_Kobil_mIDentity_switch.txt SCARDGETATTRIB.txt
%{_bindir}/*
%doc %{_mandir}/man?/*.*
%{_sbindir}/*
%config (noreplace) %{_sysconfdir}/reader.conf.d/*.conf
%{_sysconfdir}/udev/rules.d/*.rules
%{ifddir}/*
%changelog
* Fri Sep 05 2008 sbrabec@suse.cz
- Updated to version 1.3.8:
* Fixes and code improvements.
* New readers that should work: Should work: Pro-Active CSB6
Ultimate, id3 Semiconductors CL1356A HID, Vasco DP905,
KEBTechnology KONA USB SmartCard, Precise Biometrics 250 MC,
Covadis.ch Alya and Vega-Alpha.
* Wed Apr 02 2008 sbrabec@suse.cz
- Updated to version 1.3.5:
* new supported devices
* documentation improves
* code changes
* for more see ChangeLog
* Thu Jul 26 2007 sbrabec@suse.cz
- Updated to version 1.3.0:
* code changes
* crash fixes
* firmware updates
* new command line tools
* Thu May 31 2007 sbrabec@suse.cz
- Build requires libusb-devel.
* Tue Feb 13 2007 sbrabec@suse.cz
- Updated to version 1.2.1:
* Support for non CCID generic readers.
* Supported O2Micro Oz7762.
* Support for SCARD_ATTR_VENDOR_IFD_VERSION,
* SCARD_ATTR_VENDOR_NAME and SCARD_ATTR_MAXINPUT tags used by
SCardGetAttrib(). Read SCARDGETATTRIB.txt for more.
* Support for OmniKey CardMan 5125, CardMan 1021, C3PO LTC32, Teo
by Xiring, HP USB Smartcard Reader.
* Support Extended APDU (up to 64KB) for readers in TPDU mode
or Extended APDU mode. This only works for T=1 cards.
* Support for C3PO LTC31 (new version), OmniKey CardMan 3021, HP
USB Smart Card Keyboard, Actividentity (ActiveCard) Activkey
Sim, id3 Semiconductors CL1356D and CL1356T, Alcor Micro AU9520
* Support the contactless interface of the SCR331-DI-NTTCOM
* Increased the USB timeout used for PIN verify/modify.
* Endian fixes.
* Other fixes.
* Fri Nov 24 2006 mjancar@suse.cz
- set IFSC in the SetParameters when required (#223566)
* Sat Aug 12 2006 stark@suse.de
- update to version 1.0.1
* add support for Axalto Reflex USB v3, SCM Micro SDI 010, Winbond
Electronics W81E381 chipset, Gemplus GemPC Card, Athena ASE IIIe
KB USB, OmniKey CardMan 3621
* improve support of Cherry XX44 keyboard for PIN verify and change
(circumvent firmware bugs)
* do not use LTPBundleFindValueWithKey() from pcscd since this
function has been removed from pcscd API
* use -fvisibility=hidden is available to limit the number of
exported symbols
* Sun Apr 02 2006 sndirsch@suse.de
- added missing locale provides (Bug #161867)
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Jan 03 2006 mjancar@suse.cz
- move to separate source package
* Mon Jan 02 2006 stark@suse.de
- removed obsolete hotplug stuff for cyberjack
- Updated pcsc-lite to version 1.2.9-beta9
- Updated CCID driver to 0.9.4
- Updated GemPC driver to 1.0.0
- package pkgconfig files to be able to build drivers outside
the package
* Tue Dec 20 2005 ro@suse.de
- removed unpackaged man-page symlinks
* Tue Nov 29 2005 ro@suse.de
- remove keeper from nfb (unused)
* Mon Oct 10 2005 stark@suse.de
- Updated towitoko driver to 2.0.7 and install USB bundle
* Thu Sep 22 2005 stark@suse.de
- Repackaged CCID as bundle for USB usage (#116497)
* Tue Sep 20 2005 stark@suse.de
- handle old reader.conf in upgrade case
- compile with -fno-strict-aliasing
- fixed missing return in ctapi-cyberjack
* Sat Sep 17 2005 stark@suse.de
- Updated pcsc-lite to version 1.2.9beta8 (#116497)
* use /etc/reader.conf.d/
* adapted init script to create /etc/reader.conf
- Updated cyberjack driver to version 2.0.9
* use rpath for cyberjack tools
- Updated ccid driver to version 0.9.3 (#116497)
- Use RPM_OPT_FLAGS everywhere
- Fixed serious compiler warnings
* Mon Sep 05 2005 skh@suse.de
- fix off-by-one error in hotplug_libusb.c [#112964]
* Mon Aug 29 2005 skh@suse.de
- Remove unnecessary files from pcsc-acr38 again [#112927]
* Mon Aug 29 2005 skh@suse.de
- package ACR38 driver in correct bundle format [#112927]
- remove orphaned /var/run/pcscd.pub when necessary [#112928]
- update ACR38u driver to version 100705 to fix crash when reader
is plugged in [#112964]
* Tue Aug 16 2005 skh@suse.de
- Updated ACR38u driver to version 100703
* Tue Jul 26 2005 okir@suse.de
- Added ACR38u driver
* Tue Jul 26 2005 okir@suse.de
- Updated description in init script (#79287)
* Thu Jun 16 2005 meissner@suse.de
- use RPM_OPT_FLAGS in 1 more driver
- added includes to avoid implict declaration of memcpy and similar.
* Mon Apr 18 2005 ro@suse.de
- make it build with gcc-4
* Thu Mar 17 2005 okir@suse.de
- Disable support for extended-apdus, it eats 32MB of memory (#73629)
* Thu Mar 10 2005 okir@suse.de
- Fix default search location for USB bundles
* Fri Jan 21 2005 okir@suse.de
- Updated to latest upstream version
- Updated several drivers
- Added CCID driver
- Provide a more informative readers.conf file (#42620)
* Thu Jan 20 2005 ro@suse.de
- drop subpackage gpr400
* Wed Apr 28 2004 ro@suse.de
- compile formaticc with no-strict-aliasing
- fix unused return type in musclecard.c
* Wed Mar 31 2004 okir@suse.de
- Properly install testpcsc, formaticc (#37625)
- Build towitoko driver with --enable-win32-com
* Thu Mar 18 2004 okir@suse.de
- cyberjack apps installed in /bin should be executable (#36409)
* Sat Jan 10 2004 adrian@suse.de
- add %%run_ldconfig
* Tue Aug 05 2003 mge@suse.de
- merge ctapi-cyberjack into pcsc-lite: two additional
packages are created: ctapi-cyberjack and pcsc-cyberjack
* Thu Jun 26 2003 ro@suse.de
- remove unpackaged files from buildroot
- added directories to filelist
* Fri Nov 29 2002 okir@suse.de
- added -fPIC when building eToken driver
* Fri Nov 29 2002 okir@suse.de
- Updated to latest upstream version
- Included driver for Aladdin eToken PRO
- More GNU auto#*@! headaches
- Various minor fixes
* Wed Aug 28 2002 okir@suse.de
- Moved shared objects to /usr/lib64 on ppc64/s390x (#18421)
* Mon Aug 05 2002 olh@suse.de
- fix initscript, Should-start: setserial hotplug
* Fri Aug 02 2002 okir@suse.de
- added PreReq for insserv_and_fillup
* Wed Jul 31 2002 okir@suse.de
- fixed build problem on s390x (force aclocal.m4 regen)
* Wed Jun 26 2002 ro@suse.de
- use -fPIC when building a shared lib
* Wed Jun 12 2002 okir@suse.de
- fix for bug #15051 (hey, it's a palindrome bug:):
missing %%doc DRIVERS file; misc silly binaries moved
out of /usr/bin
* Tue Apr 30 2002 okir@suse.de
- Fixed build problem introduced by previous patch
* Tue Apr 30 2002 okir@suse.de
- updated to latest upstream version
- added drivers for these readers: Towitoko, Schlumberger Reflex 6x,
Gemplus GPR 400, GemPlus GemPC 410/430
* Tue Apr 09 2002 ro@suse.de
- fixed for latest automake/autoconf
* Wed Feb 13 2002 stark@suse.de
- spec-file cleanup
- LSB compliant init-script
* Mon Jan 14 2002 ro@suse.de
- removed START_PCSCD
* Wed Nov 14 2001 ro@suse.de
- call aclocal
* Sun Aug 26 2001 mge@suse.de
- updated to 1.0.0Beta
- fixed /etc/init.d/pcscd status-handling (bug #9069)
* Thu Jun 07 2001 ro@suse.de
- fix broken Makefile.am
* Mon Apr 23 2001 mge@suse.de
- update to 0.9.1
* Thu Apr 19 2001 mge@suse.de
- created package