[Erp5-report] r7886 - in /spec/mandriva/2006.0/pysvn: ./ pysvn.spec

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Jun 19 17:27:06 CEST 2006


Author: kevin
Date: Mon Jun 19 17:27:05 2006
New Revision: 7886

URL: http://svn.erp5.org?rev=7886&view=rev
Log:
Commit pysvn-1.4.2-2mdk spec files and patches

Added:
    spec/mandriva/2006.0/pysvn/
    spec/mandriva/2006.0/pysvn/pysvn.spec

Added: spec/mandriva/2006.0/pysvn/pysvn.spec
URL: http://svn.erp5.org/spec/mandriva/2006.0/pysvn/pysvn.spec?rev=7886&view=auto
==============================================================================
--- spec/mandriva/2006.0/pysvn/pysvn.spec (added)
+++ spec/mandriva/2006.0/pysvn/pysvn.spec Mon Jun 19 17:27:05 2006
@@ -1,0 +1,73 @@
+%define name pysvn
+%define version 1.4.2
+%define release 2mdk
+
+Summary: Python Subversion Tools
+Name: %{name}
+Version: %{version}
+Release: %{release}
+License:  Apache License
+URL: http://pysvn.tigris.org/
+Group: Development/Python
+Source0: %{name}-%{version}.tar.bz2
+BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
+Requires: python >= 2.3, subversion >= 1.2.0
+BuildRequires: python-devel, subversion-devel
+#libsubversion1_0-devel
+
+%description
+The pysvn project's goal is to enable Tools to be written in Python
+that use Subversion. pysvn supports all svn client features, and svn
+transaction features required to write svn pre-commit hooks. It is easy
+to learn and use and provides Python like interface with good
+documentation and examples.
+
+%prep
+%setup -q
+
+%build
+export LC_ALL=C
+pushd Source
+python setup.py configure
+make
+popd
+
+python <<EOF
+import py_compile, distutils.sysconfig
+lib = distutils.sysconfig.get_python_lib(plat_specific=1, standard_lib=0)
+py_compile.compile("Source/pysvn/__init__.py", 
+                   "Source/pysvn/__init__.pyc", 
+                   lib + "pysvn/__init__.py")
+EOF
+
+%install
+rm -rf %{buildroot}
+lib=`python -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_lib(plat_specific=1, standard_lib=0)'`
+install -d %{buildroot}/$lib/pysvn
+for f in __init__.py __init__.pyc _pysvn.so; do
+  install Source/pysvn/$f %{buildroot}/$lib/pysvn
+done
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-, root, root)
+%doc INSTALL.html LICENSE.txt Docs/*.html Examples
+%{_libdir}/python*/site-packages/pysvn/__init__.py
+%{_libdir}/python*/site-packages/pysvn/__init__.pyc
+%{_libdir}/python*/site-packages/pysvn/_pysvn.so
+
+%changelog
+* Fri May 12 2006 Christophe Dumez <christophe at nexedi.com> 1.4.2-2mdk
+- added check for subversion version
+- Added LC_ALL=C to make it compile
+
+* Mon May 1 2006 Christophe Dumez <christophe at nexedi.com> 1.4.2-1mdk
+- new upstream release
+
+* Thu Mar 16 2006 Christophe Dumez <christophe at nexedi.com> 1.4.1-1mdk
+- new upstream release
+
+* Sun Dec 18 2005 Yoshinori Okuji <yo at nexedi.com> 1.3.1-1mdk
+- initial version




More information about the Erp5-report mailing list