summaryrefslogtreecommitdiff
path: root/packaging/capi-web-url-download.spec
blob: 67a605a8d65f834a99cbb5e4c52d57a4bc13efb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
%define ENABLE_DOWNLOAD_PROVIDER 1

Name:	capi-web-url-download
Summary:	CAPI for content download with web url
Version:	0.0.8
Release:	2
Group:		TO_BE_FILLED_IN
License:	TO_BE_FILLED_IN
URL:		N/A
Source0:	%{name}-%{version}.tar.gz
BuildRequires: pkgconfig(capi-base-common)
BuildRequires: pkgconfig(bundle)
BuildRequires: pkgconfig(dlog)
%if %ENABLE_DOWNLOAD_PROVIDER
BuildRequires: pkgconfig(capi-appfw-app-manager)
BuildRequires: pkgconfig(capi-appfw-application)
BuildRequires: pkgconfig(download-provider)
%else
BuildRequires: pkgconfig(libdownload-agent)
%endif
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,-)
/usr/lib/libcapi-web-url-download.so

%files devel
%defattr(-,root,root,-)
/usr/lib/libcapi-web-url-download.so
/usr/lib/pkgconfig/capi-web-url-download.pc
/usr/include/web/url_download.h

%changelog
* Thu Aug 30 2012 Kwangmin Bang <justine.bang@samsung.com>
- 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 <justine.bang@samsung.com>
- 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 <jungki.kwak@samsung.com>
- 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 <jungki.kwak@samsung.com>
- Resolve a bug when getting a state
- Add error case for invalid id

* Mon Aug 16 2012 Jungki Kwak <jungki.kwak@samsung.com>
- 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 <jungki.kwak@samsung.com>
- Change requestid to INTEGER from String

* Mon Aug 06 2012 Jungki Kwak <jungki.kwak@samsung.com>
- The base model is changed to download provider daemon