rpms/kdebindings/F-10 kdebindings.spec,1.149,1.150

Rex Dieter rdieter at fedoraproject.org
Fri Feb 20 14:16:26 UTC 2009


Author: rdieter

Update of /cvs/pkgs/rpms/kdebindings/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv1816

Modified Files:
	kdebindings.spec 
Log Message:
* Mon Feb 16 2009 Rex Dieter <rdieter at fedoraproject.org> - 4.2.0-4
- include toggle for PyKDE4-akonadi subpkg (not enabled)
- PyKDE4: move examples to -devel pkg
- PyKDE4: make dep on PyQt4 versioned
- PyKDE4: Provides: -akonadi, Requires: kdepimlibs-akonadi
- PyKDE4(-devel): adjust description/summary



Index: kdebindings.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kdebindings/F-10/kdebindings.spec,v
retrieving revision 1.149
retrieving revision 1.150
diff -u -r1.149 -r1.150
--- kdebindings.spec	24 Jan 2009 03:58:46 -0000	1.149
+++ kdebindings.spec	20 Feb 2009 14:15:56 -0000	1.150
@@ -1,18 +1,14 @@
 # FIXME/TODO: BRs for Java (krossjava), C# (qyoto, kimono) and PHP (php-qt) support?
-# IMHO this one really needs to be split into subpackages, we don't want to pull
-# in e.g. the whole Ruby, OpenJDK and Mono stacks for a PyKDE app! -- Kevin
-# FIXME/TODO: Do we want to enable the optional Ruby bindings which are off by
-# default? There are bindings for QScintilla, Plasma and Nepomuk/Soprano. -- Kevin
 
 # define to enable these optional bits
 #define csharp 1
-#define falcon 1
+%define falcon 1
 #define php 1
 %define ruby 1
 %define smoke 1
-# define to build kde-plasma-ruby bits, needs QtRuby-devel bootstrap
-# FIXME/TODO: ping upstream so it uses the just-built rbuic4
-#define kde_plasma_ruby 1
+
+#define pykde4_akonadi 1
+%define pyqt4_version 4.4.4
 
 %if 0%{?ruby}%{?smoke}
 %define devel 1
@@ -26,7 +22,7 @@
 
 Name: kdebindings
 Version: 4.2.0
-Release: 1%{?dist}
+Release: 4%{?dist}
 Summary: KDE bindings to non-C++ languages
 
 Group: User Interface/Desktops
@@ -42,17 +38,15 @@
 BuildRequires:  kdegraphics-devel >= %{version}
 BuildRequires:  kdelibs4-devel >= %{version}
 BuildRequires:  kdepimlibs-devel >= %{version}
+%{?falcon:BuildRequires:  Falcon-devel >= 0.8.12}
 %{?csharp:BuildRequires:  mono-core}
 BuildRequires:  python-devel
 %{?ruby:BuildRequires:  ruby-devel ruby}
-BuildRequires:  PyQt4-devel >= 4.4.2
+BuildRequires:  PyQt4-devel >= %{pyqt4_version} 
 %if 0%{?fedora} > 8
 BuildRequires:  qscintilla-devel >= 2.2
 %endif
 BuildRequires:  soprano-devel
-%if 0%{?kde_plasma_ruby}
-BuildRequires:  QtRuby-devel
-%endif
 
 Requires: kdelibs4 >= %{version}
 
@@ -65,18 +59,32 @@
 Group:    Development/Languages
 Summary:  Python bindings for KDE4
 Requires: kdelibs4 >= %{version}
-Requires: PyQt4
+Requires: PyQt4 >= %{pyqt4_version}
+%if ! 0%{?pykde4_akonadi}
+Provides: PyKDE4-akonadi%{?_isa} = %{version}-%{release}
+Requires: kdepimlibs-akonadi%{?_isa} = %{version}
+%endif
 %description -n PyKDE4
-Header files for developing applications using %{name}.
+%{summary}.
+
+%package -n PyKDE4-akonadi
+Summary: Akonadi runtime support for PyKDE4 
+Group: Development/Languages 
+Requires: PyKDE4 = %{version}-%{release}
+Requires: kdepimlibs-akonadi%{?_isa} = %{version} 
+%description -n PyKDE4-akonadi 
+%{summary}.
 
 %package -n PyKDE4-devel
 Group:    Development/Languages
-Summary:  Files needed to build other bindings based on KDE4
+Summary:  Files needed to build PyKDE4-based applications
 Requires: PyQt4-devel
 Requires: PyKDE4 = %{version}-%{release}
+%if 0%{?pykde4_akonadi}
+Requires: PyKDE4-akonadi%{?_isa} = %{version}-%{release}
+%endif
 %description -n PyKDE4-devel
-Files needed to build other bindings for C++ classes that inherit from any
-of the KDE4 classes.
+%{summary}.
 
 %package devel
 Group:    Development/Libraries
@@ -120,20 +128,6 @@
 Provides: QtRuby4-devel = %{version}-%{release}
 %description -n QtRuby-devel
 %{summary}.
