]> git.pld-linux.org Git - packages/pcsc-driver-ccid.git/blame - pcsc-driver-ccid.spec
- up to 1.4.26
[packages/pcsc-driver-ccid.git] / pcsc-driver-ccid.spec
CommitLineData
7bc5a12f 1Summary: Generic USB CCID (Chip/Smart Card Interface Devices) driver
6a13b9c3 2Summary(pl.UTF-8): Ogólny sterownik USB CCID (Chip/Smart Card Interface Devices)
7bc5a12f 3Name: pcsc-driver-ccid
3321a541 4Version: 1.4.26
bea9ad94 5Release: 1
5dea1863 6License: LGPL v2.1+
7bc5a12f 7Group: Libraries
3fa0b812 8#Source0Download: https://alioth.debian.org/frs/?group_id=30105
3321a541
AM
9Source0: https://alioth.debian.org/frs/download.php/file/4205/ccid-%{version}.tar.bz2
10# Source0-md5: 852325456ad4db531c96c30b09fdd36f
7bc5a12f 11URL: http://pcsclite.alioth.debian.org/ccid.html
0c897b04 12BuildRequires: libusb-devel >= 1.0.9
3da5d6dd 13BuildRequires: pcsc-lite-devel >= 1.8.3
cf1c6245 14BuildRequires: perl-base
33358eea 15BuildRequires: pkgconfig
a95a13b6 16BuildRequires: rpmbuild(macros) >= 1.583
0c897b04 17Requires: libusb >= 1.0.9
3da5d6dd 18Requires: pcsc-lite >= 1.8.3
25fcfc71
ER
19Provides: ccid = %{version}-%{release}
20Obsoletes: ccid < 1.4.0-3
7bc5a12f
JB
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
28bccec9
JB
23%define usbdropdir /usr/%{_lib}/pcsc/drivers
24%define ccidtwindir /usr/%{_lib}/pcsc/drivers
7bc5a12f 25
cf1c6245 26# pcscd provides log_msg and log_xxd functions
a95a13b6
ER
27%define skip_post_check_so libccid.so.1.4.0 libccidtwin.so.1.4.0
28
7bc5a12f
JB
29%description
30This package provides generic USB CCID (Chip/Smart Card Interface
b0f2b2a7
JB
31Devices) driver.
32
33Full lists of supported devices are available here:
d7e3ed31
ER
34<http://pcsclite.alioth.debian.org/supported.html>
35<http://pcsclite.alioth.debian.org/shouldwork.html>
7bc5a12f 36
943f428d
JR
37%description -l pl.UTF-8
38Ten pakiet zawiera ogólny sterownik USB CCID (Chip/Smart Card
b0f2b2a7
JB
39Interface Devices).
40
41Pełne listy obsługiwanych urządzeń są dostępne na WWW:
d7e3ed31
ER
42<http://pcsclite.alioth.debian.org/supported.html>
43<http://pcsclite.alioth.debian.org/shouldwork.html>
7bc5a12f 44
98b7d728
JB
45%package -n udev-pcsc-driver-ccid
46Summary: udev support for CCID PC/SC driver
47Summary(pl.UTF-8): Obsługa udev dla sterownika PC/SC CCID
48Group: Libraries
49Requires: %{name} = %{version}-%{release}
50Requires: udev-core
51
52%description -n udev-pcsc-driver-ccid
53udev support for CCID PC/SC driver.
54
55%description -n udev-pcsc-driver-ccid -l pl.UTF-8
56Obsługa udev dla sterownika PC/SC CCID.
57
7bc5a12f
JB
58%package serial
59Summary: Generic USB CCID driver for readers connected to serial port
6a13b9c3 60Summary(pl.UTF-8): Ogólny sterownik USB CCID dla czytników podłączonych przez port szeregowy
7bc5a12f 61Group: Libraries
3da5d6dd 62Requires: pcsc-lite >= 1.8.3
7bc5a12f
JB
63
64%description serial
65Generic USB CCID driver for readers connected to serial port.
b0f2b2a7
JB
66Supported CCID devices:
67- Gemplus/Gemalto GemPC Twin
68- Gemplus/Gemalto GemCore POS Pro
69- Gemplus/Gemalto GemCore SIM Pro
70- Gemalto GemPC PinPad
7bc5a12f 71
943f428d
JR
72%description serial -l pl.UTF-8
73Ogólny sterownik USB CCID dla czytników podłączonych przez port
b0f2b2a7
JB
74szeregowy. Obsługiwane urządzenia CCID:
75- Gemplus/Gemalto GemPC Twin
76- Gemplus/Gemalto GemCore POS Pro
77- Gemplus/Gemalto GemCore SIM Pro
78- Gemalto GemPC PinPad
7bc5a12f
JB
79
80%prep
81%setup -q -n ccid-%{version}
82
83%build
84%configure \
496a9298 85 --disable-silent-rules \
33358eea
JB
86 --enable-ccidtwindir=%{ccidtwindir} \
87 --enable-twinserial \
bea9ad94 88 --enable-usbdropdir=%{usbdropdir}
7bc5a12f
JB
89%{__make}
90
91%install
92rm -rf $RPM_BUILD_ROOT
d7e3ed31 93install -d $RPM_BUILD_ROOT/lib/udev/rules.d
7bc5a12f
JB
94
95%{__make} install \
96 DESTDIR=$RPM_BUILD_ROOT
97
98%{__make} -C src install_ccidtwin \
99 DESTDIR=$RPM_BUILD_ROOT
100
bea9ad94 101cp -p src/92_pcscd_ccid.rules $RPM_BUILD_ROOT/lib/udev/rules.d/70-pcscd_ccid.rules
34bfc48f 102
7bc5a12f
JB
103%clean
104rm -rf $RPM_BUILD_ROOT
105
106%files
107%defattr(644,root,root,755)
5b66c75d 108%doc AUTHORS ChangeLog README SCARDGETATTRIB.txt readers/supported_readers.txt
7bc5a12f
JB
109%dir %{usbdropdir}/ifd-ccid.bundle
110%dir %{usbdropdir}/ifd-ccid.bundle/Contents
111%{usbdropdir}/ifd-ccid.bundle/Contents/Info.plist
112%dir %{usbdropdir}/ifd-ccid.bundle/Contents/Linux
519c436c 113%attr(755,root,root) %{usbdropdir}/ifd-ccid.bundle/Contents/Linux/libccid.so*
98b7d728
JB
114
115%files -n udev-pcsc-driver-ccid
116%defattr(644,root,root,755)
d7e3ed31 117/lib/udev/rules.d/70-pcscd_ccid.rules
7bc5a12f
JB
118
119%files serial
120%defattr(644,root,root,755)
b0f2b2a7 121%doc AUTHORS ChangeLog README SCARDGETATTRIB.txt readers/supported_readers.txt
5b66c75d 122%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/reader.conf.d/libccidtwin
519c436c 123%attr(755,root,root) %{ccidtwindir}/libccidtwin.so*
This page took 0.099205 seconds and 4 git commands to generate.