Name: capi-web-url-download Summary: CAPI for content download with web url Version: 0.0.8 Release: 9 Group: System/Libraries License: TO_BE_FILLED_IN URL: N/A Source0: %{name}-%{version}.tar.gz BuildRequires: pkgconfig(capi-base-common) BuildRequires: pkgconfig(bundle) BuildRequires: pkgconfig(dlog) BuildRequires: pkgconfig(capi-appfw-app-manager) BuildRequires: pkgconfig(capi-appfw-application) BuildRequires: pkgconfig(download-provider) BuildRequires: cmake BuildRequires: expat-devel %description CAPI for the content download %package devel Summary: url download Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel CAPI for content downloading with web url (developement files) %prep %setup -q %build cmake . -DCMAKE_INSTALL_PREFIX="/" make %{?jobs:-j%jobs} %install rm -rf %{buildroot} %make_install %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %{_libdir}/libcapi-web-url-download.so %files devel %defattr(-,root,root,-) %{_libdir}/libcapi-web-url-download.so %{_libdir}/pkgconfig/capi-web-url-download.pc /usr/include/web/url_download.h %changelog * Fri Sep 07 2012 Kwangmin Bang - fix timeout thread can run exactly * Thu Sep 06 2012 Kwangmin Bang - check the state before clear socket - add limitation in already completed state - add checking INVALID_STATE error * Tue Sep 04 2012 Jungki Kwak - Remove unused code which is base on libdownload-agent - Change the name of application operation - Add exception handling for non requestid - Call clear_provider after getting the state - url_download_get_state return IO error - Resolve prevent defects * Mon Sep 03 2012 Kwangmin Bang - stop the download even if no socket or callback - pause/resume the download even if no socket or callback - calling stopped callback in error case - request STOP for free after finished download * Thu Aug 30 2012 Kwangmin Bang - maxfd should be updated before created event thread * Thu Aug 30 2012 Kwangmin Bang - remove duplicated call for creating socket - fix the crash regarding pthread_kill - allow to call url_download_stop in case of PAUSED state * Mon Aug 27 2012 Kwangmin Bang - one thread model for event - get state info from download-provider even if no connection - fix the bug take a long time to receive first event * Tue Aug 22 2012 Jungki Kwak - Enhance the exception handling in event thread - Resolve a bug about state - Add to pass service handle data to download daemon * Mon Aug 17 2012 Jungki Kwak - Resolve a bug when getting a state - Add error case for invalid id * Mon Aug 16 2012 Jungki Kwak - Add new APIs for notification function - The TC is changed due to change of url_download_start - When unseting the callback function, the callback should be initialized although the error is happened. - It remove the stop function when is called twice when destroying handle - Add pc requries for app.h * Mon Aug 08 2012 Jungki Kwak - Change requestid to INTEGER from String * Mon Aug 06 2012 Jungki Kwak - The base model is changed to download provider daemon