X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=packaging%2Fcapi-network-tethering.spec;h=b87acb7fc041d3b09a88326d73a08abac05580c5;hb=49df6ed4bf40cb88517240e6adcdb999cb87afaf;hp=3fb20047d30722d861edbf21f3b5b67bb5161911;hpb=ee3dc7a8c02ecec87ba66cf7cc693e1e288f6f66;p=platform%2Fcore%2Fapi%2Ftethering.git diff --git a/packaging/capi-network-tethering.spec b/packaging/capi-network-tethering.spec index 3fb2004..b87acb7 100644 --- a/packaging/capi-network-tethering.spec +++ b/packaging/capi-network-tethering.spec @@ -1,42 +1,53 @@ -Name: capi-network-tethering -Summary: Tethering Framework -Version: 0.0.15 -Release: 1 -Group: Connectivity/API -License: Apache-2.0 -Source0: %{name}-%{version}.tar.gz - -BuildRequires: pkgconfig(dlog) -BuildRequires: pkgconfig(dbus-glib-1) -BuildRequires: pkgconfig(capi-base-common) -BuildRequires: pkgconfig(glib-2.0) -BuildRequires: pkgconfig(vconf) -BuildRequires: cmake +Name: capi-network-tethering +Summary: Tethering Framework +Version: 1.0.56 +Release: 1 +Group: System/Network +License: Apache-2.0 +Source0: %{name}-%{version}.tar.gz +BuildRequires: pkgconfig(dlog) +BuildRequires: pkgconfig(dbus-1) +BuildRequires: pkgconfig(capi-base-common) +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(gio-2.0) +BuildRequires: pkgconfig(vconf) +BuildRequires: pkgconfig(key-manager) +BuildRequires: pkgconfig(libssl) +BuildRequires: pkgconfig(capi-system-info) +BuildRequires: pkgconfig(libtzplatform-config) +BuildRequires: cmake +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig %description Tethering framework library for CAPI %package devel Summary: Development package for Tethering framework library -Group: Connectivity/Development +Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel Development package for Tethering framework library +%package tool +Summary: Test application for Tethering +%description tool +Test application for Tethering + + %prep %setup -q + %build -%ifarch %{arm} -%cmake . -DARCH=arm -%else -%if 0%{?simulator} -%cmake . -DARCH=emul -%else -%cmake . -DARCH=i586 -%endif -%endif -make %{?jobs:-j%jobs} +export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE" +export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE" +export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE" + +%cmake . + +make %{?_smp_mflags} + %install %make_install @@ -49,19 +60,14 @@ make %{?jobs:-j%jobs} %manifest capi-network-tethering.manifest %defattr(-,root,root,-) %{_libdir}/*.so.* -%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 +%license LICENSE +%files tool +%{_bindir}/tethering_test