]> git.pld-linux.org Git - packages/pcsc-lite.git/blob - pcsc-lite.spec
- cleanups and fixes, removed perl and tools (will be in separate packages)
[packages/pcsc-lite.git] / pcsc-lite.spec
1 Summary:        Muscle PCSC Framework for Linux
2 Summary(pl):    ¦rodowisko PCSC dla Linuksa
3 Name:           pcsc-lite
4 Version:        1.1.1
5 Release:        1
6 License:        BSD
7 Group:          Daemons
8 Source0:        http://linuxnet.com/middleware/file/%{name}-%{version}.tar.gz
9 URL:            http://www.linuxnet.com/middle.html
10 PreReq:         rc-scripts
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %description
14 pcscd is the daemon program for PC/SC Lite. It is a resource manager
15 that coorinates communications with Smart Card readers and Smart Cards
16 that are connected to the system. The purpose of PCSC Lite is to
17 provide a Windows(R) SCard interface in a very small form factor for
18 communicating to smartcards and readers. PCSC Lite uses the same
19 winscard api as used under Windows(R).
20
21 %description -l pl
22 pcscd jest demonem dla PC/SC Lite. Jest to zarz±dca zasobów,
23 koordynuj±cy komunikacjê z czytnikami Smart Card pod³±czonymi do
24 systemu. Celem PCSC Lite jest udostêpnienie interfejsu zgodnego z
25 Windows(R) SCard s³u¿±cego do komunikacji z czytnikami kart chipowych.
26 U¿ywa tego samego API winscard, które jest u¿ywane pod Microsoft[TM]
27 Windows(R).
28
29 %package libs
30 Summary:        PC/SC Lite libraries
31 Summary(pl):    Biblioteki PC/SC Lite
32 Group:          Libraries
33
34 %description libs
35 PC/SC Lite libraries.
36
37 %description libs -l pl
38 Biblioteki PC/SC Lite.
39
40 %package devel
41 Summary:        PC/SC Lite development files
42 Summary(pl):    Pliki dla programistów u¿ywaj±cych PC/SC Lite
43 Group:          Development/Tools
44 Requires:       %{name}-libs = %{version}
45
46 %description devel
47 PC/SC Lite development files.
48
49 %description devel -l pl
50 Pliki dla programistów u¿ywaj±cych PC/SC Lite.
51
52 %package static
53 Summary:        Static PC/SC Lite libraries
54 Summary(pl):    Biblioteki statyczne PC/SC Lite
55 Group:          Development/Tools
56 Requires:       %{name}-devel = %{version}
57
58 %description static
59 Static PC/SC Lite libraries.
60
61 %description static -l pl
62 Statyczne biblioteki PC/SC Lite.
63
64 %prep
65 %setup -q
66
67 %build
68 %configure2_13
69
70 %{__make}
71
72 %install
73 rm -rf $RPM_BUILD_ROOT
74 %{__make} install DESTDIR=$RPM_BUILD_ROOT
75
76 # should have "chkconfig 2345 21 81"
77 #install -m 755 etc/pcscd.startup /etc/rc.d/init.d/pcscd
78
79 %clean
80 rm -rf $RPM_BUILD_ROOT
81
82 %post   libs -p /sbin/ldconfig
83 %postun libs -p /sbin/ldconfig
84
85 %files
86 %defattr(644,root,root,755)
87 %doc AUTHORS COPYING DRIVERS NEWS HELP README SECURITY doc/{README.DAEMON,*.pdf,pcscd.startup}
88 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/reader.conf
89 %attr(755,root,root) %{_sbindir}/pcscd
90 %attr(755,root,root) %{_bindir}/bundleTool
91 %attr(755,root,root) %{_bindir}/formaticc
92 %attr(755,root,root) %{_bindir}/installifd
93 #%attr(754,root,root) /etc/rc.d/init.d/pcscd
94 %{_mandir}/man1/bundleTool.1*
95 %{_mandir}/man8/pcscd.8*
96
97 %files libs
98 %defattr(644,root,root,755)
99 %attr(755,root,root) %{_libdir}/lib*.so.*.*
100
101 %files devel
102 %defattr(644,root,root,755)
103 %attr(755,root,root) %{_libdir}/lib*.so
104 %{_libdir}/libpcsc*.la
105 %{_includedir}/*.h
106
107 %files static
108 %defattr(644,root,root,755)
109 %{_libdir}/lib*.a
This page took 0.074582 seconds and 3 git commands to generate.