[Tizen-submit] 2979: New package Tizen:2.1:Main/libsqlfs

noreply at tizen.org noreply at tizen.org
Wed Apr 24 23:10:12 GMT 2013


Hi,
Adding new package libsqlfs in project Tizen:2.1:Main. Please review and accept ASAP.

Justification for this new package:

Submitter: Jinkun Jang <jinkun.jang at samsung.com>
Comments: submit to obs
Git project: framework/base/libsqlfs
Tag: submit/tizen_2.1/20130424.231032
Commit: a3dbf66 merge from master

Thank You,
Jinkun Jang

[This message was auto-generated]

---

Request: #2979

  submit:       Tizen:2.1:Main:build/libsqlfs(cleanup) -> Tizen:2.1:Main


Message:
Submitter: Jinkun Jang <jinkun.jang at samsung.com>
Comments: submit to obs
Git project: framework/base/libsqlfs
Tag: submit/tizen_2.1/20130424.231032
Commit: a3dbf66 merge from master

State:   new        2013-04-24T15:40:49 tizenrobot
Comment: <no comment>
new:
----
  libsqlfs-1.2.tar.gz
  libsqlfs.preinit
  libsqlfs.spec
  mount.fuse.libsqlfs
  opt-var-kdb-db-libsqlfs.service
  opt-var-kdb-db-smack-labels.service
  opt-var-kdb-db.mount

spec files:
-----------

++++++ new spec file:
--- libsqlfs.spec
+++ libsqlfs.spec
@@ -0,0 +1,105 @@
+Name:       libsqlfs
+Summary:    FUSE module for filesystem on top of an SQLite db
+Version:    1.2
+Release:    11
+VCS:        framework/base/libsqlfs#2.1_release-0-ga3dbf66
+Group:      TO_BE/FILLED_IN
+License:    LGPLv2
+Source0:    libsqlfs-%{version}.tar.gz
+Source1:    opt-var-kdb-db.mount
+Source4:    mount.fuse.libsqlfs
+Source5:    opt-var-kdb-db-libsqlfs.service
+Source6:    opt-var-kdb-db-smack-labels.service
+Source7:    libsqlfs.preinit
+BuildRequires:  pkgconfig(sqlite3)
+BuildRequires:  pkgconfig(fuse)
+BuildRequires:  libattr-devel
+BuildRequires:  libcap-devel
+Requires:       /usr/bin/find
+Requires(post):   systemd 
+Requires(postun): systemd
+
+
+%description
+FUSE module for filesystem on top of an SQLite database
+
+%prep
+%setup -q 
+
+%build
+#%configure
+#make
+
+gcc  $CFLAGS -g \
+                -DFUSE \
+                -D_GNU_SOURCE \
+                -D_FILE_OFFSET_BITS=64 \
+                -D_REENTRANT \
+                -DFUSE_USE_VERSION=25 \
+                -I/usr/include -I. \
+                sqlfs.c fuse_main.c \
+                -o libsqlfs_mount \
+                $LDFLAGS \
+                -L/usr/lib \
+                -lpthread \
+                -lfuse -lrt\
+                -lsqlite3 -ldl -lcap
+
+gcc $CFLAGS -g \
+                sqlfs_txn_cmd.c \
+                -o sqlfs_txn_cmd \
+                $LDFLAGS
+
+
+%install
+mkdir -p %{buildroot}%{_bindir}
+install -m 0755 libsqlfs_mount %{buildroot}%{_bindir}/
+install -m 0755 sqlfs_txn_cmd %{buildroot}%{_bindir}/
+#mkdir -p %{buildroot}/sbin
+#install -m 0755 %{SOURCE4} %{buildroot}/sbin/
+
+#mkdir -p %{buildroot}%{_libdir}/systemd/system/basic.target.wants
+#install -m 0644 %{SOURCE1} %{buildroot}%{_libdir}/systemd/system/
+#install -m 0644 %{SOURCE5} %{buildroot}%{_libdir}/systemd/system/
+#install -m 0644 %{SOURCE6} %{buildroot}%{_libdir}/systemd/system/
+#ln -sf ../opt-var-kdb-db-libsqlfs.service %{buildroot}%{_libdir}/systemd/system/basic.target.wants/
+#ln -sf ../opt-var-kdb-db-smack-labels.service %{buildroot}%{_libdir}/systemd/system/basic.target.wants/
+
+mkdir -p %{buildroot}%{_sysconfdir}/rc.d/init.d
+mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc3.d

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list