Author: arekm                        Date: Thu Mar 12 10:01:01 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- package python csvn bindings

---- Files affected:
SPECS:
   subversion.spec (1.245 -> 1.246) 

---- Diffs:

================================================================
Index: SPECS/subversion.spec
diff -u SPECS/subversion.spec:1.245 SPECS/subversion.spec:1.246
--- SPECS/subversion.spec:1.245 Fri Mar  6 08:57:33 2009
+++ SPECS/subversion.spec       Thu Mar 12 11:00:55 2009
@@ -87,6 +87,7 @@
 BuildRequires: python >= 2.2
 BuildRequires: python-modules >= 2.2
 %if %{with python}
+BuildRequires: python-ctypesgen
 BuildRequires: python-devel >= 2.2
 BuildRequires: swig-python >= 1.3.24
 %endif
@@ -284,6 +285,23 @@
 %description -n python-subversion -l pt_BR.UTF-8
 Módulos Python para acessar os recursos do Subversion.
 
+%package -n python-csvn
+Summary:       CTypes Subversion Python bindings
+Summary(pl.UTF-8):     Dowiązania do Subversion dla Pythona
+Summary(pt_BR.UTF-8):  Módulos Python para acessar os recursos do Subversion
+Group:         Development/Languages/Python
+%pyrequires_eq python
+Requires:      %{name}-libs = %{version}-%{release}
+
+%description -n python-csvn
+Subversion CTypes Python bindings.
+
+%description -n python-csvn -l pl.UTF-8
+Dowiązania do Subversion dla Pythona używające CTypes.
+
+%description -n python-csvn -l pt_BR.UTF-8
+Módulos Python para acessar os recursos do Subversion.
+
 %package -n perl-subversion
 Summary:       Subversion Perl bindings
 Summary(pl.UTF-8):     Dowiązania do Subversion dla Perla
@@ -406,6 +424,7 @@
 %if !%{with python} && !%{with perl} && !%{with ruby}
        --without-swig \
 %endif
+       %{?with_python:--with-ctypesgen=%{_bindir}/ctypesgen.py} \
        --%{?with_javahl:en}%{!?with_javahl:dis}able-javahl \
 %endif
        --with-jdk="%{java_home}" \
@@ -427,6 +446,9 @@
 %if !%{with net_client_only}
 # python
 %if %{with python}
+# ctypes bindings
+%{__make} ctypes-python
+# swig bindings
 %{__make} swig-py \
        swig_pydir=%{py_sitedir}/libsvn \
        swig_pydir_extra=%{py_sitedir}/svn
@@ -453,6 +475,7 @@
 %if %{with tests}
 %{__make} check
 %if %{with python}
+%{__make} check-ctypes-python
 %{__make} check-swig-py
 %endif
 %if %{with perl}
@@ -478,6 +501,7 @@
 %if !%{with net_client_only}
 %if %{with python}
        install-swig-py \
+       install-ctypes-python \
 %endif
 %if %{with ruby}
        install-swig-rb install-swig-rb-doc \
@@ -722,6 +746,18 @@
 %{py_sitedir}/svn/*.py[co]
 %attr(755,root,root) %{py_sitedir}/libsvn/*.so
 %{_examplesdir}/python-%{name}-%{version}
+
+%files -n python-csvn
+%defattr(644,root,root,755)
+%doc subversion/bindings/ctypes-python/{README,TODO}
+%doc subversion/bindings/ctypes-python/examples/*.py
+%dir %{py_sitescriptdir}/csvn
+%{py_sitescriptdir}/csvn/*.py[co]
+%dir %{py_sitescriptdir}/csvn/core
+%{py_sitescriptdir}/csvn/core/*.py[co]
+%dir %{py_sitescriptdir}/csvn/ext
+%{py_sitescriptdir}/csvn/ext/*.py[co]
+%{py_sitescriptdir}/*.egg-info
 %endif
 
 %if %{with perl}
@@ -779,6 +815,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.246  2009/03/12 10:00:55  arekm
+- package python csvn bindings
+
 Revision 1.245  2009/03/06 07:57:33  arekm
 - doesn't build with non java-sun
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/subversion.spec?r1=1.245&r2=1.246&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to