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