remove sys-assert dependency 44/55844/1 accepted/tizen/ivi/20160218.024446 accepted/tizen/mobile/20151231.073141 accepted/tizen/tv/20151231.073159 accepted/tizen/wearable/20151231.073214 submit/tizen/20151231.023411 submit/tizen_common/20160218.142243 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000004
authormin7.choi <min7.choi@samsung.com>
Wed, 30 Dec 2015 01:33:41 +0000 (10:33 +0900)
committermin7.choi <min7.choi@samsung.com>
Wed, 30 Dec 2015 01:33:41 +0000 (10:33 +0900)
Change-Id: Ib3e068c86405b574a01e22b2c0a628dcd09667cb
Signed-off-by: min7.choi <min7.choi@samsung.com>
download-provider-w.manifest~ [deleted file]
download-provider.manifest~ [deleted file]
packaging/download-provider.spec
packaging/download-provider.spec~ [deleted file]

diff --git a/download-provider-w.manifest~ b/download-provider-w.manifest~
deleted file mode 100644 (file)
index 2f8cba8..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<manifest>
-       <define>
-               <domain name="download-provider" />
-               <provide>
-                       <label name="download-provider::db" />
-               </provide>
-               <request>
-                       <smack request="download-provider::db" type="rw" />
-                       <smack request="system::use_internet" type="w" />
-                       <smack request="sys-assert::core" type="rwxat" />
-                       <smack request="device::sys_logging" type="w" />
-                       <smack request="system::media" type="arwxt" />
-                       <smack request="system::ext_media" type="arwxt" />
-                       <smack request="connman" type="rw" />
-                       <smack request="net-config" type="rw" />
-                       <smack request="wifi-direct::info" type="r" />
-                       <smack request="connman::get" type="rw" />
-                       <smack request="telephony_framework::api_ps_public" type="rw" />
-               </request>
-               <permit>
-                       <smack permit="system::use_internet" type="w" />
-               </permit>
-       </define>
-       <request>
-               <domain name="download-provider" />
-       </request>
-       <assign>
-               <filesystem path="/usr/lib/libdownload-provider-interface.so*" label="_" exec_label="none" />
-               <filesystem path="/usr/lib/libdownloadagent2.so*" label="_" exec_label="none" />
-               <filesystem path="/usr/lib/systemd/system/download-provider.service" label="_" exec_label="none" />
-               <filesystem path="/usr/lib/systemd/system/graphical.target.wants/download-provider.service" label="_" exec_label="none" />
-               <filesystem path="/usr/lib/systemd/system/download-provider.socket" label="_" exec_label="none" />
-               <filesystem path="/usr/lib/systemd/system/sockets.target.wants/download-provider.socket" label="_" exec_label="none" />
-               <filesystem path="/opt/etc/dump.d/module.d/dump-download-provider.sh" label="_" exec_label="none" />
-               <filesystem path="/usr/share/download-provider/download-provider.res" label="_" />
-       </assign>
-</manifest>
diff --git a/download-provider.manifest~ b/download-provider.manifest~
deleted file mode 100644 (file)
index 2261820..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<manifest>
-       <define>
-               <domain name="download-provider" />
-               <provide>
-                       <label name="download-provider::db" />
-               </provide>
-               <request>
-                       <smack request="download-provider::db" type="rw" />
-                       <smack request="system::use_internet" type="w" />
-                       <smack request="sys-assert::core" type="rwxat" />
-                       <smack request="device::sys_logging" type="w" />
-                       <smack request="system::ext_storage" type="arwxt" />
-                       <smack request="system::ext_media" type="arwxt" />
-                       <smack request="system::media" type="rwxat" />
-                       <smack request="system::media::root" type="rwxat" />
-                       <smack request="connman" type="rw" />
-                       <smack request="net-config" type="rw" />
-                       <smack request="wifi-direct::info" type="r" />
-                       <smack request="connman::get" type="rw" />
-                       <smack request="telephony_framework::api_ps_public" type="rw" />
-               </request>
-               <permit>
-                       <smack permit="system::use_internet" type="w" />
-               </permit>
-       </define>
-       <request>
-               <domain name="download-provider" />
-       </request>
-       <assign>
-               <filesystem path="/usr/share/download-provider*" label="_" />
-               <filesystem path="/usr/lib/libdownload-provider-interface.so*" label="_" exec_label="none" />
-               <filesystem path="/usr/lib/libdownloadagent2.so*" label="_" exec_label="none" />
-               <filesystem path="/usr/lib/systemd/system/download-provider.service" label="_" exec_label="none" />
-               <filesystem path="/usr/lib/systemd/system/graphical.target.wants/download-provider.service" label="_" exec_label="none" />
-               <filesystem path="/usr/lib/systemd/system/download-provider.socket" label="_" exec_label="none" />
-               <filesystem path="/usr/lib/systemd/system/sockets.target.wants/download-provider.socket" label="_" exec_label="none" />
-               <filesystem path="/opt/etc/dump.d/module.d/dump-download-provider.sh" label="_" exec_label="none" />
-               <filesystem path="/usr/share/download-provider/download-provider.res" label="_" />
-       </assign>
-</manifest>
index b27d8b2..a571a68 100755 (executable)
@@ -6,7 +6,6 @@ Release:    0
 Group:      Development/Libraries
 License:    Apache License, Version 2.0
 Source0:    %{name}-%{version}.tar.gz
