2 Name: liblocation-appman
3 Summary: Location DB controler
6 Group: System/Libraries
8 Source0: %{name}-%{version}.tar.gz
9 Source1001: liblocation-appman.manifest
11 Requires(post): sqlite
13 BuildRequires: pkgconfig(glib-2.0)
14 BuildRequires: pkgconfig(dlog)
15 BuildRequires: pkgconfig(sqlite3)
16 BuildRequires: pkgconfig(libxml-2.0)
17 BuildRequires: pkgconfig(capi-appfw-app-manager)
18 BuildRequires: libgcrypt-devel
21 Description: Location DB controller library
25 Summary: Location DB controller (Development files)
26 Group: System/Libraries
27 Requires: %{name} = %{version}-%{release}
30 Description : Location DB controller Development Package
34 %setup -q -n %{name}-%{version}
41 # Call make instruction with smp support
47 chown 0:5000 /opt/dbspace/.location-appman.db*
48 chmod 664 /opt/dbspace/.location-appman.db*
49 %postun -p /sbin/ldconfig
60 %manifest %{name}.manifest
61 %defattr(-,root,root,-)
62 %{_libdir}/liblocation-appman.so*
63 %{_optdir}/dbspace/.location-appman.db*
66 %manifest %{name}.manifest
67 %{_includedir}/location-appman/*.h
68 %{_libdir}/pkgconfig/*.pc