1 Name: capi-network-connection
2 Summary: Network Connection library in TIZEN C API
7 Source0: %{name}-%{version}.tar.gz
9 BuildRequires: pkgconfig(dlog)
10 BuildRequires: pkgconfig(vconf)
11 BuildRequires: pkgconfig(network)
12 BuildRequires: pkgconfig(glib-2.0)
13 BuildRequires: pkgconfig(capi-base-common)
14 BuildRequires: pkgconfig(capi-system-info)
15 Requires(post): /sbin/ldconfig
16 Requires(postun): /sbin/ldconfig
19 Network Connection library in Tizen C API
22 Summary: Network Connection library in Tizen C API (Development)
24 Requires: %{name} = %{version}-%{release}
27 Network Connection library in Tizen C API (Development)
34 export CFLAGS+=' -Wno-unused-local-typedefs -fprofile-arcs -ftest-coverage'
35 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
36 cmake -DCMAKE_INSTALL_PREFIX=/usr -DFULLVER=%{version} -DMAJORVER=${MAJORVER} \
38 %if 0%{?model_build_feature_network_dsds} == 1
39 -DTIZEN_DUALSIM_ENABLE=1 \
41 %if "%{profile}" == "wearable"
44 %if "%{profile}" == "mobile"
47 %if "%{profile}" == "tv"
61 mkdir -p %{buildroot}%{_datadir}/license
62 cp LICENSE %{buildroot}%{_datadir}/license/capi-network-connection
64 %post -p /sbin/ldconfig
66 %postun -p /sbin/ldconfig
70 %manifest capi-network-connection.manifest
71 %attr(644,-,-) %{_libdir}/libcapi-network-connection.so.*
72 %{_datadir}/license/capi-network-connection
73 %{_bindir}/connection_test
76 %{_includedir}/network/*.h
77 %{_libdir}/pkgconfig/*.pc
78 %{_libdir}/libcapi-network-connection.so