]> git.pld-linux.org Git - packages/pcsc-driver-ccid.git/blobdiff - pcsc-driver-ccid.spec
- new URLs, updated to 1.4.30
[packages/pcsc-driver-ccid.git] / pcsc-driver-ccid.spec
index 437698a565e0cca1f7d6b8afa532c536e263f0ed..514d4e83f280885855eb54e83eba232d6dd068df 100644 (file)
@@ -1,91 +1,83 @@
 Summary:       Generic USB CCID (Chip/Smart Card Interface Devices) driver
-Summary(pl):   Ogólny sterownik USB CCID (Chip/Smart Card Interface Devices)
+Summary(pl.UTF-8):     Ogólny sterownik USB CCID (Chip/Smart Card Interface Devices)
 Name:          pcsc-driver-ccid
-Version:       1.0.1
+Version:       1.4.30
 Release:       1
 License:       LGPL v2.1+
 Group:         Libraries
-#Source0Download: http://alioth.debian.org/project/showfiles.php?group_id=30105
-Source0:       http://alioth.debian.org/download.php/1563/ccid-%{version}.tar.gz
-# Source0-md5: 858bd7d680cdaf0ac53c70d43974a2df
-URL:           http://pcsclite.alioth.debian.org/ccid.html
-BuildRequires: libusb-devel >= 0.1.7
-BuildRequires: pcsc-lite-devel >= 1.3.0
-Requires:      pcsc-lite >= 1.3.0
+Source0:       https://ccid.apdu.fr/files/ccid-%{version}.tar.bz2
+# Source0-md5: 817abceef715e02cb47617621fe192e0
+URL:           https://ccid.apdu.fr/
+BuildRequires: libusb-devel >= 1.0.9
+BuildRequires: pcsc-lite-devel >= 1.8.3
+BuildRequires: perl-base
+BuildRequires: pkgconfig
+BuildRequires: rpmbuild(macros) >= 1.583
+Requires:      libusb >= 1.0.9
+Requires:      pcsc-lite >= 1.8.3
+Provides:      ccid = %{version}-%{release}
+Obsoletes:     ccid < 1.4.0-3
+Obsoletes:     udev-pcsc-driver-ccid
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                usbdropdir      /usr/%{_lib}/pcsc/drivers
 %define                ccidtwindir     /usr/%{_lib}/pcsc/drivers
 
+# pcscd provides log_msg and log_xxd functions
+%define                skip_post_check_so      libccid.so.1.4.0 libccidtwin.so.1.4.0
+
 %description
 This package provides generic USB CCID (Chip/Smart Card Interface
-Devices) driver. Supported CCID readers:
-- ActivCard USB reader 2.0
-- Advanced Card Systems ACR 38
-- Athena ASE IIIe USB v2
-- C3PO: LTC31, TLTC2USB
-- Cherry: XX33, XX44, SmartTerminal ST2XX, ST-1044U
-- Dell: SK-3106 keyboard
-- Eutron: SIM Pocket Combo, CryptoIdentity
-- Gemplus: GemPC 433 SL, GemPC Key, GemPC Twin, GemCore POS Pro,
-  GemCore SIM Pro
-- Kobil: KAAN Base, KAAN Advanced, KAAN SIM III, mIDentity
-- OmniKey: CardMan 3121, CardMan 3621, CardMan 3821, CardMan 5125,
-  CardMan 6121
-- SCM Micro: SCR 331, SCR 331-DI, SCR 333, SCR 335, SCR 355, SCR 3310,
-  SCR 3311, SCR 3340, SPR 532, SDI 010
-- Silitek SK-3105 keyboard
-- SmartEpad v2.0
-- Verisign: Secure Storage Token, Secure Token
-
-%description -l pl
-Ten pakiet zawiera ogólny sterownik USB CCID (Chip/Smart Card
-Interface Devices). Obs³ugiwane czytniki CCID:
-- ActivCard USB reader 2.0
-- Advanced Card Systems ACR 38
-- Athena ASE IIIe USB v2
-- C3PO: LTC32, TLTC2USB
-- Cherry: XX33, XX44, SmartTerminal ST2XX, ST-1044U
-- Dell: klawiatura SK-3106
-- Eutron: SIM Pocket Combo, CryptoIdentity
-- Gemplus: GemPC 433 SL, GemPC Key, GemPC Twin, GemCore POS Pro,
-  GemCore SIM Pro
-- Kobil: KAAN Base, KAAN Advanced, KAAN SIM III, mIDentity
-- OmniKey: CardMan 3121, CardMan 3621, CardMan 3821, CardMan 5125,
-  CardMan 6121
-- SCM Micro: SCR 331, SCR 331-DI, SCR 333, SCR 335, SCR 355, SCR 3310,
-  SCR 3311, SCR 3340, SPR 532, SDI 010
-- Silitek: klawiatura SK-3105
-- SmartEpad v2.0
-- Verisign: Secure Storage Token, Secure Token
+Devices) driver.
+
+Full lists of supported devices are available here:
+<https://ccid.apdu.fr/ccid/supported.html>
+<https://ccid.apdu.fr/ccid/shouldwork.html>
+
+%description -l pl.UTF-8
+Ten pakiet zawiera ogólny sterownik USB CCID (Chip/Smart Card
+Interface Devices).
+
+Pełne listy obsługiwanych urządzeń są dostępne na WWW:
+<https://ccid.apdu.fr/ccid/supported.html>
+<https://ccid.apdu.fr/ccid/shouldwork.html>
 
 %package serial
 Summary:       Generic USB CCID driver for readers connected to serial port
