1 Name: capi-network-connection
2 Summary: Network Connection library in TIZEN C API
6 License: Apache License Version 2.0
7 Source0: %{name}-%{version}.tar.gz
9 BuildRequires: pkgconfig(dlog)
10 BuildRequires: pkgconfig(glib-2.0)
11 BuildRequires: pkgconfig(vconf)
12 BuildRequires: pkgconfig(capi-base-common)
13 BuildRequires: pkgconfig(network)
16 Network Connection library in Tizen C API
19 Summary: Network Connection library in Tizen C API (Development)
21 Requires: %{name} = %{version}-%{release}
24 Network Connection library in Tizen C API (Development)
31 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
32 %cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
41 mkdir -p %{buildroot}%{_datadir}/license
42 cp LICENSE.APLv2 %{buildroot}%{_datadir}/license/capi-network-connection
44 %post -p /sbin/ldconfig
46 %postun -p /sbin/ldconfig
50 %manifest capi-network-connection.manifest
51 %attr(644,-,-) %{_libdir}/libcapi-network-connection.so.*
52 %{_datadir}/license/capi-network-connection
55 %{_includedir}/network/*.h
56 %{_libdir}/pkgconfig/*.pc
57 %{_libdir}/libcapi-network-connection.so