Search
j0ke.net Open Build Service
>
Projects
>
devel
:
erlang
>
CouchDB
> couchdb.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File couchdb.spec of Package CouchDB (Revision 22)
Currently displaying revision
22
,
show latest
Name: couchdb Version: 0.7.2 Release: 1 Summary: The next generation of web storage Group: Development/Libraries License: GPL Source: %{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libicu-devel curl-devel libxml2-devel BuildRequires: erlang gcc-c++ Requires: erlang %description %prep %setup -n %{name}-%{version} %configure %build %{__make} %makeinstall mkdir -p %{buildroot}/%{_sysconfdir}/init.d mkdir -p %{buildroot}/%{_sysconfdir}/sysconfig mkdir -p %{buildroot}/%{_docdir}/%{name} mv %{buildroot}/%{_sysconfdir}/rc.d/couchdb %{buildroot}/%{_sysconfdir}/init.d/ mv %{buildroot}/%{_sysconfdir}/default/couchdb %{buildroot}/var/adm/fillup-templates/sysconfig.%{name} mv %{buildroot}%{_datadir}/doc/%{name}/* %{buildroot}/%{_docdir}/%{name}/ rmdir %{buildroot}/%{_sysconfdir}/rc.d rmdir %{buildroot}/%{_sysconfdir}/default rm -Rf %{buildroot}%{_datadir}/doc/%{name} sed -i s@default@sysconfig@g %{buildroot}/%{_sysconfdir}/sysconfig/%{name} %post %{__useradd} -d %{_datadir} -g www -s /bin/bash -c "CouchDB" %{name} %fillup_and_insserv couchdb %preun %{__userdel} %{name} %files %defattr(-,root,root) %dir %{_sysconfdir}/%{name} %config(noreplace) %{_sysconfdir}/%{name}/couch_httpd.conf %config(noreplace) %{_sysconfdir}/%{name}/couch.ini %{_sysconfdir}/%{name}/conf/mime.types /var/adm/fillup-templates/sysconfig.%{name} %{_sysconfdir}/init.d/%{name} %{_bindir} %{_libdir}/%{name} %{_mandir}/man1 %{_datadir}/%{name} %{_docdir}/%{name} %changelog * Fri Mar 21 2008 Carsten Schoene <cs@linux-administrator.com> - initial build