diff options
author | Łukasz Stelmach <l.stelmach@samsung.com> | 2017-04-20 12:54:03 +0200 |
---|---|---|
committer | Łukasz Stelmach <l.stelmach@samsung.com> | 2017-05-16 14:38:32 +0200 |
commit | 6a9901b0d7ed1bf7c1415230e154a47b05b7369c (patch) | |
tree | 08b18f242c441f47a2d72df8d66156b94e603bb4 | |
parent | 20ac369a73b1d962fad5b23ec2ee9c2f766bca6e (diff) | |
download | ejdb-6a9901b0d7ed1bf7c1415230e154a47b05b7369c.tar.gz ejdb-6a9901b0d7ed1bf7c1415230e154a47b05b7369c.tar.bz2 ejdb-6a9901b0d7ed1bf7c1415230e154a47b05b7369c.zip |
spec: add ejdb.specTINF-1472
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
-rw-r--r-- | .gbs.conf | 3 | ||||
-rw-r--r-- | packaging/ejdb.manifest | 5 | ||||
-rw-r--r-- | packaging/ejdb.spec | 56 |
3 files changed, 64 insertions, 0 deletions
diff --git a/.gbs.conf b/.gbs.conf new file mode 100644 index 0000000..2290232 --- /dev/null +++ b/.gbs.conf @@ -0,0 +1,3 @@ +[general] +upstream_branch = upstream +upstream_tag = v${upstreamversion} diff --git a/packaging/ejdb.manifest b/packaging/ejdb.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/ejdb.manifest @@ -0,0 +1,5 @@ +<manifest> + <request> + <domain name="_"/> + </request> +</manifest> diff --git a/packaging/ejdb.spec b/packaging/ejdb.spec new file mode 100644 index 0000000..66db1bf --- /dev/null +++ b/packaging/ejdb.spec @@ -0,0 +1,56 @@ +Name: ejdb +Version: 1.2.12 +Release: 0 +License: LGPL-2.1+ +Source0: https://github.com/Softmotions/ejdb/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +Source1001: %{name}.manifest +Summary: Embeddable document database +Group: System/Database +BuildRequires: cmake +BuildRequires: pkgconfig(zlib) + +%description +EJDB is the embeddable (in-process) database engine designed for +querying collections of JSON documents and persisting data. EJDB is +implemented as a C library based on Tokyo Cabinet key-value storage +engine. EJDB design is inspired by Mongodb and follows the same +philosophy, especially for the query language. + +%prep +%setup -q +cp %{SOURCE1001} . + +%build +mkdir build +cd build +%cmake \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + ../ +make %{?_smp_mflags} + +%install +(cd build; %make_install) +cat <<EOF >>documentation.list +%{_prefix}/share/doc/ejdb/Changelog +%exclude %{_prefix}/share/doc/ejdb/INSTALL +%exclude %{_prefix}/share/doc/ejdb/LICENSE +%{_prefix}/share/doc/ejdb/README +EOF + +%files +%license LICENSE +%manifest %{name}.manifest +%{_bindir}/jbbmgr +%{_bindir}/jbfmgr +%{_bindir}/jbhmgr +%{_bindir}/jbtmgr +%{_libdir}/libejdb.so.1* + +%docs_package + +%devel_package +%files devel +%{_datadir}/ejdb/*.cmake +%{_includedir}/* +%{_libdir}/*.so +%{_libdir}/pkgconfig/*.pc |