rpms/libbtctl/devel libbtctl.spec,1.24,1.25

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Thu Feb 23 09:30:58 UTC 2006


Author: harald

Update of /cvs/dist/rpms/libbtctl/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv26943

Modified Files:
	libbtctl.spec 
Log Message:
added gtk-sharp arch deps


Index: libbtctl.spec
===================================================================
RCS file: /cvs/dist/rpms/libbtctl/devel/libbtctl.spec,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- libbtctl.spec	23 Feb 2006 08:36:13 -0000	1.24
+++ libbtctl.spec	23 Feb 2006 09:30:44 -0000	1.25
@@ -1,3 +1,8 @@
+%ifarch %ix86 x86_64 ppc ia64 armv4l sparc s390 s390x
+%define with_mono 1
+%else
+%define with_mono 0
+%endif
 Summary: Library for the GNOME Bluetooth Subsystem
 Name: libbtctl
 Version: 0.6.0
@@ -10,7 +15,11 @@
 Requires: python-abi = %{pyver}
 BuildRoot: %{_tmppath}/%{name}-root
 BuildRequires: autoconf >= 0:2.57 bluez-libs-devel glib2-devel gtk-doc openobex-devel >= 0:1.1 python pygtk2-devel gtk2-devel
+
+%if %{with_mono}
 BuildRequires: mono-devel gtk-sharp-gapi gtk-sharp
+%endif
+
 ExcludeArch: s390 s390x
 Patch1: libbtctl-0.6.0-libdir.patch
 Patch2: libbtctl-0.4.1-pydir.patch
@@ -40,8 +49,12 @@
 autoconf
 
 %build
-%configure 
-#--disable-mono
+%configure \
+%if %{with_mono}
+	;
+%else
+	--disable-mono
+%endif
 make
 
 %install
@@ -67,10 +80,11 @@
 %doc AUTHORS COPYING ChangeLog NEWS README 
 %{_libdir}/lib*.so.*
 %{_libdir}/python?.?/site-packages/*btctl*
+%if %{with_mono}
 %{_libdir}/mono/gac/btctl/*/btctl.dll
 %{_libdir}/mono/libbtctl/btctl.dll
 %{_datadir}/gapi/btctl-api.xml
-
+%endif
 
 %files devel
 %defattr(-, root, root)
@@ -79,8 +93,9 @@
 %{_libdir}/pkgconfig/libbtctl.pc
 %{_includedir}/libbtctl
 %{_datadir}/gtk-doc/html/libbtctl
+%if %{with_mono}
 %{_libdir}/pkgconfig/libbtctl-sharp.pc
-
+%endif
 
 %changelog
 * Thu Feb 16 2006 Harald Hoyer <harald at redhat.com> 0.6.0-1




More information about the fedora-cvs-commits mailing list