1 Name: capi-network-smartcard
2 Summary: A Smartcard library in Native API
5 Group: Network & Connectivity/Smartcard
7 Source0: %{name}-%{version}.tar.gz
9 BuildRequires: pkgconfig(dlog)
10 BuildRequires: pkgconfig(glib-2.0)
11 BuildRequires: pkgconfig(gobject-2.0)
12 BuildRequires: pkgconfig(smartcard-service-common)
13 BuildRequires: pkgconfig(capi-base-common)
14 BuildRequires: pkgconfig(capi-system-info)
16 Requires(post): /sbin/ldconfig
17 Requires(postun): /sbin/ldconfig
22 Summary: A Smartcard library in Native API (Development)
23 Group: Network & Connectivity/Development
24 Requires: %{name} = %{version}-%{release}
33 export LDFLAGS+=" -lgcov"
36 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
38 cmake . -DCMAKE_INSTALL_PREFIX=/usr -DFULLVER=%{version} \
39 -DMAJORVER=${MAJORVER} -DCMAKE_LIB_DIR=%{_libdir} -DBUILD_GCOV=%{?gcov:1}%{!?gcov:0} \
41 -DTIZEN_SMARTCARD_SUPPORT=1
52 %post -p /sbin/ldconfig
54 %postun -p /sbin/ldconfig
58 %manifest capi-network-smartcard.manifest
59 %license LICENSE.APLv2
60 %{_libdir}/libcapi-network-smartcard.so*
64 %{_libdir}/pkgconfig/*.pc
65 %{_libdir}/libcapi-network-smartcard.so
66 %{_bindir}/smartcard_unit_test