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
13 URL: http://code.google.com/p/esteid/
14 BuildRequires: cmake >= 2.6
15 BuildRequires: libstdc++-devel
16 BuildRequires: pcsc-lite-devel
17 BuildRequires: rpmbuild(macros) >= 1.605
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 smartcardpp is a set of C++ classes to manage smart card
22 communications and implement basic command primitives.
24 %description -l pl.UTF-8
25 smartcardpp to zbiór klas C++ pozwalających na zarządzanie
26 komunikacją z kartami procesorowymi oraz implementujących podstawowe
30 Summary: Header files for smartcardpp library
31 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki smartcardpp
32 Group: Development/Libraries
33 Requires: %{name} = %{version}-%{release}
34 Requires: libstdc++-devel
35 Requires: pcsc-lite-devel
38 This package contains header files for developing applications that
39 use smartcardpp library.
41 %description devel -l pl.UTF-8
42 Ten pakiet zawiera pliki nagłówkowe do tworzenia aplikacji
43 wykorzystujących bibliotekę smartcardpp.
57 rm -rf $RPM_BUILD_ROOT
58 %{__make} -C build install \
59 DESTDIR=$RPM_BUILD_ROOT
62 rm -rf $RPM_BUILD_ROOT
64 %post -p /sbin/ldconfig
65 %postun -p /sbin/ldconfig
68 %defattr(644,root,root,755)
70 %attr(755,root,root) %{_bindir}/card-test
71 %attr(755,root,root) %{_libdir}/libsmartcardpp.so.*.*.*
72 %attr(755,root,root) %ghost %{_libdir}/libsmartcardpp.so.1
75 %defattr(644,root,root,755)
76 %attr(755,root,root) %{_libdir}/libsmartcardpp.so
77 %{_includedir}/smartcardpp
78 %{_pkgconfigdir}/smartcardpp.pc