]> git.pld-linux.org Git - packages/apache-couchdb.git/commitdiff
- initial, need newer erlang to continue
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 3 Nov 2008 12:25:00 +0000 (12:25 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache-couchdb.spec -> 1.1

apache-couchdb.spec [new file with mode: 0644]

diff --git a/apache-couchdb.spec b/apache-couchdb.spec
new file mode 100644 (file)
index 0000000..55de142
--- /dev/null
@@ -0,0 +1,59 @@
+Summary:       Apache CouchDB
+Name:          apache-couchdb
+Version:       0.8.1
+Release:       0.1
+License:       Apache v2.0
+Group:         Applications
+Source0:       http://www.apache.org/dist/incubator/couchdb/%{version}-incubating/%{name}-%{version}-incubating.tar.gz
+# Source0-md5: 89e037b370bef33be93f0f317e07615f
+URL:           http://incubator.apache.org/couchdb/
+BuildRequires: autoconf >= 2.59
+BuildRequires: automake >= 1.6.3
+BuildRequires: erlang >= 1:R11B
+BuildRequires: help2man
+BuildRequires: js-devel
+BuildRequires: libicu-devel
+BuildRequires: libtool
+Requires:      Mozilla-SpiderMonkey
+Requires:      erlang >= 1:R11B
+Requires:      gcc
+Requires:      make
+Requires:      openssl
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Apache CouchDB is a distributed, fault-tolerant and schema-free
+document-oriented database accessible via a RESTful HTTP/JSON API.
+Among other features, it provides robust, incremental replication with
+bi-directional conflict detection and resolution, and is queryable and
+indexable using a table-oriented view engine with JavaScript acting as
+the default view definition language.
+
+%prep
+%setup -q -n %{name}-%{version}-incubating
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%pre
+%groupadd -g 203 -r -f couchdb
+%useradd -u 203 -r -d /var/lib/couchdb -s /bin/sh -c "CouchDB Administrator" -g couchdb couchdb
+
+%postun
+if [ "$1" = "0" ]; then
+       %userremove couchdb
+       %groupremove couchdb
+fi
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS BUGS CHANGES NEWS NOTICE README THANKS
This page took 0.080792 seconds and 4 git commands to generate.