-Summary(pl):   Ogólny sterownik USB CCID dla czytników pod³±czonych przez port szeregowy
+Summary(pl.UTF-8):     Ogólny sterownik USB CCID dla czytników podłączonych przez port szeregowy
 Group:         Libraries
-Requires:      pcsc-lite >= 1.2.9-0.beta9
+Requires:      pcsc-lite >= 1.8.3
 
 %description serial
 Generic USB CCID driver for readers connected to serial port.
-Supported CCID readers:
-- Gemplus GemPC Twin
+Supported CCID devices:
+- Gemplus/Gemalto GemPC Twin
+- Gemplus/Gemalto GemCore POS Pro
+- Gemplus/Gemalto GemCore SIM Pro
+- Gemalto GemPC PinPad
 
-%description serial -l pl
-Ogólny sterownik USB CCID dla czytników pod³±czonych przez port
-szeregowy. Obs³ugiwane czytniki CCID:
-- Gemplus GemPC Twin
+%description serial -l pl.UTF-8
+Ogólny sterownik USB CCID dla czytników podłączonych przez port
+szeregowy. Obsługiwane urządzenia CCID:
+- Gemplus/Gemalto GemPC Twin
+- Gemplus/Gemalto GemCore POS Pro
+- Gemplus/Gemalto GemCore SIM Pro
+- Gemalto GemPC PinPad
 
 %prep
 %setup -q -n ccid-%{version}
 
 %build
 %configure \
-       --enable-usbdropdir=%{usbdropdir} \
-       --enable-ccidtwindir=%{ccidtwindir}
+       --disable-silent-rules \
+       --enable-ccidtwindir=%{ccidtwindir} \
+       --enable-twinserial \
+       --enable-usbdropdir=%{usbdropdir}
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/lib/udev/rules.d
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
@@ -93,21 +85,23 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} -C src install_ccidtwin \
        DESTDIR=$RPM_BUILD_ROOT
 
-mv $RPM_BUILD_ROOT%{_sysconfdir}/reader.conf .
+cp -p src/92_pcscd_ccid.rules $RPM_BUILD_ROOT/lib/udev/rules.d/70-pcscd_ccid.rules
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog README readers/*.txt
+%doc AUTHORS ChangeLog README SCARDGETATTRIB.txt readers/supported_readers.txt
 %dir %{usbdropdir}/ifd-ccid.bundle
 %dir %{usbdropdir}/ifd-ccid.bundle/Contents
 %{usbdropdir}/ifd-ccid.bundle/Contents/Info.plist
 %dir %{usbdropdir}/ifd-ccid.bundle/Contents/Linux
-%attr(755,root,root) %{usbdropdir}/ifd-ccid.bundle/Contents/Linux/libccid.so.*.*.*
+%attr(755,root,root) %{usbdropdir}/ifd-ccid.bundle/Contents/Linux/libccid.so*
+/lib/udev/rules.d/70-pcscd_ccid.rules
 
 %files serial
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog README readers/GemPCTwin.txt readers/supported_readers.txt reader.conf
-%attr(755,root,root) %{ccidtwindir}/libccidtwin.so.*
+%doc AUTHORS ChangeLog README SCARDGETATTRIB.txt readers/supported_readers.txt
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/reader.conf.d/libccidtwin
+%attr(755,root,root) %{ccidtwindir}/libccidtwin.so*
This page took 0.032581 seconds and 4 git commands to generate.