blob: 38cf159dd2087cbd7ee01c7ea8d9f05cc71e2bec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
Name: ejdb
Version: 1.2.12
Release: 0
License: LGPL-2.1+
Summary: Embeddable document database
Group: System/Database
Source0: %{name}-%{version}.tar.gz
Source1001: %{name}.manifest
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.
%package devel
Summary: Development files for package %{name}
Group: Development
%description devel
This package provides header files and other developer releated files for package %{name}.
%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
%files devel
%{_datadir}/ejdb/*.cmake
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
|