e569467491fb05d2cbea3a7415a41476f4a3aef9
[framework/api/favorites.git] / packaging / capi-web-favorites.spec
1 Name:       capi-web-favorites
2 Summary:    Internet bookmark and history API
3 Version:    0.0.3
4 Release:    1
5 Group:      TO_BE/FILLED_IN
6 License:    TO BE FILLED IN
7 Source0:    %{name}-%{version}.tar.gz
8 BuildRequires:  cmake
9 BuildRequires:  pkgconfig(dlog)
10 BuildRequires:  pkgconfig(db-util)
11 BuildRequires:  pkgconfig(evas)
12 BuildRequires:  pkgconfig(capi-base-common)
13 Requires(post): /sbin/ldconfig  
14 Requires(postun): /sbin/ldconfig
15
16 %description
17
18
19 %package devel
20 Summary:  Internet Bookmark and History in Tizen Native API (Development)
21 Group:    TO_BE/FILLED_IN
22 Requires: %{name} = %{version}-%{release}
23
24 %description devel
25
26
27
28 %prep
29 %setup -q
30
31
32 %build
33 cmake . -DCMAKE_INSTALL_PREFIX=/usr
34
35
36 make %{?jobs:-j%jobs}
37
38 %install
39 rm -rf %{buildroot}
40 %make_install
41
42 %post -p /sbin/ldconfig
43
44 %postun -p /sbin/ldconfig
45
46
47 %files
48 %{_libdir}/libcapi-web-favorites.so
49
50 %files devel
51 %{_includedir}/web/*.h
52 %{_libdir}/pkgconfig/*.pc
53
54