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-19 11:34:28 +0200 |
commit | 0ff8a9773a7a5fc6c7aed81f52b8b5a59ba05254 (patch) | |
tree | ed01d794b11ddd2825fc7ae24ce8db91c68eb028 | |
parent | 20ac369a73b1d962fad5b23ec2ee9c2f766bca6e (diff) | |
download | ejdb-0ff8a9773a7a5fc6c7aed81f52b8b5a59ba05254.tar.gz ejdb-0ff8a9773a7a5fc6c7aed81f52b8b5a59ba05254.tar.bz2 ejdb-0ff8a9773a7a5fc6c7aed81f52b8b5a59ba05254.zip |
spec: add ejdb.spec
Change-Id: I64013486e97e10bd34d70dc1f5ef363354d27033
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..4a08997 --- /dev/null +++ b/packaging/ejdb.spec @@ -0,0 +1,56 @@ +Name: ejdb +Version: 1.2.12 +Release: 0 +License: LGPL-2.1+ +Source0: %{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 |