1 Summary: Library for accessing smart cards
2 Summary(pl.UTF-8): Biblioteka do dostępu do kart procesorowych
8 #Source0Download: http://code.google.com/p/esteid/downloads/list
9 Source0: http://esteid.googlecode.com/files/%{name}-%{version}.tar.bz2
10 # Source0-md5: c6172387475982393d02314f389f3513
11 URL: http://code.google.com/p/esteid/
12 BuildRequires: cmake >= 2.6
13 BuildRequires: libstdc++-devel
14 BuildRequires: pcsc-lite-devel
15 BuildRequires: rpmbuild(macros) >= 1.605
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 smartcardpp is a set of C++ classes to manage smart card
20 communications and implement basic command primitives.
22 %description -l pl.UTF-8
23 smartcardpp to zbiór klas C++ pozwalających na zarządzanie
24 komunikacją z kartami procesorowymi oraz implementujących podstawowe
28 Summary: Header files for smartcardpp library
29 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki smartcardpp
30 Group: Development/Libraries
31 Requires: %{name} = %{version}-%{release}
32 Requires: libstdc++-devel
33 Requires: pcsc-lite-devel
36 This package contains header files for developing applications that
37 use smartcardpp library.
39 %description devel -l pl.UTF-8
40 Ten pakiet zawiera pliki nagłówkowe do tworzenia aplikacji
41 wykorzystujących bibliotekę smartcardpp.
53 rm -rf $RPM_BUILD_ROOT
54 %{__make} -C build install \
55 DESTDIR=$RPM_BUILD_ROOT
58 rm -rf $RPM_BUILD_ROOT
60 %post -p /sbin/ldconfig
61 %postun -p /sbin/ldconfig
64 %defattr(644,root,root,755)
66 %attr(755,root,root) %{_bindir}/card-test
67 %attr(755,root,root) %{_libdir}/libsmartcardpp.so.*.*.*
68 %attr(755,root,root) %ghost %{_libdir}/libsmartcardpp.so.1
71 %defattr(644,root,root,755)
72 %attr(755,root,root) %{_libdir}/libsmartcardpp.so
73 %{_includedir}/smartcardpp
74 %{_pkgconfigdir}/smartcardpp.pc