File python-pysvn.spec of Package python-pysvn

# spec file for package python-pysvn (Version 1.6.0)
# Copyright (c) 2008 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

# norootforbuild

%define _realname pysvn

Name:           python-pysvn
Group:          Development/Libraries/Python
License:        The 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:       libapr1 neon subversion libcom_err2
Version:        1.6.0
Release:        5
Source0:        %{_realname}-%{version}.tar.bz2
Patch0:         pysvn-no_rpath.diff
Patch1:         pysvn-optflags.diff
Patch2:         bnc445431_pysvn_svnenv.cpp.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Summary:        Highlevel Subversion Python Bindings

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

* Supports svn transaction features required to write svn pre-commit

* Easy to learn and use

* Python like interface

* Good Documentation and examples

* No need to understand the Subversion C API

    Barry Scott <>

%setup -q -n %{_realname}-%{version}
%patch0 -p0
%patch1 -p0
%patch2 -p0
cp %{S:1} .
cp %{S:2} .

python build

python install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES
grep -v "share.doc.packages" INSTALLED_FILES >


%doc LICENSE.txt
%doc Docs/*
%doc Examples

* Sun Nov 23 2008
- readd the second last change
* Tue Nov 18 2008
- Fixed bnc#445431 "undefinied C++ code"
  in pysvn_svnenv.cpp
* Wed Oct 29 2008
- fix typo in specfile
- remove doc files from INSTALLED_FILES
* Wed Oct 22 2008
- renamed macro _realname
* Thu Sep 25 2008
- Taken from home:/termim into factory
* Thu Aug 07 2008 Mikhail Terekhov <>
- Version 1.6.0
* Wed Feb 28 2007 Jérôme Soyer <>
- Revision: 130370
- New release
  Bogdano Arendartchuk <>
    - fix after version upgrade)
* Tue Dec 05 2006 Jérôme Soyer <>
- Revision: 91597
- Remove patch and update
- Rebuild for latest pyhton
  + Bogdano Arendartchuk <>
    - Import python-pysvn