packages: kde4-kdebase-workspace/kde4-kdebase-workspace.spec, kde4-kdebase-...

arekm arekm at pld-linux.org
Tue Jan 5 14:41:58 CET 2010


Author: arekm                        Date: Tue Jan  5 13:41:58 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 4; python-plasma subpackage

---- Files affected:
packages/kde4-kdebase-workspace:
   kde4-kdebase-workspace.spec (1.185 -> 1.186) , kde4-kdebase-workspace-python.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/kde4-kdebase-workspace/kde4-kdebase-workspace.spec
diff -u packages/kde4-kdebase-workspace/kde4-kdebase-workspace.spec:1.185 packages/kde4-kdebase-workspace/kde4-kdebase-workspace.spec:1.186
--- packages/kde4-kdebase-workspace/kde4-kdebase-workspace.spec:1.185	Fri Dec 18 13:02:43 2009
+++ packages/kde4-kdebase-workspace/kde4-kdebase-workspace.spec	Tue Jan  5 14:41:53 2010
@@ -2,7 +2,7 @@
 # TODO:
 # - subpackage PolicyKit-kde and O: PolicyKit-kde
 # NOTE:
-# - don't add BR: python-PyQT4 + python-PyKDE4 for plasma-python-scripts-crap
+# - don't add BR: python-PyQT4 + python-PyKDE4 for python-plasma
 #
 %define		oname		kdebase-workspace
 %define		_state		stable
@@ -12,7 +12,7 @@
 Summary(pl.UTF-8):	Podstawowe komponenty środowiska KDE 4
 Name:		kde4-kdebase-workspace
 Version:	4.3.4
-Release:	2
+Release:	3
 License:	GPL v2+
 Group:		X11/Applications
 Source0:	ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{oname}-%{version}.tar.bz2
@@ -34,6 +34,7 @@
 Patch0:		%{name}-rootprivs.patch
 Patch1:		%{name}-kdmconfig.patch
 Patch2:		%{name}-trunk-fixes.patch
+Patch3:		%{name}-python.patch
 URL:		http://www.kde.org/
 BuildRequires:	ConsoleKit-devel
 BuildRequires:	NetworkManager-devel >= 0.7.0-0.svn4027.1
@@ -525,12 +526,22 @@
 %description svg-icons -l pl.UTF-8
 Motyw ikon do KDE - oxygen. Ten pakiet zawiera ikony SVG.
 
+%package -n python-plasma
+Summary:	Python plasma for KDE
+Group:		Libraries/Python
+Requires:	%{name}-plasma = %{version}-%{release}
+Requires:	python-PyKDE4
+
+%description -n python-plasma
+Python plasma for KDE.
+
 %prep
 %setup -q -n %{oname}-%{version}
 %patch100 -p1
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 install -d build
@@ -1622,12 +1633,22 @@
 %defattr(644,root,root,755)
 %{_datadir}/apps/ksplash/Themes/SimpleSmall
 
+%files -n python-plasma
+%defattr(644,root,root,755)
+%{py_sitedir}/PyKDE4/plasmascript.py[co]
+%dir %{_datadir}/apps/plasma_scriptengine_python
+%{_datadir}/apps/plasma_scriptengine_python/*.py[co]
+%{_datadir}/kde4/services/*.desktop
+
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.186  2010/01/05 13:41:53  arekm
+- rel 4; python-plasma subpackage
+
 Revision 1.185  2009/12/18 12:02:43  arekm
 - rel 2; qt 4.6 fix
 

================================================================
Index: packages/kde4-kdebase-workspace/kde4-kdebase-workspace-python.patch
diff -u /dev/null packages/kde4-kdebase-workspace/kde4-kdebase-workspace-python.patch:1.1
--- /dev/null	Tue Jan  5 14:41:58 2010
+++ packages/kde4-kdebase-workspace/kde4-kdebase-workspace-python.patch	Tue Jan  5 14:41:53 2010
@@ -0,0 +1,14 @@
+--- kdebase-workspace-4.3.4/CMakeLists.txt~	2009-11-27 14:01:58.000000000 +0100
++++ kdebase-workspace-4.3.4/CMakeLists.txt	2010-01-05 14:23:22.615963105 +0100
+@@ -59,10 +59,7 @@
+ endif(PYQT4_FOUND AND PYQT4_VERSION STRLESS "040400")
+ 
+ macro_optional_find_package(PyKDE4)
+-set(PythonSupport_FOUND FALSE)
+-if(PYTHONLIBRARY_FOUND AND SIP_FOUND AND PYQT4_FOUND AND PYKDE4_FOUND)
+-  set(PythonSupport_FOUND TRUE)
+-endif(PYTHONLIBRARY_FOUND AND SIP_FOUND AND PYQT4_FOUND AND PYKDE4_FOUND)
++set(PythonSupport_FOUND TRUE)
+ 
+ macro_log_feature(PythonSupport_FOUND "Python" "KDE Python support" "http://techbase.kde.org/Development/Languages/Python" FALSE "" "Needed to build plasma scriptengine for Python")
+ #### End Python support ####
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/kde4-kdebase-workspace/kde4-kdebase-workspace.spec?r1=1.185&r2=1.186&f=u



More information about the pld-cvs-commit mailing list