Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
python-pysvn
python-pysvn.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-pysvn.spec of Package python-pysvn
# # spec file for package python-pysvn (Version 1.7.4) # # Copyright (c) 2010 SUSE LINUX Products 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/ # # norootforbuild %define _realname pysvn Name: python-pysvn Group: Development/Libraries/Python Url: http://pysvn.tigris.org License: Apache Software License .. BuildRequires: gcc gcc-c++ libapr1-devel libcom_err-devel libcom_err2 libexpat-devel neon-devel python python-devel python-xml subversion-devel Requires: neon subversion Version: 1.7.4 Release: 1 Source0: %{_realname}-%{version}.tar.bz2 Patch0: bnc445431_pysvn_svnenv.cpp.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: Highlevel Subversion Python Bindings %if 0%suse_version <= 1110 %define _sitedir %py_sitedir/%_realname %else %define _sitedir %python_sitearch/%_realname %endif %description pysvn is a highlevel and easy to use Python bindings to Subversion. The pysvn project's goal is to enable Tools to be written in Python that use Subversion. Windows, Mac OS X, Linux and other unix platforms are supported. Features: * Supports all svn client features * Supports svn transaction features required to write svn pre-commit hooks * Easy to learn and use * Python like interface * Good Documentation and examples * No need to understand the Subversion C API Authors: -------- Barry Scott <barryscott@tigris.org> %prep %setup -q -n %{_realname}-%{version} %patch0 -p0 # patch in rpm compiler flags sed -i 's/CCFLAGS=-Wall/CCFLAGS=$(RPM_OPT_FLAGS) -Wall -Wno-deprecated/g' Source/setup_configure.py %build cd Source python setup.py backport python setup.py configure # --norpath make %{?_smp_mflags} #cd ../Tests #make %{?_smp_mflags} %install mkdir -p $RPM_BUILD_ROOT/%_sitedir cp Source/pysvn/__init__.py $RPM_BUILD_ROOT/%_sitedir cp Source/pysvn/_pysvn*.so $RPM_BUILD_ROOT/%_sitedir %py_compile $RPM_BUILD_ROOT/%_sitedir rm -f Docs/generate_cpp_docs_from_html_docs.py %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc LICENSE.txt %doc Docs %doc Examples %_sitedir %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