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 %if "%{TIZEN_PROFILE_TV}" == "1"
38 export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE -DTIZEN_TV_EXT"
39 export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE -DTIZEN_TV_EXT"
40 export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE -DTIZEN_TV_EXT"
42 export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE"
43 export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE"
44 export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE"
55 %post -p /sbin/ldconfig
57 %postun -p /sbin/ldconfig
60 %manifest capi-network-tethering.manifest
61 %defattr(-,root,root,-)
63 %{_bindir}/tethering_test
67 %defattr(-,root,root,-)
68 %{_includedir}/network/*.h
69 %{_libdir}/pkgconfig/*.pc