]> git.pld-linux.org Git - packages/pcsc-driver-ccid.git/blob - pcsc-driver-ccid.spec
- updated to 1.0.1
[packages/pcsc-driver-ccid.git] / pcsc-driver-ccid.spec
1 Summary:        Generic USB CCID (Chip/Smart Card Interface Devices) driver
2 Summary(pl):    Ogólny sterownik USB CCID (Chip/Smart Card Interface Devices)
3 Name:           pcsc-driver-ccid
4 Version:        1.0.1
5 Release:        1
6 License:        LGPL v2.1+
7 Group:          Libraries
8 #Source0Download: http://alioth.debian.org/project/showfiles.php?group_id=30105
9 Source0:        http://alioth.debian.org/download.php/1563/ccid-%{version}.tar.gz
10 # Source0-md5:  858bd7d680cdaf0ac53c70d43974a2df
11 URL:            http://pcsclite.alioth.debian.org/ccid.html
12 BuildRequires:  libusb-devel >= 0.1.7
13 BuildRequires:  pcsc-lite-devel >= 1.3.0
14 Requires:       pcsc-lite >= 1.3.0
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %define         usbdropdir      /usr/%{_lib}/pcsc/drivers
18 %define         ccidtwindir     /usr/%{_lib}/pcsc/drivers
19
20 %description
21 This package provides generic USB CCID (Chip/Smart Card Interface
22 Devices) driver. Supported CCID readers:
23 - ActivCard USB reader 2.0
24 - Advanced Card Systems ACR 38
25 - Athena ASE IIIe USB v2
26 - C3PO: LTC31, TLTC2USB
27 - Cherry: XX33, XX44, SmartTerminal ST2XX, ST-1044U
28 - Dell: SK-3106 keyboard
29 - Eutron: SIM Pocket Combo, CryptoIdentity
30 - Gemplus: GemPC 433 SL, GemPC Key, GemPC Twin, GemCore POS Pro,
31   GemCore SIM Pro
32 - Kobil: KAAN Base, KAAN Advanced, KAAN SIM III, mIDentity
33 - OmniKey: CardMan 3121, CardMan 3621, CardMan 3821, CardMan 5125,
34   CardMan 6121
35 - SCM Micro: SCR 331, SCR 331-DI, SCR 333, SCR 335, SCR 355, SCR 3310,
36   SCR 3311, SCR 3340, SPR 532, SDI 010
37 - Silitek SK-3105 keyboard
38 - SmartEpad v2.0
39 - Verisign: Secure Storage Token, Secure Token
40
41 %description -l pl
42 Ten pakiet zawiera ogólny sterownik USB CCID (Chip/Smart Card
43 Interface Devices). Obs³ugiwane czytniki CCID:
44 - ActivCard USB reader 2.0
45 - Advanced Card Systems ACR 38
46 - Athena ASE IIIe USB v2
47 - C3PO: LTC32, TLTC2USB
48 - Cherry: XX33, XX44, SmartTerminal ST2XX, ST-1044U
49 - Dell: klawiatura SK-3106
50 - Eutron: SIM Pocket Combo, CryptoIdentity
51 - Gemplus: GemPC 433 SL, GemPC Key, GemPC Twin, GemCore POS Pro,
52   GemCore SIM Pro
53 - Kobil: KAAN Base, KAAN Advanced, KAAN SIM III, mIDentity
54 - OmniKey: CardMan 3121, CardMan 3621, CardMan 3821, CardMan 5125,
55   CardMan 6121
56 - SCM Micro: SCR 331, SCR 331-DI, SCR 333, SCR 335, SCR 355, SCR 3310,
57   SCR 3311, SCR 3340, SPR 532, SDI 010
58 - Silitek: klawiatura SK-3105
59 - SmartEpad v2.0
60 - Verisign: Secure Storage Token, Secure Token
61
62 %package serial
63 Summary:        Generic USB CCID driver for readers connected to serial port
64 Summary(pl):    Ogólny sterownik USB CCID dla czytników pod³±czonych przez port szeregowy
65 Group:          Libraries
66 Requires:       pcsc-lite >= 1.2.9-0.beta9
67
68 %description serial
69 Generic USB CCID driver for readers connected to serial port.
70 Supported CCID readers:
71 - Gemplus GemPC Twin
72
73 %description serial -l pl
74 Ogólny sterownik USB CCID dla czytników pod³±czonych przez port
75 szeregowy. Obs³ugiwane czytniki CCID:
76 - Gemplus GemPC Twin
77
78 %prep
79 %setup -q -n ccid-%{version}
80
81 %build
82 %configure \
83         --enable-usbdropdir=%{usbdropdir} \
84         --enable-ccidtwindir=%{ccidtwindir}
85 %{__make}
86
87 %install
88 rm -rf $RPM_BUILD_ROOT
89
90 %{__make} install \
91         DESTDIR=$RPM_BUILD_ROOT
92
93 %{__make} -C src install_ccidtwin \
94         DESTDIR=$RPM_BUILD_ROOT
95
96 mv $RPM_BUILD_ROOT%{_sysconfdir}/reader.conf .
97
98 %clean
99 rm -rf $RPM_BUILD_ROOT
100
101 %files
102 %defattr(644,root,root,755)
103 %doc AUTHORS ChangeLog README readers/*.txt
104 %dir %{usbdropdir}/ifd-ccid.bundle
105 %dir %{usbdropdir}/ifd-ccid.bundle/Contents
106 %{usbdropdir}/ifd-ccid.bundle/Contents/Info.plist
107 %dir %{usbdropdir}/ifd-ccid.bundle/Contents/Linux
108 %attr(755,root,root) %{usbdropdir}/ifd-ccid.bundle/Contents/Linux/libccid.so.*.*.*
109
110 %files serial
111 %defattr(644,root,root,755)
112 %doc AUTHORS ChangeLog README readers/GemPCTwin.txt readers/supported_readers.txt reader.conf
113 %attr(755,root,root) %{ccidtwindir}/libccidtwin.so.*
This page took 0.090861 seconds and 4 git commands to generate.