-Requires(post): sys-assert
 Requires(post): libdevice-node
 Requires(post): sqlite
 Requires(post): connman
diff --git a/packaging/download-provider.spec~ b/packaging/download-provider.spec~
deleted file mode 100644 (file)
index ac0ab57..0000000
+++ /dev/null
@@ -1,219 +0,0 @@
-%define _ux_define tizen2.3
-Name:       download-provider
-Summary:    Download the contents in background
-Version:    2.1.23
-Release:    0
-Group:      Development/Libraries
-License:    Apache License, Version 2.0
-Source0:    %{name}-%{version}.tar.gz
-Requires(post): sys-assert
-Requires(post): libdevice-node
-Requires(post): sqlite
-Requires(post): connman
-BuildRequires:  cmake
-BuildRequires:  pkgconfig(dlog)
-BuildRequires:  pkgconfig(gobject-2.0)
-BuildRequires:  pkgconfig(xdgmime)
-BuildRequires:  pkgconfig(vconf)
-BuildRequires:  pkgconfig(sqlite3)
-BuildRequires:  pkgconfig(bundle)
-BuildRequires:  pkgconfig(capi-base-common)
-BuildRequires:  pkgconfig(capi-appfw-app-manager)
-BuildRequires:  pkgconfig(capi-appfw-application)
-BuildRequires:  pkgconfig(capi-network-connection)
-BuildRequires:  pkgconfig(appsvc)
-BuildRequires:  pkgconfig(libcurl)
-BuildRequires:  pkgconfig(capi-content-mime-type)
-BuildRequires:  pkgconfig(libsmack)
-BuildRequires:  gettext-devel
-BuildRequires:  pkgconfig(libsystemd-daemon)
-BuildRequires:  pkgconfig(capi-network-wifi-direct)
-BuildRequires:  pkgconfig(libresourced)
-BuildRequires:  model-build-features 
-BuildRequires:  pkgconfig(storage)
-%if "%{?tizen_profile_name}" == "wearable"
-BuildRequires:  pkgconfig(security-server)
-%else if "%{?tizen_profile_name}" == "mobile"
-BuildRequires:  pkgconfig(notification)
-%endif
-
-%description
-Description: Download the contents in background
-
-%package devel
-Summary:    download-provider
-Group:      Development/Libraries
-Requires:   %{name} = %{version}-%{release}
-
-%description devel
-Description: Download the contents in background (development files)
-
-%prep
-%setup -q
-
-%define _data_install_path /opt/usr/data/%{name}
-%define _resource_install_path /usr/share/%{name}
-%define _imagedir %{_resource_install_path}/images 
-%define _localedir %{_resource_install_path}/locales
-%define _databasedir %{_data_install_path}/database
-%define _database_client_dir %{_databasedir}/clients
-%define _notifydir %{_data_install_path}/notify
-%define _ipc_socket /opt/data/%{name}/%{name}.sock
-%define _licensedir /usr/share/license
-%define _logdump_script_dir /opt/etc/dump.d/module.d
-%define _http_lib libcurl
-
-%define download_booster OFF
-%define sys_resource OFF
-%define support_oma_drm OFF
-%define wifi_direct ON
-%define support_security_privilege OFF
-%define support_companion_mode OFF
-%define support_notification ON
-%define support_knox ON
-%define _manifest_name %{name}.manifest
-
-%if 0%{?model_build_feature_wlan_p2p_disable }
-%define wifi_direct OFF
-%endif
-%if "%{?tizen_profile_name}" == "wearable"
-%define download_booster OFF
-%define support_notification OFF
-%define _manifest_name %{name}-w.manifest
-%endif
-%if 0%{?sec_product_feature_container_enable}
-%define support_knox ON
-%endif
-
-%define cmake \
-       CFLAGS="${CFLAGS:-%optflags} -fPIC -D_REENTRANT -fvisibility=hidden"; export CFLAGS \
-       FFLAGS="${FFLAGS:-%optflags} -fPIC -fvisibility=hidden"; export FFLAGS \
-       LDFLAGS+=" -Wl,--as-needed -Wl,--hash-style=both"; export LDFLAGS \
-       %__cmake \\\
-               -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \\\
-               -DBIN_INSTALL_DIR:PATH=%{_bindir} \\\
-               -DLIB_INSTALL_DIR:PATH=%{_libdir} \\\
-               -DINCLUDE_INSTALL_DIR:PATH=%{_includedir} \\\
-               -DPKG_NAME=%{name} \\\
-               -DPKG_VERSION=%{version} \\\
-               -DPKG_RELEASE=%{release} \\\
-               -DIPC_SOCKET:PATH=%{_ipc_socket} \\\
-               -DPROVIDER_DIR:PATH=%{_data_install_path} \\\
-               -DNOTIFY_DIR:PATH=%{_notifydir} \\\
-               -DDATABASE_DIR:PATH=%{_databasedir} \\\
-               -DDATABASE_CLIENT_DIR:PATH=%{_database_client_dir} \\\
-               -DIMAGE_DIR:PATH=%{_imagedir} \\\
-               -DLOCALE_DIR:PATH=%{_localedir} \\\
-               -DLICENSE_DIR:PATH=%{_licensedir} \\\
-               %if "%{?wifi_direct}" == "ON" \
-               -DSUPPORT_WIFI_DIRECT:BOOL=ON \\\
-               %else \
-               -DSUPPORT_WIFI_DIRECT:BOOL=OFF \\\
-               %endif \
-               %if "%{?sys_resource}" == "ON" \
-               -DSUPPORT_SYS_RESOURCE:BOOL=ON \\\
-               %else \
-               -DSUPPORT_SYS_RESOURCE:BOOL=OFF \\\
-               %endif \
-               %if "%{?download_booster}" == "ON" \
-               -DSUPPORT_DOWNLOAD_BOOSTER:BOOL=ON \\\
-               %else \
-               -DSUPPORT_DOWNLOAD_BOOSTER:BOOL=OFF \\\
-               %endif \
-               %if "%{?support_notification}" == "ON" \
-               -DSUPPORT_NOTIFICATION:BOOL=ON \\\
-               %else \
-               -DSUPPORT_NOTIFICATION:BOOL=OFF \\\
-               %endif \
-               -DSUPPORT_LOG_MESSAGE:BOOL=ON \\\
-               %if "%{?support_oma_drm}" == "ON" \
-               -DSUPPORT_OMA_DRM:BOOL=ON \\\
-               %else \
-               -DSUPPORT_OMA_DRM:BOOL=OFF \\\
-               %endif \
-               %if "%{?support_security_privilege}" == "ON" \
-               -DSUPPORT_SECURITY_PRIVILEGE:BOOL=ON \\\
-               %else \
-               -DSUPPORT_SECURITY_PRIVILEGE:BOOL=OFF \\\
-               %endif \
-               %if "%{?support_companion_mode}" == "ON" \
-               -DSUPPORT_COMPANION_MODE:BOOL=ON \\\
-               %else \
-               -DSUPPORT_COMPANION_MODE:BOOL=OFF \\\
-               %endif \
-               %if "%{?support_knox}" == "ON" \
-               -DSUPPORT_KNOX:BOOL=ON \\\
-               %else \
-               -DSUPPORT_KNOX:BOOL=OFF \\\
-               %endif \
-               %if "%{?_ux_define}" == "tizen2.3" \
-               -DTIZEN_2_3_UX:BOOL=ON \\\
-               %endif \
-               -DCMAKE_LOG_DUMP_SCRIPT_DIR=%{_logdump_script_dir} \\\
-               -DHTTP_LIB=%{_http_lib} \\\
-               %if "%{?_lib}" == "lib64" \
-               %{?_cmake_lib_suffix64} \\\
-               %endif \
-               %{?_cmake_skip_rpath} \\\
-               -DBUILD_SHARED_LIBS:BOOL=ON
-
-%build
-export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE"
-export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE"
-export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE"
-%cmake .
-make %{?jobs:-j%jobs}
-
-%install
-rm -rf %{buildroot}
-%make_install
-
-%if 0%{?sec_product_feature_container_enable}
-mkdir -p %{buildroot}/etc/vasum/vsmzone.resource/
-mv %{buildroot}/usr/share/download-provider/download-provider.res %{buildroot}/etc/vasum/vsmzone.resource/
-%endif
-
-mkdir -p %{buildroot}%{_licensedir}
-mkdir -p %{buildroot}%{_libdir}/systemd/system/graphical.target.wants
-mkdir -p %{buildroot}%{_libdir}/systemd/system/sockets.target.wants
-ln -s ../download-provider.service %{buildroot}%{_libdir}/systemd/system/graphical.target.wants/
-ln -s ../download-provider.socket %{buildroot}%{_libdir}/systemd/system/sockets.target.wants/
-
-%post
-#make notify dir in post section for smack
-mkdir -p %{_notifydir}
-mkdir -p --mode=0700 %{_databasedir}
-chsmack -a 'download-provider' %{_databasedir}
-mkdir -p --mode=0700 %{_database_client_dir}
-chsmack -a 'download-provider' %{_database_client_dir}
-
-%files
-%defattr(-,root,root,-)
-%manifest %{_manifest_name}
-%{_imagedir}/*.png
-%{_localedir}/*/*/download-provider.mo
-%{_libdir}/libdownloadagent2.so.0.1.0
-%{_libdir}/libdownloadagent2.so
-%{_libdir}/systemd/system/download-provider.service
-%{_libdir}/systemd/system/graphical.target.wants/download-provider.service
-%{_libdir}/systemd/system/download-provider.socket
-%{_libdir}/systemd/system/sockets.target.wants/download-provider.socket
-%{_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
-%endif
-
-%files devel
-%defattr(-,root,root,-)
-%{_libdir}/libdownloadagent2.so.0.1.0
-%{_libdir}/libdownloadagent2.so
-%{_libdir}/libdownload-provider-interface.so
-%{_includedir}/download-provider/download-provider.h
-%{_includedir}/download-provider/download-provider-interface.h
-%{_bindir}/%{name}
-%{_libdir}/pkgconfig/download-provider.pc
-%{_libdir}/pkgconfig/download-provider-interface.pc