rpms/kdebindings/devel kdebindings.spec,1.171,1.172

Ben Boeckel mathstuf at fedoraproject.org
Sun Feb 8 06:53:50 UTC 2009


Author: mathstuf

Update of /cvs/pkgs/rpms/kdebindings/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv13518

Modified Files:
	kdebindings.spec 
Log Message:
Added kross-falcon


Index: kdebindings.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kdebindings/devel/kdebindings.spec,v
retrieving revision 1.171
retrieving revision 1.172
diff -u -r1.171 -r1.172
--- kdebindings.spec	24 Jan 2009 18:24:01 -0000	1.171
+++ kdebindings.spec	8 Feb 2009 06:53:17 -0000	1.172
@@ -3,7 +3,7 @@
 # define to enable these optional bits
 #define csharp 1
 # Waiting for Falcon >= 0.8.12, bug #476119
-#define falcon 1
+%define falcon 1
 #define php 1
 %define ruby 1
 %define smoke 1
@@ -20,7 +20,7 @@
 
 Name: kdebindings
 Version: 4.2.0
-Release: 2%{?dist}
+Release: 3%{?dist}
 Summary: KDE bindings to non-C++ languages
 
 Group: User Interface/Desktops
@@ -36,6 +36,7 @@
 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}
@@ -132,17 +133,29 @@
 Ruby plugin for the Kross archtecture in KDE4.
 %endif
 
+%if 0%{?falcon}
+%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.
+%endif
+
 
 %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=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} \
@@ -258,8 +271,17 @@
 %{_kde4_libdir}/kde4/krossruby.so
 %endif
 
+%if 0%{?falcon}
+%files -n kross-falcon
+%defattr(-,root,root,-)
+%{_kde4_libdir}/kde4/krossfalcon.so
+%endif
+
 
 %changelog
+* 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
 




More information about the fedora-extras-commits mailing list