Add API for checking the enabled/disabled flag
[apps/livebox/livebox-service.git] / packaging / liblivebox-service.spec
1 Name: liblivebox-service
2 Summary: Service API for gathering installed livebox information.
3 Version: 0.3.3
4 Release: 1
5 Group: framework/livebox
6 License: Flora License
7 Source0: %{name}-%{version}.tar.gz
8 BuildRequires: cmake, gettext-tools, coreutils
9 BuildRequires: pkgconfig(dlog)
10 BuildRequires: pkgconfig(glib-2.0)
11 BuildRequires: pkgconfig(gio-2.0)
12 BuildRequires: pkgconfig(com-core)
13 BuildRequires: pkgconfig(sqlite3)
14 BuildRequires: pkgconfig(db-util)
15 BuildRequires: pkgconfig(pkgmgr)
16 BuildRequires: pkgconfig(x11)
17 BuildRequires: pkgconfig(vconf)
18 BuildRequires: pkgconfig(ail)
19
20 %description
21 Service API for gathering information of installed liveboxes
22
23 %package devel
24 Summary: Files for livebox service.
25 Group: Development/Libraries
26 Requires: %{name} = %{version}-%{release}
27
28 %description devel
29 Gathering the installed livebox information.
30
31 %prep
32 %setup -q
33
34 %build
35 cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
36 make %{?jobs:-j%jobs}
37
38 %install
39 rm -rf %{buildroot}
40 %make_install
41 mkdir -p %{buildroot}/%{_datarootdir}/license
42
43 %post
44
45 %files -n liblivebox-service
46 %manifest liblivebox-service.manifest
47 %defattr(-,root,root,-)
48 %{_libdir}/*.so*
49 %{_datarootdir}/license/*
50
51 %files devel
52 %defattr(-,root,root,-)
53 %{_includedir}/livebox-service/livebox-service.h
54 %{_datarootdir}/doc/livebox-service/livebox-service_PG.h
55 %{_libdir}/pkgconfig/*.pc
56
57 # End of a file