SPECS: python-pysvn.spec - up to 1.5.2 - add apr-utils.patch - by ...

shadzik shadzik at pld-linux.org
Fri Nov 2 09:59:27 CET 2007


Author: shadzik                      Date: Fri Nov  2 08:59:27 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 1.5.2
- add apr-utils.patch
- by Kamil Jakubowski <jakubowski dot kamil at 3vnet dot pl>

---- Files affected:
SPECS:
   python-pysvn.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SPECS/python-pysvn.spec
diff -u SPECS/python-pysvn.spec:1.5 SPECS/python-pysvn.spec:1.6
--- SPECS/python-pysvn.spec:1.5	Tue Feb 13 09:06:43 2007
+++ SPECS/python-pysvn.spec	Fri Nov  2 09:59:22 2007
@@ -5,14 +5,17 @@
 Summary:	Python SVN Tools
 Summary(pl.UTF-8):	Narzędzia do SVN w Pythonie
 Name:		python-%{module}
-Version:	1.3.0
-Release:	2
+Version:	1.5.2
+Release:	1
 License:	Apache Group License
 Group:		Development/Languages/Python
-Source0:	http://pysvn.tigris.org/files/documents/1233/25338/%{module}-%{version}.tar.gz
-# Source0-md5:	f31d99a2fe9078f9b0501f8eb6364e18
+#Source0:	http://pysvn.tigris.org/files/documents/1233/25338/%{module}-%{version}.tar.gz
+Source0:	http://pysvn.barrys-emacs.org/source_kits/%{module}-%{version}.tar.gz
+# Source0-md5:	2291cbe16cac0a8b2ff17792f7e697d8
+Patch0:		python-%{module}-apr_util.patch
 URL:		http://pysvn.tigris.org/
 BuildRequires:	apr-devel
+BuildRequires:	apr-util-devel
 BuildRequires:	subversion
 BuildRequires:	subversion-devel
 BuildRequires:	python-devel
@@ -41,11 +44,13 @@
 
 %prep
 %setup  -q -n %{module}-%{version}
+%patch0 -p0
 
 %build
 cd Source
 python ./setup.py configure \
 	--apr-inc-dir="$(apr-1-config --includedir)" \
+	--apr-util-inc-dir="$(apu-1-config --includedir)" \
 	--svn-lib-dir=%{_libdir}
 %{__make} \
 	CC="%{__cc} -c" \
@@ -58,16 +63,20 @@
 install -d $RPM_BUILD_ROOT%{py_sitedir}/pysvn
 
 install Source/pysvn/__init__.py Source/pysvn/*.so $RPM_BUILD_ROOT%{py_sitedir}/pysvn
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/Client/
+install Examples/Client/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/Client
 
 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
+%py_postclean
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc Docs/* Examples/*
+%doc Docs/*
+%{_examplesdir}/*
 %dir %{py_sitedir}/pysvn
 %attr(755,root,root) %{py_sitedir}/pysvn/*.so
 %{py_sitedir}/pysvn/*.py[co]
@@ -78,6 +87,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2007/11/02 08:59:22  shadzik
+- up to 1.5.2
+- add apr-utils.patch
+- by Kamil Jakubowski <jakubowski dot kamil at 3vnet dot pl>
+
 Revision 1.5  2007/02/13 08:06:43  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/python-pysvn.spec?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list