head 1.2; access; symbols; locks; strict; comment @-- @; 1.2 date 2009.12.04.10.36.47; author rse; state Exp; branches; next 1.1; commitid WuG7NVONB87XN2eu; 1.1 date 2009.10.16.17.23.09; author rse; state Exp; branches; next ; commitid KxVJxivn5tk3DM7u; desc @@ 1.2 log @upgrading package: couchdb 0.10.0 -> 0.10.1 @ text @## ## couchdb.spec -- OpenPKG RPM Package Specification ## Copyright (c) 2000-2009 OpenPKG Foundation e.V. ## ## Permission to use, copy, modify, and distribute this software for ## any purpose with or without fee is hereby granted, provided that ## the above copyright notice and this permission notice appear in all ## copies. ## ## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF ## SUCH DAMAGE. ## # FIXME: rse: run-command script missing # FIXME: rse: still wrong filesystem layout under var/ # package information Name: couchdb Summary: Schema-Less Web Database URL: http://couchdb.apache.org/ Vendor: Apache Software Foundation Packager: OpenPKG Foundation e.V. Distribution: OpenPKG Community Class: EVAL Group: Database License: Apache Version: 0.10.1 Release: 20091204 # list of sources Source0: http://www.apache.org/dist/couchdb/%{version}/apache-couchdb-%{version}.tar.gz Patch0: couchdb.patch # build information Prefix: %{l_prefix} BuildRoot: %{l_buildroot} BuildPreReq: OpenPKG, openpkg >= 20060823 PreReq: OpenPKG, openpkg >= 20060823 BuildPreReq: erlang, js, icu, curl PreReq: erlang, js, icu, curl AutoReq: no AutoReqProv: no %description Apache CouchDB is a document-oriented database that can be queried and indexed in a MapReduce fashion using JavaScript. CouchDB also offers incremental replication with bi-directional conflict detection and resolution. CouchDB provides a RESTful JSON API than can be accessed from any environment that allows HTTP requests. There are myriad third-party client libraries that make this even easier from your programming language of choice. CouchDBs built in Web administration console speaks directly to the database using HTTP requests issued from your browser. %track prog couchdb = { version = %{version} url = http://couchdb.apache.org/downloads.html regex = apache-couchdb-(__VER__)\.tar\.gz } %prep %setup -q -n apache-couchdb-%{version} %patch -p0 %build CC="%{l_cc}" \ CFLAGS="%{l_cflags -O}" \ CPPFLAGS="%{l_cppflags js icu .} -I%{l_prefix}/lib/erlang/usr/include" \ LDFLAGS="%{l_ldflags erlang/usr/lib}" \ ./configure \ --prefix=%{l_prefix} \ --mandir=%{l_prefix}/man \ --with-erlang=%{l_prefix} \ --disable-init \ --disable-launchd %{l_make} %{l_mflags} %install rm -rf $RPM_BUILD_ROOT %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT" rm -rf $RPM_BUILD_ROOT%{l_prefix}/etc/logrotate.d rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/doc strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \ %{l_files_std} \ '%config %{l_prefix}/etc/couchdb/*.ini' %files -f files %clean rm -rf $RPM_BUILD_ROOT @ 1.1 log @new package: couchdb 0.10.0 (Schema-Less Web Database) @ text @d37 2 a38 2 Version: 0.10.0 Release: 20091016 @