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