Hello community,

here is the log from the commit of package gnome-sharp2 for openSUSE:Factory
checked in at Thu Jun 16 10:00:07 CEST 2011.



--------
--- GNOME/gnome-sharp2/gnome-sharp2.changes     2010-10-29 20:25:42.000000000 
+0200
+++ /mounts/work_src_done/STABLE/gnome-sharp2/gnome-sharp2.changes      
2011-06-09 10:49:19.000000000 +0200
@@ -1,0 +2,15 @@
+Thu Jun  9 08:35:14 UTC 2011 - [email protected]
+
+- Help the build to choose the right packages by using
+  pkgconfig()-style BuildRequires:
+  + Old ones: glade-sharp2, gtk-sharp2, gtk-sharp2-gapi,
+              mono-devel, gnome-panel-devel, monodoc-core
+  + New ones: mono, mono-cairo, gtk-sharp-2.0, glade-sharp-2.0,
+              gnome-vfs-2.0, libgnomecanvas-2.0, libgnomeui-2.0,
+              gtk+-2.0, gmodule-2.0, gapi-2.0
+- Remove unneeded BuildRequires:
+  + librsvg-devel, vte-devel, gtkhtml2-devel, gnome-panel-devel,
+    update-desktop-files.
+- Spec-cleanup using spec-cleaner
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gnome-sharp2.spec ++++++
--- /var/tmp/diff_new_pack.bstHNY/_old  2011-06-16 09:57:11.000000000 +0200
+++ /var/tmp/diff_new_pack.bstHNY/_new  2011-06-16 09:57:11.000000000 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package gnome-sharp2 (Version 2.24.2)
+# spec file for package gnome-sharp2
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,26 +15,27 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
 %define _name gnome-sharp
 
 Name:           gnome-sharp2
 Version:        2.24.2
-Release:        1
-Url:            http://www.mono-project.com/GtkSharp
+Release:        6
 License:        LGPLv2.1
-Group:          System/GUI/GNOME
 Summary:        Mono bindings for Gnome
-BuildRequires:  glade-sharp2 gtk-sharp2 gtk-sharp2-gapi
-BuildRequires:  librsvg-devel
-BuildRequires:  mono-devel
-BuildRequires:  vte-devel
-BuildRequires:  gnome-panel-devel
-BuildRequires:  monodoc-core
-BuildRequires:  update-desktop-files
-BuildRequires:  gtkhtml2-devel
+Url:            http://www.mono-project.com/GtkSharp
+Group:          System/GUI/GNOME
 Source:         
http://ftp.gnome.org/pub/GNOME/sources/%{_name}/2.24/%{_name}-%{version}.tar.bz2
+BuildRequires:  pkgconfig(gapi-2.0)
+BuildRequires:  pkgconfig(glade-sharp-2.0)
+BuildRequires:  pkgconfig(gmodule-2.0)
+BuildRequires:  pkgconfig(gnome-vfs-2.0)
+BuildRequires:  pkgconfig(gtk+-2.0)
+BuildRequires:  pkgconfig(gtk-sharp-2.0)
+BuildRequires:  pkgconfig(libgnomecanvas-2.0)
+BuildRequires:  pkgconfig(libgnomeui-2.0)
+BuildRequires:  pkgconfig(mono)
+BuildRequires:  pkgconfig(mono-cairo)
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -42,12 +43,12 @@
 
 %package -n gnome-sharp2-complete
 License:        LGPLv2.1
-Group:          System/GUI/GNOME
 Summary:        GTK+ and GNOME bindings for Mono (virtual package)
-Requires:       art-sharp2 = %{version}-%{release}
-Requires:       gconf-sharp2 = %{version}-%{release}
-Requires:       gnome-sharp2 = %{version}-%{release}
-Requires:       gnome-vfs-sharp2 = %{version}-%{release}
+Group:          System/GUI/GNOME
+Requires:       art-sharp2 = %{version}
+Requires:       gconf-sharp2 = %{version}
+Requires:       gnome-sharp2 = %{version}
+Requires:       gnome-vfs-sharp2 = %{version}
 
 %description -n gnome-sharp2-complete
 Gtk# is a library that allows you to build fully native graphical GNOME
@@ -84,13 +85,16 @@
 %setup -q -n %{_name}-%{version}
 
 %build
-export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
-%configure --libexecdir=%{_prefix}/lib --enable-debug
-make
+export CFLAGS="%{optflags} -fno-strict-aliasing"
+%configure \
+    --libexecdir=%{_prefix}/lib \
+    --disable-static \
+    --enable-debug
+make %{?_smp_mflags}
 
 %install
-make install DESTDIR=%{buildroot}
-rm -f %{buildroot}%{_libdir}/*.*a
+%makeinstall
+find %{buildroot} -type f -name '*.la' -delete -print
 
 %clean
 rm -rf %{buildroot}


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to