%define _ux_define tizen2.3
Name: download-provider
Summary: Download the contents in background
-Version: 2.1.60
+Version: 2.1.61
Release: 0
Group: Development/Libraries
License: Apache-2.0
%prep
%setup -q
-%define _data_install_path %{TZ_SYS_DATA}/%{name}
+%define _data_install_path %{TZ_SYS_GLOBALUSER_DATA}/%{name}
%define _resource_install_path /usr/share/%{name}
-%define _imagedir %{_resource_install_path}/images
+%define _imagedir %{_resource_install_path}/images
%define _localedir %{_resource_install_path}/locales
%define _databasedir %{_data_install_path}/database
%define _database_client_dir %{_databasedir}/clients
export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE"
export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE"
export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE"
-%cmake . -DTZ_SYS_DATA=%TZ_SYS_DATA
+%cmake . -DTZ_SYS_GLOBALUSER_DATA=%TZ_SYS_GLOBALUSER_DATA
make %{?jobs:-j%jobs}
%post
#make notify dir in post section for smack
-mkdir %{TZ_SYS_DATA}/download-provider
+mkdir %{TZ_SYS_GLOBALUSER_DATA}/download-provider
mkdir -p %{_notifydir}
chown -R web_fw:web_fw %{_notifydir}
chsmack -a 'System::Shared' %{_notifydir}