Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15
python-CouchDB
python-CouchDB.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-CouchDB.spec of Package python-CouchDB
# # spec file for package python-CouchDB # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: python-CouchDB Version: 1.0 Release: 0 Url: https://github.com/djc/couchdb-python/ Summary: A Python library for working with CouchDB License: BSD-3-Clause Group: Development/Languages/Python Source: http://pypi.python.org/packages/source/C/CouchDB/CouchDB-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-Sphinx BuildRequires: python-devel Suggests: couchdb Provides: python-couchdb = %{version} Obsoletes: python-couchdb < %{version} %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %else BuildArch: noarch %endif %description This is a Python library for the CouchDB document-oriented database. It provides a convenient high level interface for the CouchDB server. %package doc Summary: The API reference files for CouchDB Group: Development/Libraries/Python Requires: %{name} = %{version} %description doc This is a Python library for the CouchDB document-oriented database. It provides a convenient high level interface for the CouchDB server. This package contains documentation for python-couchdb. %prep %setup -q -n CouchDB-%{version} sed -i "1d" couchdb/{view,http,tests/couch_tests,tools/replicate,tools/load,tools/dump}.py # Fix non-executable scripts %build python setup.py build mkdir doc/build && make doc && rm -rf doc/build/html/.buildinfo # Build HTML documentation rm -f doc/build/doctrees/environment.pickle %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} %files %defattr(-,root,root,-) %doc ChangeLog.rst COPYING README.rst %{_bindir}/couch* %{python_sitelib}/* %files doc %defattr(-,root,root,-) %doc doc/build/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor