]> git.pld-linux.org Git - packages/apache-couchdb.git/blame - apache-couchdb.spec
- initial, need newer erlang to continue
[packages/apache-couchdb.git] / apache-couchdb.spec
CommitLineData
ec3f1cc9
ER
1Summary: Apache CouchDB
2Name: apache-couchdb
3Version: 0.8.1
4Release: 0.1
5License: Apache v2.0
6Group: Applications
7Source0: http://www.apache.org/dist/incubator/couchdb/%{version}-incubating/%{name}-%{version}-incubating.tar.gz
8# Source0-md5: 89e037b370bef33be93f0f317e07615f
9URL: http://incubator.apache.org/couchdb/
10BuildRequires: autoconf >= 2.59
11BuildRequires: automake >= 1.6.3
12BuildRequires: erlang >= 1:R11B
13BuildRequires: help2man
14BuildRequires: js-devel
15BuildRequires: libicu-devel
16BuildRequires: libtool
17Requires: Mozilla-SpiderMonkey
18Requires: erlang >= 1:R11B
19Requires: gcc
20Requires: make
21Requires: openssl
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25Apache CouchDB is a distributed, fault-tolerant and schema-free
26document-oriented database accessible via a RESTful HTTP/JSON API.
27Among other features, it provides robust, incremental replication with
28bi-directional conflict detection and resolution, and is queryable and
29indexable using a table-oriented view engine with JavaScript acting as
30the default view definition language.
31
32%prep
33%setup -q -n %{name}-%{version}-incubating
34
35%build
36%configure
37%{__make}
38
39%install
40rm -rf $RPM_BUILD_ROOT
41%{__make} install \
42 DESTDIR=$RPM_BUILD_ROOT
43
44%clean
45rm -rf $RPM_BUILD_ROOT
46
47%pre
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
50
51%postun
52if [ "$1" = "0" ]; then
53 %userremove couchdb
54 %groupremove couchdb
55fi
56
57%files
58%defattr(644,root,root,755)
59%doc AUTHORS BUGS CHANGES NEWS NOTICE README THANKS
This page took 0.052785 seconds and 4 git commands to generate.