-
-%package -n kde-plasma-ruby-digitalclock
-Group:    User Interface/Desktops
-Summary:  Digital clock plasmoid written in Ruby
-Requires: korundum = %{version}-%{release}
-%description -n kde-plasma-ruby-digitalclock
-%{summary}.
-
-%package -n kde-plasma-ruby-analogclock
-Group:    User Interface/Desktops
-Summary:  Analog clock plasmoid written in Ruby
-Requires: korundum = %{version}-%{release}
-%description -n kde-plasma-ruby-analogclock
-%{summary}.
 %endif
 
 %package -n kross-python
@@ -144,7 +138,6 @@
 %description -n kross-python
 Python plugin for the Kross archtecture in KDE4.
 
-%if 0%{?ruby}
 %package -n kross-ruby
 Group:    Development/Languages
 Summary:  Kross plugin for ruby
@@ -153,18 +146,28 @@
 Provides: kross(ruby) = %{version}-%{release}
 %description -n kross-ruby
 Ruby plugin for the Kross archtecture in KDE4.
-%endif
+
+%package -n kross-falcon
+Group:    Development/Languages
+Summary:  Kross plugin for falcon
+Requires: Falcon >= 0.8.12
+Requires: kdelibs4 >= %{version}
+Provides: kross(falcon) = %{version}-%{release}
+%description -n kross-falcon
+Falcon plugin for the Kross archtecture in KDE4.
 
 
 %prep
 %setup -q
 
+
 %build
 mkdir -p %{_target_platform}
 pushd %{_target_platform}
 # FIXME/TODO: Get csharp to compile
 %{cmake_kde4} \
   %{!?csharp:-DBUILD_csharp=OFF} \
+  %{?falcon:-DBUILD_falcon=ON -DENABLE_KROSSFALCON=ON} \
   %{!?php:-DBUILD_php=OFF} \
   %{!?ruby:-DBUILD_ruby=OFF} %{?ruby:-DRUBY_SITE_LIB_DIR=%{ruby_sitelib} -DRUBY_SITE_ARCH_DIR=%{ruby_sitearch}} \
   %{!?smoke:-DBUILD_smoke=OFF} \
@@ -172,7 +175,7 @@
 popd
 
 # smp build not recommended (upstream)
-make -C %{_target_platform} VERBOSE=1
+make -C %{_target_platform}
 
 
 %install
@@ -210,12 +213,20 @@
 %defattr(-,root,root,-)
 %doc COPYING
 %{python_sitearch}/PyKDE4/
-%{_kde4_appsdir}/pykde4/
+%dir %{_kde4_appsdir}/pykde4/
+%{_kde4_appsdir}/pykde4/*.py*
 %{_kde4_libdir}/kde4/kpythonpluginfactory.so
 
+%if 0%{?pykde4_akonadi}
+%exclude %{python_sitearch}/PyKDE4/akonadi.so
+%files -n PyKDE4-akonadi
+%defattr(-,root,root,-)
+%{python_sitearch}/PyKDE4/akonadi.so
+%endif
+
 %files -n PyKDE4-devel
 %defattr(-,root,root,-)
-#doc %{_kde4_docdir}/HTML/en/pykde4/
+%{_kde4_appsdir}/pykde4/examples/
 %{_kde4_datadir}/sip/PyKDE4/
 
 %if 0%{?ruby}
@@ -278,22 +289,29 @@
 %files -n kross-ruby
 %defattr(-,root,root,-)
 %{_kde4_libdir}/kde4/krossruby.so
+%endif
 
-%if 0%{?kde_plasma_ruby}
-%files -n kde-plasma-ruby-analogclock
-%defattr(-,root,root,-)
-%{_kde4_sharedir}/kde4/apps/plasma_applet_ruby_clock/
-%{_kde4_sharedir}/kde4/services/plasma-applet-ruby-analogclock.desktop
-
-%files -n kde-plasma-ruby-digitalclock
+%if 0%{?falcon}
+%files -n kross-falcon
 %defattr(-,root,root,-)
-%{_kde4_sharedir}/kde4/apps/plasma_ruby_digital_clock/
-%{_kde4_sharedir}/kde4/services/plasma-ruby-digital-clock-default.desktop
-%endif
+%{_kde4_libdir}/kde4/krossfalcon.so
 %endif
 
 
 %changelog
+* Mon Feb 16 2009 Rex Dieter <rdieter at fedoraproject.org> - 4.2.0-4
+- include toggle for PyKDE4-akonadi subpkg (not enabled)
+- PyKDE4: move examples to -devel pkg
+- PyKDE4: make dep on PyQt4 versioned
+- PyKDE4: Provides: -akonadi, Requires: kdepimlibs-akonadi
+- PyKDE4(-devel): adjust description/summary
+
+* Sun Feb 9 2009 Ben Boeckel <MathStuf at gmail.com> - 4.2.0-3
+- Enabled Falcon for Kross (min version met)
+
+* Sat Jan 24 2009 Ben Boeckel <MathStuf at gmail.com> - 4.2.0-2
+- Removed Ruby examples; killed upstream
+
 * Thu Jan 22 2009 Than Ngo <than at redhat.com> - 4.2.0-1
 - 4.2.0
 




More information about the fedora-extras-commits mailing list