%define name gtk-sharp2 %define oname gtk-sharp %define version 2.12.4 %define release %mkrel 1 %define mono 1.0.2 %define monodir %_prefix/lib/mono Summary: C# language binding for the gtk+ toolkit Name: %name Version: %version Release: %release License: LGPLv2 Group: System/Libraries URL: http://gtk-sharp.sourceforge.net/ Source0: ftp://ftp.gnome.org/pub/GNOME/sources/gtk-sharp/%oname-%version.tar.bz2 BuildRoot: %_tmppath/%name-buildroot Requires: glib-sharp2 = %version BuildRequires: mono-devel >= %mono BuildRequires: libglade2.0-devel BuildRequires: libxslt-devel BuildRequires: monodoc %description Gtk-sharp is a C# language binding for the gtk+ toolkit. %package devel Summary: C# code generation tools for %name Group: Development/Other %description devel This contains the code generation tools of gtk-sharp. It is needed for building C# wrappers for GObject APIs. %package -n glib-sharp2 Summary: C# binding for glib Group: System/Libraries Requires: mono >= %mono %description -n glib-sharp2 Glib-sharp is a C# language binding for glib. %package -n glade-sharp2 Summary: C# binding for glade Group: System/Libraries Requires: %name = %version %description -n glade-sharp2 Glade-sharp is a C# language binding for glade. %package doc Summary: Documentation for gtk-sharp Group: Development/Other Requires(post): mono-tools >= 1.1.9 Requires(postun): mono-tools >= 1.1.9 Conflicts: monodoc < 1.1.9 %description doc Gtk-sharp is a C# language binding for the gtk+ toolkit. This package provides documentation for gtk-sharp. %prep rm -rf %buildroot %setup -q -n %oname-%version %build %configure2_5x make %install rm -rf %buildroot %makeinstall rm -rf %buildroot%_libdir/lib*a %clean rm -rf %buildroot %post doc %_bindir/monodoc --make-index > /dev/null %postun doc if [ "$1" = "0" -a -x %_bindir/monodoc ]; then %_bindir/monodoc --make-index > /dev/null fi %files %defattr(-,root,root) %monodir/gac/*atk-sharp %monodir/gac/*gdk-sharp %monodir/gac/*gtk-dotnet %monodir/gac/*gtk-sharp %monodir/gac/*pango-sharp %monodir/%oname-2.0/*atk-sharp.dll* %monodir/%oname-2.0/*gdk-sharp.dll* %monodir/%oname-2.0/*gtk-sharp.dll* %monodir/%oname-2.0/*gtk-dotnet.dll* %monodir/%oname-2.0/*pango-sharp.dll* %_libdir/libatksharpglue-2.so %_libdir/libgdksharpglue-2.so %_libdir/libgtksharpglue-2.so %_libdir/libpangosharpglue-2.so %_libdir/pkgconfig/gtk-sharp-2.0.pc %_libdir/pkgconfig/gtk-dotnet-2.0.pc %files -n glib-sharp2 %defattr(-,root,root) %monodir/gac/*glib-sharp %monodir/%oname-2.0/*glib-sharp.dll* %_libdir/libglibsharpglue-2.so %_libdir/pkgconfig/glib-sharp-2.0.pc %files -n glade-sharp2 %defattr(-,root,root) %monodir/gac/*glade-sharp %monodir/%oname-2.0/*glade-sharp.dll* %_libdir/pkgconfig/glade-sharp-2.0.pc %_libdir/libgladesharpglue-2.so %files doc %defattr(-,root,root) %doc ChangeLog README README.generator #*[^makefile|README] %doc sample %_prefix/lib/monodoc/sources/gtk* %files devel %defattr(-,root,root) %_bindir/* %_datadir/gapi-2.0/ %_libdir/pkgconfig/gapi-2.0.pc %_prefix/lib/%oname-2.0/ %changelog * Wed Sep 24 2008 Götz Waschk <waschk@mandriva.org> 2.12.4-1mdv2009.0 + Revision: 287696 - new version * Wed Sep 10 2008 Götz Waschk <waschk@mandriva.org> 2.12.3-1mdv2009.0 + Revision: 283601 - new version - update license * Thu Aug 21 2008 Götz Waschk <waschk@mandriva.org> 2.12.2-1mdv2009.0 + Revision: 274496 - new version * Wed Aug 06 2008 Thierry Vignaud <tvignaud@mandriva.com> 2.12.1-2mdv2009.0 + Revision: 264646 - rebuild early 2009.0 package (before pixel changes) * Tue Apr 22 2008 Götz Waschk <waschk@mandriva.org> 2.12.1-1mdv2009.0 + Revision: 196695 - new version * Wed Mar 05 2008 Götz Waschk <waschk@mandriva.org> 2.12.0-1mdv2008.1 + Revision: 179395 - new version - update file list * Fri Jan 25 2008 Götz Waschk <waschk@mandriva.org> 2.11.91-1mdv2008.1 + Revision: 157849 - new version + Thierry Vignaud <tvignaud@mandriva.com> - rebuild - kill re-definition of %%buildroot on Pixel's request + Olivier Blin <oblin@mandriva.com> - restore BuildRoot * Thu Aug 30 2007 Götz Waschk <waschk@mandriva.org> 2.10.2-1mdv2008.0 + Revision: 75598 - new version - drop patch * Fri Jul 20 2007 Götz Waschk <waschk@mandriva.org> 2.10.1-3mdv2008.0 + Revision: 53764 - split out devel package * Fri Jul 20 2007 Götz Waschk <waschk@mandriva.org> 2.10.1-2mdv2008.0 + Revision: 53758 - fix callback generator * Mon Jun 18 2007 Götz Waschk <waschk@mandriva.org> 2.10.1-1mdv2008.0 + Revision: 41122 - new version * Mon Feb 19 2007 Götz Waschk <waschk@mandriva.org> 2.10.0-2mdv2007.0 + Revision: 122675 - Import gtk-sharp2 * Mon Feb 19 2007 Götz Waschk <waschk@mandriva.org> 2.10.0-2mdv2007.1 - Rebuild * Wed Aug 23 2006 Götz Waschk <waschk@mandriva.org> 2.10.0-1mdv2007.0 - source URL - New release 2.10.0 * Wed Aug 09 2006 Götz Waschk <waschk@mandriva.org> 2.9.0-1mdv2007.0 - drop patch - remove gnome packages - fix source URL - New release 2.9.0 * Wed Jul 19 2006 Götz Waschk <waschk@mandriva.org> 2.8.3-2mdv2007.0 - fix postun script * Sat Jul 08 2006 Götz Waschk <waschk@mandriva.org> 2.8.3-1mdv2007.0 - patch for new vte - New release 2.8.3 * Sat Jun 24 2006 Götz Waschk <waschk@mandriva.org> 2.8.2-2mdv2007.0 - new vte * Sun Mar 05 2006 Götz Waschk <waschk@mandriva.org> 2.8.2-1mdk - New release 2.8.2 * Fri Feb 10 2006 Götz Waschk <waschk@mandriva.org> 2.8.1-1mdk - source URL - New release 2.8.1 * Wed Jan 25 2006 Götz Waschk <waschk@mandriva.org> 2.8.0-1mdk - update file list - New release 2.8.0 - use mkrel * Wed Nov 09 2005 Götz Waschk <waschk@mandriva.org> 2.4.0-1mdk - New release 2.4.0 * Thu Oct 13 2005 Götz Waschk <waschk@mandriva.org> 2.3.92-1mdk - update file list - drop merged patch - New release 2.3.92 * Thu Sep 29 2005 Götz Waschk <waschk@mandriva.org> 2.3.91-4mdk - move monodoc files to the doc package - fix post* scripts * Mon Sep 12 2005 Götz Waschk <waschk@mandriva.org> 2.3.91-3mdk - fix post script * Mon Sep 12 2005 Götz Waschk <waschk@mandriva.org> 2.3.91-2mdk - update file list - conflicts with old monodoc - add monodoc to the post script * Sun Sep 11 2005 Götz Waschk <waschk@mandriva.org> 2.3.91-1mdk - add the docs - New release 2.3.91 * Fri Aug 26 2005 Götz Waschk <waschk@mandriva.org> 2.3.90-1mdk - bump gtkhtml deps - remove gda and gnome-db - New release 2.3.90 * Tue May 24 2005 Götz Waschk <waschk@mandriva.org> 1.9.5-2mdk - fix deps, mono-find-requires isn't enough * Sat May 21 2005 Götz Waschk <waschk@mandriva.org> 1.9.5-1mdk - update file list - New release 1.9.5 * Tue May 10 2005 Götz Waschk <waschk@mandriva.org> 1.9.3.1-1mdk - New release 1.9.3.1 * Tue May 03 2005 Götz Waschk <waschk@mandriva.org> 1.9.3-2mdk - fix build for x86_64 * Sat Apr 23 2005 Götz Waschk <waschk@mandriva.org> 1.9.3-1mdk - bump gtkhtml deps - New release 1.9.3 * Wed Mar 09 2005 Götz Waschk <waschk@linux-mandrake.com> 1.9.2-1mdk - add dotnet dll - remove panel files, merged into the gnome dll - New release 1.9.2 * Mon Dec 27 2004 Götz Waschk <waschk@linux-mandrake.com> 1.9.1-1mdk - spec fixes - New release 1.9.1 * Wed Nov 10 2004 Götz Waschk <waschk@linux-mandrake.com> 1.9.0-1mdk - initial package * Fri Nov 05 2004 Götz Waschk <waschk@linux-mandrake.com> 1.0.4-1mdk - fix URL - New release 1.0.4 * Wed Sep 29 2004 Götz Waschk <waschk@linux-mandrake.com> 1.0.2-1mdk - drop patch, back to gtkhtml-3.0 - New release 1.0.2 * Thu Jul 29 2004 Götz Waschk <waschk@linux-mandrake.com> 1.0-4mdk - rebuild for new rpm * Mon Jul 12 2004 Frederic Crozat <fcrozat@mandrakesoft.com> 1.0-3mdk - Add conflicts to ease upgrade from 10.0 * Wed Jul 07 2004 Götz Waschk <waschk@linux-mandrake.com> 1.0-2mdk - update gtkhtml patch and deps * Fri Jul 02 2004 Götz Waschk <waschk@linux-mandrake.com> 1.0-1mdk - remove docs - fix source URL - new version * Tue Jun 22 2004 Götz Waschk <waschk@linux-mandrake.com> 0.98-2mdk - fix doc package group * Thu Jun 17 2004 Götz Waschk <waschk@linux-mandrake.com> 0.98-1mdk - add libpangosharpglue to libgtksharpglue package - add installed xml docs - fix installation - requires new mono - fix groups - new version * Mon Jun 07 2004 Götz Waschk <waschk@linux-mandrake.com> 0.93-6mdk - fix devel deps again (no need for vte and gtkhtml, they are only dlopened) - update patch to really use new gtkhtml * Sun Jun 06 2004 Marcel Pol <mpol@mandrake.org> 0.93-5mdk - manually add requires for devel packages - build against new gtkhtml * Sat Jun 05 2004 Marcel Pol <mpol@mandrake.org> 0.93-4mdk - split package - place gapi files in glib-sharp * Sat Jun 05 2004 Götz Waschk <waschk@linux-mandrake.com> 0.93-3mdk - add vte deps (thanks Quel Qun) - use libgtkhtml-3.1_9 * Fri Jun 04 2004 Götz Waschk <waschk@linux-mandrake.com> 0.93-2mdk - fix deps * Thu Jun 03 2004 Götz Waschk <waschk@linux-mandrake.com> 0.93-1mdk - drop perl files - requires new mono - new version * Thu May 06 2004 Götz Waschk <waschk@linux-mandrake.com> 0.91.1-1mdk - fix file list - requires new mono - buildrequires monodoc - add source URL - new version * Sat Apr 10 2004 Götz Waschk <waschk@linux-mandrake.com> 0.18-2mdk - rebuild for new croco * Sun Apr 04 2004 Götz Waschk <waschk@linux-mandrake.com> 0.18-1mdk - fix doc file listing - new version * Fri Mar 12 2004 Frederic Crozat <fcrozat@mandrakesoft.com> 0.17-2mdk - Rebuild against latest gtkhtml/gal * Mon Mar 01 2004 Götz Waschk <waschk@linux-mandrake.com> 0.17-1mdk - fix some rpmlint warnings - fix buildrequires - new version