]> git.pld-linux.org Git - packages/pcsc-driver-ccid.git/blob - pcsc-driver-ccid.spec
- updated download URL
[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:        0.4.1
5 Release:        1
6 License:        GPL
7 Group:          Libraries
8 #Source0Download: http://alioth.debian.org/project/showfiles.php?group_id=30105
9 Source0:        http://alioth.debian.org/download.php/501/ccid-%{version}.tar.gz
10 # Source0-md5:  dbe00b32b018a96e7eecb832cf6d1adf
11 URL:            http://pcsclite.alioth.debian.org/ccid.html
12 BuildRequires:  libusb-devel >= 0.1.7
13 BuildRequires:  pcsc-lite-devel
14 Requires:       pcsc-lite
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 - Gemplus: GemPC 433 SL, GemPC Key, GemPC Twin
24 - C3PO LTC31
25 - OmniKey CardMan 3121
26 - SCM Micro: SCR 331, SCR 335, SCR 331-DI, SPR 532
27 - ActivCard USB reader 2.0
28 - Silitek SK-3105 keyboard
29
30 %description -l pl
31 Ten pakiet zawiera ogólny sterownik USB CCID (Chip/Smart Card
32 Interface Devices). Obs³ugiwane czytniki CCID:
33 - Gemplus: GemPC 433 SL, GemPC Key, GemPC Twin
34 - C3PO LTC31
35 - OmniKey CardMan 3121
36 - SCM Micro: SCR 331, SCR 335, SCR 331-DI, SPR 532
37 - ActivCard USB reader 2.0
38 - klawiatura Silitek SK-3105
39
40 %package serial
41 Summary:        Generic USB CCID driver for readers connected to serial port
42 Summary(pl):    Ogólny sterownik USB CCID dla czytników pod³±czonych przez port szeregowy
43 Group:          Libraries
44 Requires:       pcsc-lite
45
46 %description serial
47 Generic USB CCID driver for readers connected to serial port.
48 Supported CCID readers:
49 - Gemplus GemPC Twin
50
51 %description serial -l pl
52 Ogólny sterownik USB CCID dla czytników pod³±czonych przez port
53 szeregowy. Obs³ugiwane czytniki CCID:
54 - Gemplus GemPC Twin
55
56 %prep
57 %setup -q -n ccid-%{version}
58
59 %build
60 %configure \
61         --enable-usbdropdir=%{usbdropdir} \
62         --enable-ccidtwindir=%{ccidtwindir}
63 %{__make}
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67
68 %{__make} install \
69         DESTDIR=$RPM_BUILD_ROOT
70
71 %{__make} -C src install_ccidtwin \
72         DESTDIR=$RPM_BUILD_ROOT
73
74 mv $RPM_BUILD_ROOT%{_sysconfdir}/reader.conf .
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %files
80 %defattr(644,root,root,755)
81 %doc AUTHORS ChangeLog README readers/*.txt
82 %dir %{usbdropdir}/ifd-ccid.bundle
83 %dir %{usbdropdir}/ifd-ccid.bundle/Contents
84 %{usbdropdir}/ifd-ccid.bundle/Contents/Info.plist
85 %dir %{usbdropdir}/ifd-ccid.bundle/Contents/Linux
86 %attr(755,root,root) %{usbdropdir}/ifd-ccid.bundle/Contents/Linux/libccid.so.*.*.*
87
88 %files serial
89 %defattr(644,root,root,755)
90 %doc AUTHORS ChangeLog README readers/GemPCTwin.txt readers/supported_readers.txt reader.conf
91 %attr(755,root,root) %{ccidtwindir}/libccidtwin.so.*
This page took 0.044661 seconds and 4 git commands to generate.