X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=packaging%2Fcapi-network-tethering.spec;h=fde2a898360b72c8fef9750d5ab4a9c025c64bc8;hb=74b861d1f7fa84ae22933d8a179b02a26191b7d8;hp=dca320156789f455264ef1a671f93c554196fe3b;hpb=79bde0e10c02581ef37c325a3490250e23e9efd9;p=platform%2Fcore%2Fapi%2Ftethering.git diff --git a/packaging/capi-network-tethering.spec b/packaging/capi-network-tethering.spec index dca3201..fde2a89 100644 --- a/packaging/capi-network-tethering.spec +++ b/packaging/capi-network-tethering.spec @@ -1,6 +1,6 @@ Name: capi-network-tethering Summary: Tethering Framework -Version: 1.0.38 +Version: 1.0.49 Release: 1 Group: System/Network License: Apache-2.0 @@ -34,28 +34,17 @@ Development package for Tethering framework library %build +%if "%{TIZEN_PROFILE_TV}" == "1" +export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE -DTIZEN_TV_EXT" +export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE -DTIZEN_TV_EXT" +export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE -DTIZEN_TV_EXT" +%else export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE" export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE" export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE" - -%cmake -DCMAKE_BUILD_TYPE="Private" \ -%if "%{?profile}" == "wearable" - -DTIZEN_WEARABLE=1 \ -%else -%if "%{?profile}" == "mobile" - -DTIZEN_MOBILE=1 \ -%endif -%endif -%ifarch %{arm} - -DCMAKE_BUILD_TYPE="Private" -DARCH=arm \ -%else -%if 0%{?simulator} - -DCMAKE_BUILD_TYPE="Private" -DARCH=emul \ -%else - -DCMAKE_BUILD_TYPE="Private" -DARCH=i586 \ %endif -%endif - . + +%cmake . make %{?_smp_mflags} @@ -63,10 +52,6 @@ make %{?_smp_mflags} %install %make_install -mkdir -p %{buildroot}/usr/share/license -cp LICENSE.APLv2.0 %{buildroot}/usr/share/license/capi-network-tethering -cp LICENSE.APLv2.0 %{buildroot}/usr/share/license/capi-network-tethering-devel - %post -p /sbin/ldconfig %postun -p /sbin/ldconfig @@ -75,21 +60,12 @@ cp LICENSE.APLv2.0 %{buildroot}/usr/share/license/capi-network-tethering-devel %manifest capi-network-tethering.manifest %defattr(-,root,root,-) %{_libdir}/*.so.* -/usr/share/license/capi-network-tethering %{_bindir}/tethering_test -%ifarch %{arm} -/etc/config/connectivity/sysinfo-tethering.xml -%else -%if 0%{?simulator} -# Noop -%else -/etc/config/connectivity/sysinfo-tethering.xml -%endif -%endif +%license LICENSE %files devel %defattr(-,root,root,-) %{_includedir}/network/*.h %{_libdir}/pkgconfig/*.pc %{_libdir}/*.so -/usr/share/license/capi-network-tethering-devel +%license LICENSE