Author: charles                      Date: Mon Apr 24 19:05:17 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to snap 20060422 (works with KDE 3.5.2)
- official version is 3.15.2, added Epoch 1
- BR: sip >= 2:4.4.1
- added -devel subpackage

---- Files affected:
SPECS:
   python-PyKDE.spec (1.35 -> 1.36) 

---- Diffs:

================================================================
Index: SPECS/python-PyKDE.spec
diff -u SPECS/python-PyKDE.spec:1.35 SPECS/python-PyKDE.spec:1.36
--- SPECS/python-PyKDE.spec:1.35        Sat Jan 14 17:52:53 2006
+++ SPECS/python-PyKDE.spec     Mon Apr 24 21:05:11 2006
@@ -1,23 +1,24 @@
 # $Revision$, $Date$
 %define                module          PyKDE
-%define                snap            20051013
+%define                snap            20060422
 
 Summary:       Python bindings for KDE
 Summary(pl):   Dowiązania do KDE dla Pythona
 Name:          python-%{module}
-Version:       4.0.0
-Release:       0.%{snap}.1
+Version:       3.15.2
+Release:       %{snap}.1
+Epoch:         1
 License:       GPL
 Group:         Libraries/Python
-Source0:       
http://www.river-bank.demon.co.uk/download/PyKDE2/PyKDE-snapshot%{snap}.tar.gz
-# Source0-md5: 2e9d02b0b42b2892e5cf925d1ef7b6f6
+Source0:       
http://www.riverbankcomputing.com/Downloads/PyKDE3/%{module}-snapshot%{snap}.tar.gz
+# Source0-md5: 3e6a41f3fc5f759713ba7fd3f70635b0
 Patch0:                %{name}-debian-4.patch
 URL:           http://www.riverbankcomputing.co.uk/pykde/index.php
 BuildRequires: kdelibs-devel >= 3.1
-BuildRequires: python-devel
 BuildRequires: python-PyQt-devel >= 3.13-2
 BuildRequires: rpm-pythonprov
-%pyrequires_eq python
+BuildRequires: sip >= 2:4.4.1
+%pyrequires_eq python-libs
 Requires:      OpenGL
 Requires:      python-PyQt >= 3.13
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -40,20 +41,32 @@
 bibliotekom w pakiecie kdelibs. PyKDE wspiera prawie wszystkie klasy i
 metody w wymienionych bibliotekach.
 
+%package devel
+Summary:       Files needed to build other bindings based on KDE
+Summary(pl):   Pliki potrzebne do budowania innych dowiązań bazowanych na KDE
+Group:         Development/Languages/Python
+Requires:      %{name} = %{epoch}:%{version}-%{release}
+Requires:      python-sip-devel
+
+%description devel
+Files needed to build other bindings for C++ classes that inherit from
+any of the KDE classes.
+
+%description devel -l pl
+Pliki potrzebne do budowania innych dowiązań do klas C++ dziedziczących
+z dowolnej klasy KDE.
+
 %prep
 %setup -q -n PyKDE-snapshot%{snap}
 
 %build
 python configure.py \
+       -c -j 3 \
        -d %{py_sitedir} \
        -n %{_libdir} \
-       -v %{_sipfilesdir} \
-       -c -j 3
+       -v %{_sipfilesdir}
 
-%{__make} \
-       CXX="%{__cxx}" \
-       CXXFLAGS="%{rpmcflags} -fPIC -pipe -w -D_REENTRANT" \
-       LINK="%{__cxx}"
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -76,7 +89,10 @@
 %attr(755,root,root) %{_bindir}/*
 %{py_sitedir}/*.py[co]
 %{py_sitedir}/*.so
-%{_datadir}/sip/*
+
+%files devel
+%defattr(644,root,root,755)
+%{_sipfilesdir}/*
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -84,6 +100,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.36  2006/04/24 19:05:11  charles
+- updated to snap 20060422 (works with KDE 3.5.2)
+- official version is 3.15.2, added Epoch 1
+- BR: sip >= 2:4.4.1
+- added -devel subpackage
+
 Revision 1.35  2006/01/14 16:52:53  glen
 - package kdepyuic, needed by initng/gui/runlevelEditor build
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/python-PyKDE.spec?r1=1.35&r2=1.36&f=u

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

Reply via email to