Name: gtk-sharp2 Version: 2.12.45 Release: 15%{?dist} Summary: GTK+ and GNOME bindings for Mono License: LGPLv2+ URL: http://www.mono-project.com/GtkSharp Source0: http://download.mono-project.com/sources/gtk-sharp212/gtk-sharp-%{version}.tar.gz Patch0: gtk-sharp2-2.12.12-glib-include.patch Patch1: gtk-sharp2-2.12.12-gtkrange.patch BuildRequires: mono-devel gtk2-devel libglade2-devel monodoc BuildRequires: autoconf, automake, libtool BuildRequires: perl-generators BuildRequires: make # Mono only available on these: ExclusiveArch: %mono_arches %description This package provides a library that allows you to build fully native graphical GNOME applications using Mono. Gtk# is a binding to GTK+, the cross platform user interface toolkit used in GNOME. It includes bindings for Gtk, Atk, Pango, Gdk. %package gapi Summary: Glib and GObject C source parser and C generator for the creation and maintenance of managed bindings for Mono and .NET Requires: perl-XML-LibXML-Common perl-XML-LibXML perl-XML-SAX %description gapi This package provides developer tools for the creation and maintenance of managed bindings to native libraries which utilize glib and GObject. Some examples of libraries currently bound using the GAPI tools and found in Gtk# include Gtk, Atk, Pango, Gdk. %package devel Summary: Files needed for developing with gtk-sharp2 Requires: %{name} = %{version}-%{release} Requires: pkgconfig %description devel This package provides the necessary development libraries and headers for writing gtk-sharp2 applications. %package doc Summary: Gtk# documentation Requires: %{name} = %{version}-%{release} Requires: monodoc %description doc This package provides the Gtk# documentation for monodoc. %prep %setup -q -n gtk-sharp-%{version} %patch0 -p1 -b .glib %patch1 -p1 # Fix permissions of source files find -name '*.c' -exec chmod a-x {} \; %build autoreconf -vif export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir} %configure make %install export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir} make install DESTDIR=$RPM_BUILD_ROOT #Remove libtool archive and static libs find %{buildroot} -type f -name "*.la" -delete find %{buildroot} -type f -name "*.a" -delete %ldconfig_scriptlets %files %doc COPYING ChangeLog README %{_libdir}/*.so %dir %{_prefix}/lib/gtk-sharp-2.0 %{_prefix}/lib/mono/gac %{_prefix}/lib/mono/gtk-sharp-2.0 %files gapi %{_bindir}/gapi2-codegen %{_bindir}/gapi2-fixup %{_bindir}/gapi2-parser %{_prefix}/lib/gtk-sharp-2.0/gapi_codegen.exe %{_prefix}/lib/gtk-sharp-2.0/gapi-fixup.exe %{_prefix}/lib/gtk-sharp-2.0/gapi-parser.exe %{_prefix}/lib/gtk-sharp-2.0/gapi_pp.pl %{_prefix}/lib/gtk-sharp-2.0/gapi2xml.pl %{_datadir}/gapi-2.0 %{_libdir}/pkgconfig/gapi-2.0.pc %files devel %{_libdir}/pkgconfig/*-sharp-2.0.pc %{_libdir}/pkgconfig/gtk-dotnet-2.0.pc %files doc %{_prefix}/lib/monodoc/sources/* %changelog * Thu Jan 20 2022 Fedora Release Engineering - 2.12.45-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 2.12.45-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 2.12.45-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 2.12.45-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Feb 21 2020 Timotheus Pokorra - 2.12.45-11 - enable docs again * Mon Feb 03 2020 Timotheus Pokorra - 2.12.45-10 - fix issue with latest Mono 6: ambiguous reference between System.Range and Gtk.Range - built without docs because mdoc.exe is not built with Mono 6 and mcs anymore * Wed Jan 29 2020 Fedora Release Engineering - 2.12.45-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Jul 31 2019 Tom Callaway - 2.12.45-8 - rebuild for auto-provides/requires * Thu Jul 25 2019 Fedora Release Engineering - 2.12.45-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 2.12.45-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 2.12.45-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 2.12.45-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Aug 02 2017 Fedora Release Engineering - 2.12.45-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 2.12.45-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon Jun 26 2017 Timotheus Pokorra - 2.12.45-1 - Update to 2.12.45 * Thu Apr 06 2017 Timotheus Pokorra - 2.12.43-1 - Update to 2.12.43 * Fri Feb 10 2017 Fedora Release Engineering - 2.12.42-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Nov 17 2016 Timotheus Pokorra - 2.12.42-1 - Update to 2.12.42 * Thu Oct 13 2016 Fedora Release Engineering - 2.12.26-4 - mono rebuild for aarch64 support * Wed Feb 03 2016 Fedora Release Engineering - 2.12.26-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 2.12.26-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Mon May 18 2015 Peter Robinson 2.12.26-1 - Update to 2.12.26 * Mon May 18 2015 Peter Robinson 2.12.11-14 - Rebuild (mono4) * Mon Mar 23 2015 Than Ngo - 2.12.11-13 - use %%mono_arches * Sat Aug 16 2014 Fedora Release Engineering - 2.12.11-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 2.12.11-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat May 24 2014 Brent Baude - 2.12.11-10 - Changing ppc64 to power64 macro * Sat Aug 03 2013 Fedora Release Engineering - 2.12.11-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Jul 17 2013 Petr Pisar - 2.12.11-8 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 2.12.11-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Jul 19 2012 Fedora Release Engineering - 2.12.11-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jan 13 2012 Fedora Release Engineering - 2.12.11-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Dec 06 2011 Adam Jackson - 2.12.11-4 - Rebuild for new libpng * Sun Oct 23 2011 Christian Krause - 2.12.11-3 - Fix glib include * Sun Oct 23 2011 Christian Krause - 2.12.11-2 - Change paths for mono assemblies according to updated packaging guidelines (http://fedoraproject.org/wiki/Packaging:Mono) * Sun Sep 04 2011 Christian Krause - 2.12.11-1 - Update to new upstream version * Wed Jun 01 2011 Paul Whalen - 2.12.10-8 - Updated to arm macro in ExclusiveArch * Mon Mar 28 2011 Christian Krause - 2.12.10-7 - Minor spec file cleanup - Rebuilt against mono 2.10 * Wed Feb 09 2011 Fedora Release Engineering - 2.12.10-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Nov 24 2010 Dan HorĂ¡k - 2.12.10-5 - sync ExclusiveArch list with mono * Thu Oct 28 2010 Christian Krause - 2.12.10-4 - Rebuild again to create correct requires/provides capabilities * Sat Oct 09 2010 Paul F. Johnson 2.12.10-4 - Rebuild for new mono - Alter exported CAIRO_LIB to 2.0 * Mon Apr 05 2010 Christian Krause - 2.12.10-3 - Add missing BR monodoc * Mon Apr 05 2010 Christian Krause - 2.12.10-2 - Fix monodoc integration (#550144) * Fri Apr 02 2010 Christian Krause - 2.12.10-1 - Update to new upstream version - Minor spec file cleanup * Wed Sep 09 2009 Paul F. Johnson 2.12.9-1 - Bump to newer version - Fixed doc patch - Spec file cleanup * Fri Jul 24 2009 Fedora Release Engineering - 2.12.7-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Sat May 23 2009 Xavier lamien - 2.12.7-5 - Build ppc64. * Tue May 12 2009 Karsten Hopp 2.12.7-4.1 - mono is available on s390(x) * Tue Feb 24 2009 Fedora Release Engineering - 2.12.7-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Tue Dec 30 2008 Dennis Gilmore - 2.12.7-3 - build 32 bit sparc sparcv9 * Sat Dec 20 2008 Xavier lamien - 2.12.7-2 - Rebuild. * Fri Dec 12 2008 Xavier lamien - 2.12.7-1 - Update release. * Mon Dec 8 2008 Matthias Clasen - 2.12.5-2 - Rebuild to fix pkg-config autoprovides * Sat Nov 08 2008 Xavier Lamien - 2.12.5-1 - Update release. * Wed Oct 22 2008 Xavier Lamien - 2.12.4-1 - Update release. * Thu Sep 18 2008 Nigel Jones - 2.12.3-1 - New minor release (.3) * Mon Jul 14 2008 Xavier Lamien - 2.12.1-3 - Fix/Update libdir on GACUTIL & monodoc. * Mon Jul 14 2008 Alex Lancaster - 2.12.1-2 - Rebuild for fixed RPM for mono provides. * Sun Jul 13 2008 Xavier Lamien - 2.12.1-1 - Update release. * Sat May 31 2008 Xavier Lamien - 2.12.0-2 - Fixed monodoc libdir. * Fri May 23 2008 Xavier Lamien - 2.12.0-1 - Updated Release. * Mon Mar 03 2008 Xavier Lamien - 2.10.3-2 - Fixed Assembly_dir on Rawhide (bug #434286). * Wed Feb 27 2008 Xavier Lamien - 2.10.3-1 - Updated Release. - Updated -libdir.patch against new release. * Tue Jan 01 2008 Xavier Lamien - 2.10.2-1 - Updated Release. - Fixed lisence tag. - Fixed source0 path. * Tue Aug 28 2007 Fedora Release Engineering - 2.10.0-6 - Rebuild for selinux ppc32 issue. * Thu Jul 26 2007 Matthias Clasen - 2.10.4-5 - Add alpha to ExclusiveArch (#246206) * Tue Apr 17 2007 Alexander Larsson 2.10.0-4 - Rebuild (#236295) * Tue Sep 12 2006 Alexander Larsson - 2.10.0-3 - Add -doc subpackage with the monodoc docs (#205561) * Mon Sep 11 2006 Alexander Larsson - 2.10.0-2 - Fix pc files for gapidir (#205979) * Mon Aug 21 2006 Matthias Clasen - 2.10.0-1.fc6 - Update to 2.10.0 * Fri Aug 18 2006 Matthias Clasen - 2.9.0-2.fc6 - Fix pkgconfig requires * Mon Aug 14 2006 Alexander Larsson - 2.9.0-1 - update to 2.9.0, which splits out gnome stuff to gnome-sharp - Split out devel package * Wed Jul 12 2006 Jesse Keating - sh: line 0: fg: no job control - rebuild * Fri Jun 9 2006 Alexander Larsson - 2.8.2-2 - Disable on s390* as mono doesn't build on s390 atm * Fri Mar 3 2006 Christopher Aillon - 2.8.2-1 - Update to 2.8.2 to fix an issue with marshalling on x86-64 * Fri Feb 10 2006 Christopher Aillon - 2.8.1-1 - Update to 2.8.1 * Tue Feb 07 2006 Jesse Keating - 2.8.0-1.1 - rebuilt for new gcc4.1 snapshot and glibc changes * Tue Jan 31 2006 Christopher Aillon 2.8.0-1 - Update to 2.8.0 * Thu Jan 19 2006 Alexander Larsson 2.4.0-3 - Mono now builds on s390x * Mon Jan 9 2006 Alexander Larsson - 2.4.0-2 - Fix vte build * Tue Nov 15 2005 Alexander Larsson - 2.4.0-1 - Initial version