Name: capi-network-connection Summary: Network Connection library in TIZEN C API Version: 1.0.111 Release: 1 Group: System/Network License: Apache-2.0 Source0: %{name}-%{version}.tar.gz BuildRequires: cmake BuildRequires: pkgconfig(dlog) BuildRequires: pkgconfig(vconf) BuildRequires: pkgconfig(network) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(capi-base-common) BuildRequires: pkgconfig(capi-system-info) Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig %description Network Connection library in Tizen C API %package devel Summary: Network Connection library in Tizen C API (Development) Group: System/Network Requires: %{name} = %{version}-%{release} %description devel Network Connection library in Tizen C API (Development) %prep %setup -q %build export CFLAGS+=' -Wno-unused-local-typedefs' MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'` cmake -DCMAKE_INSTALL_PREFIX=/usr -DFULLVER=%{version} -DMAJORVER=${MAJORVER} \ -DLIB_PATH=%{_lib} \ %if 0%{?model_build_feature_network_dsds} == 1 -DTIZEN_DUALSIM_ENABLE=1 \ %endif . make %{?_smp_mflags} %install %make_install %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %manifest capi-network-connection.manifest %attr(644,-,-) %{_libdir}/libcapi-network-connection.so.* %license LICENSE %{_bindir}/connection_test %files devel %{_includedir}/network/*.h %{_libdir}/pkgconfig/*.pc %{_libdir}/libcapi-network-connection.so