1 Name: capi-network-tethering
2 Summary: Tethering Framework
7 Source0: %{name}-%{version}.tar.gz
8 BuildRequires: pkgconfig(dlog)
9 BuildRequires: pkgconfig(dbus-1)
10 BuildRequires: pkgconfig(capi-base-common)
11 BuildRequires: pkgconfig(glib-2.0)
12 BuildRequires: pkgconfig(gio-2.0)
13 BuildRequires: pkgconfig(vconf)
14 BuildRequires: pkgconfig(key-manager)
15 BuildRequires: pkgconfig(libssl)
16 BuildRequires: pkgconfig(capi-system-info)
17 BuildRequires: pkgconfig(libtzplatform-config)
19 Requires(post): /sbin/ldconfig
20 Requires(postun): /sbin/ldconfig
23 Tethering framework library for CAPI
26 Summary: Development package for Tethering framework library
27 Group: Development/Libraries
28 Requires: %{name} = %{version}-%{release}
30 Development package for Tethering framework library
37 export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE"
38 export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE"
39 export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE"
41 %cmake -DCMAKE_BUILD_TYPE="Private" \
42 %if "%{?profile}" == "wearable"
45 %if "%{?profile}" == "mobile"
50 -DCMAKE_BUILD_TYPE="Private" -DARCH=arm \
53 -DCMAKE_BUILD_TYPE="Private" -DARCH=emul \
55 -DCMAKE_BUILD_TYPE="Private" -DARCH=i586 \
66 mkdir -p %{buildroot}/usr/share/license
67 cp LICENSE.APLv2.0 %{buildroot}/usr/share/license/capi-network-tethering
68 cp LICENSE.APLv2.0 %{buildroot}/usr/share/license/capi-network-tethering-devel
70 %post -p /sbin/ldconfig
72 %postun -p /sbin/ldconfig
75 %manifest capi-network-tethering.manifest
76 %defattr(-,root,root,-)
78 /usr/share/license/capi-network-tethering
79 %{_bindir}/tethering_test
81 /etc/config/connectivity/sysinfo-tethering.xml
86 /etc/config/connectivity/sysinfo-tethering.xml
91 %defattr(-,root,root,-)
92 %{_includedir}/network/*.h
93 %{_libdir}/pkgconfig/*.pc
95 /usr/share/license/capi-network-tethering-devel