]> git.pld-linux.org Git - packages/smartcardpp.git/blob - smartcardpp.spec
a7356355282af5f54f17841b85f1240197a8301c
[packages/smartcardpp.git] / smartcardpp.spec
1 Summary:        Library for accessing smart cards
2 Summary(pl.UTF-8):      Biblioteka do dostępu do kart procesorowych
3 Name:           smartcardpp
4 Version:        0.3.0
5 Release:        1
6 License:        BSD
7 Group:          Libraries
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)
17
18 %description
19 smartcardpp is a set of C++ classes to manage smart card
20 communications and implement basic command primitives.
21
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
25 polecenia.
26
27 %package devel
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
34
35 %description devel
36 This package contains header files for developing applications that
37 use smartcardpp library.
38
39 %description devel -l pl.UTF-8
40 Ten pakiet zawiera pliki nagłówkowe do tworzenia aplikacji
41 wykorzystujących bibliotekę smartcardpp.
42
43 %prep
44 %setup -q
45
46 %build
47 install -d build
48 cd build
49 %cmake ..
50 %{__make}
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54 %{__make} -C build install \
55         DESTDIR=$RPM_BUILD_ROOT
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %post   -p /sbin/ldconfig
61 %postun -p /sbin/ldconfig
62
63 %files
64 %defattr(644,root,root,755)
65 %doc COPYING NEWS
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
69
70 %files devel
71 %defattr(644,root,root,755)
72 %attr(755,root,root) %{_libdir}/libsmartcardpp.so
73 %{_includedir}/smartcardpp
74 %{_pkgconfigdir}/smartcardpp.pc
This page took 0.037325 seconds and 2 git commands to generate.