Author: shadzik                      Date: Thu Jul 23 17:49:02 2009 GMT
Module: packages                      Tag: DEVEL
---- Log message:
- 4.3rc3
- bconded smoke and ruby (they don't build at all so disable them by default)
- fix dotnet bcond and %files issue

---- Files affected:
packages/kde4-kdebindings:
   kde4-kdebindings.spec (1.22.2.4 -> 1.22.2.5) 

---- Diffs:

================================================================
Index: packages/kde4-kdebindings/kde4-kdebindings.spec
diff -u packages/kde4-kdebindings/kde4-kdebindings.spec:1.22.2.4 
packages/kde4-kdebindings/kde4-kdebindings.spec:1.22.2.5
--- packages/kde4-kdebindings/kde4-kdebindings.spec:1.22.2.4    Fri Jul 10 
10:07:47 2009
+++ packages/kde4-kdebindings/kde4-kdebindings.spec     Thu Jul 23 19:48:56 2009
@@ -2,6 +2,8 @@
 #
 # Conditional build:
 %bcond_without dotnet  # build without dotnet bindings
+%bcond_with    smoke   # build libsmokekde
+%bcond_with    ruby    # build ruby bindings
 
 %define                _state          unstable
 %define                orgname         kdebindings
@@ -11,12 +13,12 @@
 Summary:       KDE bindings to non-C++ languages
 Summary(pl.UTF-8):     Dowiązania KDE dla języków innych niż C++
 Name:          kde4-kdebindings
-Version:       4.2.96
+Version:       4.2.98
 Release:       1
 License:       GPL
 Group:         X11/Applications
 Source0:       
ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.bz2
-# Source0-md5: b85be1ab3de88650b7f22ae7e0a2cf5e
+# Source0-md5: 23778a672635c8dd4cc46ee1d00765c1
 #Patch0:       %{name}-csharp.patch
 BuildRequires: QtGui-devel >= %{qtver}
 BuildRequires: QtUiTools-devel >= %{qtver}
@@ -36,8 +38,8 @@
 BuildRequires: python-sip >= 4.8
 BuildRequires: qscintilla2-devel
 BuildRequires: rpmbuild(macros) >= 1.213
-BuildRequires: ruby-devel
-BuildRequires: ruby-qt4-devel
+%{?with_ruby:BuildRequires:    ruby-devel}
+%{?with_smoke:BuildRequires:   ruby-qt4-devel}
 #BuildConflicts:       qt-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -193,6 +195,8 @@
        -DCMAKE_INSTALL_PREFIX=%{_prefix} \
        -DSYSCONF_INSTALL_DIR=%{_sysconfdir} \
        -DCMAKE_BUILD_TYPE=%{!?debug:release}%{?debug:debug} \
+       -DBUILD_smoke=%{!?with_smoke:OFF}%{?with_smoke:ON} \
+       -DBUILD_ruby=%{!?with_ruby:OFF}%{?with_ruby:ON} \
 %if "%{_lib}" == "lib64"
        -DLIB_SUFFIX=64 \
 %endif
@@ -231,6 +235,7 @@
 %post  ruby-qt -p /sbin/ldconfig
 %postun        ruby-qt -p /sbin/ldconfig
 
+%if %{with dotnet}
 %files kimono
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/kde4/kimonopluginfactory.so
@@ -294,7 +299,9 @@
 %{_pkgconfigdir}/qttest-sharp.pc
 %{_pkgconfigdir}/qtuitools-sharp.pc
 %{_pkgconfigdir}/qtwebkit-sharp.pc
+%endif
 
+%if %{with smoke}
 %files smoke-qt
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libsmokeqt.so.*.*.*
@@ -354,7 +361,9 @@
 %dir %{_includedir}/smoke
 %{_includedir}/smoke/*.h
 %{_includedir}/smoke.h
+%endif
 
+%if %{with ruby}
 %files ruby-qt
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/rbqtapi
@@ -427,6 +436,7 @@
 %attr(755,root,root) %{_libdir}/libqtruby4shared.so
 %dir %{_includedir}/qtruby
 %{_includedir}/qtruby/*.h
+%endif
 
 %files -n python-PyKDE4
 %defattr(644,root,root,755)
@@ -486,6 +496,11 @@
 * %{date} PLD Team <[email protected]>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 $Log$
+Revision 1.22.2.5  2009/07/23 17:48:56  shadzik
+- 4.3rc3
+- bconded smoke and ruby (they don't build at all so disable them by default)
+- fix dotnet bcond and %files issue
+
 Revision 1.22.2.4  2009/07/10 08:07:47  paszczus
 - updated to 4.2.96 (some unpackaged files)
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/kde4-kdebindings/kde4-kdebindings.spec?r1=1.22.2.4&r2=1.22.2.5&f=u

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

Reply via email to