1 Summary: Apache CouchDB
7 Source0: http://www.apache.org/dist/incubator/couchdb/%{version}-incubating/%{name}-%{version}-incubating.tar.gz
8 # Source0-md5: 89e037b370bef33be93f0f317e07615f
9 URL: http://incubator.apache.org/couchdb/
10 BuildRequires: autoconf >= 2.59
11 BuildRequires: automake >= 1.6.3
12 BuildRequires: erlang >= 1:R11B
13 BuildRequires: help2man
14 BuildRequires: js-devel
15 BuildRequires: libicu-devel
16 BuildRequires: libtool
17 Requires: Mozilla-SpiderMonkey
18 Requires: erlang >= 1:R11B
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 Apache CouchDB is a distributed, fault-tolerant and schema-free
26 document-oriented database accessible via a RESTful HTTP/JSON API.
27 Among other features, it provides robust, incremental replication with
28 bi-directional conflict detection and resolution, and is queryable and
29 indexable using a table-oriented view engine with JavaScript acting as
30 the default view definition language.
33 %setup -q -n %{name}-%{version}-incubating
40 rm -rf $RPM_BUILD_ROOT
42 DESTDIR=$RPM_BUILD_ROOT
45 rm -rf $RPM_BUILD_ROOT
48 %groupadd -g 203 -r -f couchdb
49 %useradd -u 203 -r -d /var/lib/couchdb -s /bin/sh -c "CouchDB Administrator" -g couchdb couchdb
52 if [ "$1" = "0" ]; then
58 %defattr(644,root,root,755)
59 %doc AUTHORS BUGS CHANGES NEWS NOTICE README THANKS