%define _ux_define tizen2.3
Name: download-provider
Summary: Download the contents in background
-Version: 2.1.75
+Version: 2.1.76
Release: 0
Group: Development/Libraries
License: Apache-2.0
%define _database_client_dir %{_databasedir}/clients
%define _notifydir %{_data_install_path}/notify
%define _ipc_socket /tmp/.download-provider.sock
-%define _licensedir /usr/share/license
%define _logdump_script_dir %{TZ_SYS_ETC}/dump.d/module.d
%define _http_lib libcurl
%define upgrade_script_path /usr/share/upgrade/scripts
-DDATABASE_CLIENT_DIR:PATH=%{_database_client_dir} \\\
-DIMAGE_DIR:PATH=%{_imagedir} \\\
-DLOCALE_DIR:PATH=%{_localedir} \\\
- -DLICENSE_DIR:PATH=%{_licensedir} \\\
-DSUPPORT_WIFI_DIRECT:BOOL=OFF \\\
%if "%{?download_booster}" == "ON" \
-DSUPPORT_DOWNLOAD_BOOSTER:BOOL=ON \\\
mv %{buildroot}/usr/share/download-provider/download-provider.res %{buildroot}/etc/vasum/vsmzone.resource/
#%endif
-mkdir -p %{buildroot}%{_licensedir}
mkdir -p %{buildroot}/lib/systemd/system/graphical.target.wants
mkdir -p %{buildroot}/lib/systemd/system/sockets.target.wants
ln -s ../download-provider.service %{buildroot}/lib/systemd/system/graphical.target.wants/
%{_libdir}/libdownload-provider-interface.so.%{version}
%{_libdir}/libdownload-provider-interface.so.0
%{_bindir}/%{name}
-%{_licensedir}/%{name}
%attr(0544,root,root) %{_logdump_script_dir}/dump-%{name}.sh
#%if 0%{?sec_product_feature_container_enable}
%attr(0644,root,root) /etc/vasum/vsmzone.resource/download-provider.res
%if ("%{VD_PRODUCT_TYPE}" == "AUDIO") || ("%{VD_PRODUCT_TYPE}" == "TV") || ("%{VD_PRODUCT_TYPE}" == "LFD") || ("%{VD_PRODUCT_TYPE}" == "HTV") || ("%{VD_PRODUCT_TYPE}" == "AV")
/etc/notstrip/download-provider.notstrip
%endif
+%license LICENSE.APLv2
%files devel
%defattr(-,root,root,-)