--- /dev/null
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: sdbd
+Description: sdb daemon
+Version: 3.0
+Cflags: -I${includedir}/sdb
%description
Description: SDB daemon.
+%package -n sdbd-devel
+Summary: SDBD plugin API
+Group: Development/Libraries
+
+%description -n sdbd-devel
+SDBD plugin API library
%prep
%setup -q
mkdir -p %{buildroot}%{TZ_SYS_BIN}
install -m 755 script/profile_command %{buildroot}%{TZ_SYS_BIN}/
+mkdir -p %{buildroot}%{_includedir}/sdb/
+install -m 0644 src/sdbd_plugin.h %{buildroot}%{_includedir}/sdb/
+
+mkdir -p %{buildroot}%{_libdir}/pkgconfig/
+install -m 0644 packaging/sdbd.pc %{buildroot}%{_libdir}/pkgconfig/
+
%post
. %{_sysconfdir}/tizen-platform.conf
if ! getent passwd "${TZ_SDK_USER_NAME}" > /dev/null; then
/usr/share/license/%{name}
%{TZ_SYS_BIN}/profile_command
+%files -n sdbd-devel
+%{_includedir}/sdb/sdbd_plugin.h
+%{_libdir}/pkgconfig/sdbd.pc
+
%changelog