Also set a valid license tag.
Bug-Tizen: PTREL-394
Change-Id: Ifcc5a6e06a4432b9974eedf3233c62028b886daa
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
SET(CMAKE_INSTALL_PREFIX /usr)
SET(PREFIX ${CMAKE_INSTALL_PREFIX})
SET(CMAKE_INSTALL_PREFIX /usr)
SET(PREFIX ${CMAKE_INSTALL_PREFIX})
-SET(DBDIR "/opt/dbspace")
SET(INC_DIR include)
INCLUDE_DIRECTORIES(${INC_DIR})
SET(INC_DIR include)
INCLUDE_DIRECTORIES(${INC_DIR})
Name: liblocation-appman
Summary: Location DB controler
Version: 0.1.6
Name: liblocation-appman
Summary: Location DB controler
Version: 0.1.6
Source0: %{name}-%{version}.tar.gz
Source0: %{name}-%{version}.tar.gz
-Source1001: liblocation-appman.manifest
+Source1001: liblocation-appman.manifest
Requires(post): sqlite
BuildRequires: cmake
Requires(post): sqlite
BuildRequires: cmake
BuildRequires: pkgconfig(sqlite3)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(capi-appfw-app-manager)
BuildRequires: pkgconfig(sqlite3)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(capi-appfw-app-manager)
+BuildRequires: libtzplatform-config-devel
BuildRequires: libgcrypt-devel
%description
BuildRequires: libgcrypt-devel
%description
+%cmake . -DTZ_SYS_DB=%{TZ_SYS_DB}
# Call make instruction with smp support
make %{?jobs:-j%jobs}
# Call make instruction with smp support
make %{?jobs:-j%jobs}
-chown 0:5000 /opt/dbspace/.location-appman.db*
-chmod 664 /opt/dbspace/.location-appman.db*
%postun -p /sbin/ldconfig
%install
%postun -p /sbin/ldconfig
%install
%manifest %{name}.manifest
%defattr(-,root,root,-)
%{_libdir}/liblocation-appman.so*
%manifest %{name}.manifest
%defattr(-,root,root,-)
%{_libdir}/liblocation-appman.so*
-%{_optdir}/dbspace/.location-appman.db*
+%attr(664,root,%{TZ_SYS_USER_GROUP}) %{TZ_SYS_DB}/.location-appman.db*
%files devel
%manifest %{name}.manifest
%files devel
%manifest %{name}.manifest