2008-11-04 03:49:07 +00:00
|
|
|
#
|
|
|
|
# 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 http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
%define _realname pysvn
|
|
|
|
|
|
|
|
Name: python-pysvn
|
|
|
|
Group: Development/Libraries/Python
|
|
|
|
Url: http://pysvn.tigris.org
|
|
|
|
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
|
2008-11-24 15:28:55 +00:00
|
|
|
Release: 5
|
2008-11-04 03:49:07 +00:00
|
|
|
Source0: %{_realname}-%{version}.tar.bz2
|
|
|
|
Source1: setup.py
|
|
|
|
Source2: MANIFEST.in
|
|
|
|
Patch0: pysvn-no_rpath.diff
|
|
|
|
Patch1: pysvn-optflags.diff
|
2008-11-20 15:21:40 +00:00
|
|
|
Patch2: bnc445431_pysvn_svnenv.cpp.diff
|
2008-11-04 03:49:07 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
Summary: Highlevel Subversion Python Bindings
|
|
|
|
|
|
|
|
%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
|
|
|
|
%patch1 -p0
|
2008-11-20 15:21:40 +00:00
|
|
|
%patch2 -p0
|
2008-11-04 03:49:07 +00:00
|
|
|
cp %{S:1} .
|
|
|
|
cp %{S:2} .
|
|
|
|
|
|
|
|
%build
|
|
|
|
python setup.py build
|
|
|
|
|
|
|
|
%install
|
|
|
|
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES
|
2008-11-24 15:28:55 +00:00
|
|
|
grep -v "share.doc.packages" INSTALLED_FILES > INSTALLED_FILES.new
|
|
|
|
mv INSTALLED_FILES.new INSTALLED_FILES
|
2008-11-04 03:49:07 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files -f INSTALLED_FILES
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc LICENSE.txt
|
|
|
|
%doc Docs/*
|
|
|
|
%doc Examples
|
|
|
|
|
|
|
|
%changelog
|
2008-11-24 15:28:55 +00:00
|
|
|
* Sun Nov 23 2008 coolo@suse.de
|
|
|
|
- readd the second last change
|
2008-11-20 15:21:40 +00:00
|
|
|
* Tue Nov 18 2008 toms@suse.de
|
|
|
|
- Fixed bnc#445431 "undefinied C++ code"
|
|
|
|
in pysvn_svnenv.cpp
|
2008-11-04 03:49:07 +00:00
|
|
|
* Wed Oct 29 2008 ro@suse.de
|
|
|
|
- fix typo in specfile
|
|
|
|
- remove doc files from INSTALLED_FILES
|
|
|
|
* Wed Oct 22 2008 toms@suse.de
|
|
|
|
- renamed macro _realname
|
|
|
|
* Thu Sep 25 2008 toms@suse.de
|
|
|
|
- Taken from home:/termim into factory
|
2008-11-24 15:28:55 +00:00
|
|
|
* Thu Aug 07 2008 Mikhail Terekhov <termim@gmail.com>
|
2008-11-04 03:49:07 +00:00
|
|
|
- Version 1.6.0 setup.py
|
2008-11-24 15:28:55 +00:00
|
|
|
* Wed Feb 28 2007 Jérôme Soyer <saispo@mandriva.org>
|
2008-11-04 03:49:07 +00:00
|
|
|
- Revision: 130370
|
|
|
|
- New release
|
|
|
|
Bogdano Arendartchuk <bogdano@mandriva.com>
|
|
|
|
- fix after version upgrade)
|
2008-11-24 15:28:55 +00:00
|
|
|
* Tue Dec 05 2006 Jérôme Soyer <saispo@mandriva.org>
|
2008-11-04 03:49:07 +00:00
|
|
|
- Revision: 91597
|
|
|
|
- Remove patch and update
|
|
|
|
- Rebuild for latest pyhton
|
|
|
|
+ Bogdano Arendartchuk <bogdano@mandriva.com>
|
|
|
|
- Import python-pysvn
|