[521] | 1 | %define mono_dir %(/usr/bin/monodir) |
---|
| 2 | %define _name gtk-sharp |
---|
| 3 | Name: gtk-sharp2 |
---|
[769] | 4 | Version: 2.12.10 |
---|
[2014] | 5 | Release: 4%{?_dist_release} |
---|
[521] | 6 | Summary: GTK+ bindings for Mono |
---|
| 7 | Summary(ja): Mono 用 GTK+ バインディング |
---|
[824] | 8 | Group: System Environment/Libraries |
---|
[521] | 9 | License: LGPL |
---|
| 10 | URL: http://gtk-sharp.sf.net |
---|
| 11 | Source: http://ftp.gnome.org/pub/gnome/sources/%{_name}/2.12/%{_name}-%{version}.tar.bz2 |
---|
| 12 | Patch1: gtk-sharp2-vtelibs.patch |
---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[824] | 14 | BuildRequires: mono-devel |
---|
| 15 | BuildRequires: monodoc |
---|
| 16 | BuildRequires: glib2-devel >= 2.12.0 |
---|
| 17 | BuildRequires: pango-devel |
---|
| 18 | BuildRequires: atk-devel |
---|
| 19 | BuildRequires: gtk2-devel >= 2.12.0 |
---|
| 20 | BuildRequires: libglade2-devel |
---|
[521] | 21 | BuildRequires: automake, libtool |
---|
| 22 | # Mono only availible on these: |
---|
| 23 | ExclusiveArch: %{ix86} x86_64 ppc ia64 armv4l sparc s390 s390x |
---|
| 24 | |
---|
| 25 | %description |
---|
| 26 | This package provides a library that allows you to build |
---|
| 27 | fully native graphical GNOME applications using Mono. Gtk# |
---|
| 28 | is a binding to GTK+, the cross platform user interface |
---|
| 29 | toolkit used in GNOME. It includes bindings for Gtk, Atk, |
---|
| 30 | Pango, Gdk, libgnome, libgnomeui and libgnomecanvas. Gtk# |
---|
| 31 | 2.4.x binds GTK+ 2.4. |
---|
| 32 | |
---|
| 33 | %package gapi |
---|
| 34 | Group: Development/Languages |
---|
| 35 | Summary: Glib and GObject C source parser and C generator for the creation and maintenance of managed bindings for Mono and .NET |
---|
| 36 | Requires: perl-XML-LibXML-Common perl-XML-LibXML perl-XML-SAX |
---|
| 37 | |
---|
| 38 | %description gapi |
---|
| 39 | This package provides developer tools for the creation and |
---|
| 40 | maintainance of managed bindings to native libraries which utilize |
---|
| 41 | glib and GObject. Some examples of libraries currently bound using |
---|
| 42 | the GAPI tools and found in Gtk# include Gtk, Atk, Pango, Gdk, |
---|
| 43 | libgnome, libgnomeui and libgnomecanvas. |
---|
| 44 | |
---|
| 45 | |
---|
| 46 | %prep |
---|
| 47 | %setup -q -n %{_name}-%{version} |
---|
| 48 | |
---|
| 49 | %if 0 |
---|
| 50 | %patch1 -p1 -b .vte |
---|
| 51 | ## need to re-automake for gtk-sharp2-vtelibs.patch |
---|
| 52 | aclocal-1.7 |
---|
| 53 | libtoolize --force |
---|
| 54 | automake-1.7 --add-missing |
---|
| 55 | autoconf |
---|
| 56 | %endif |
---|
| 57 | |
---|
| 58 | |
---|
| 59 | %build |
---|
| 60 | export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir} |
---|
| 61 | %configure |
---|
| 62 | make |
---|
| 63 | |
---|
| 64 | %install |
---|
| 65 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
| 66 | export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir} |
---|
| 67 | make install DESTDIR=$RPM_BUILD_ROOT GACUTIL_FLAGS="/package gtk-sharp /gacdir %{_prefix}/lib /root ${RPM_BUILD_ROOT}%{_prefix}/lib" |
---|
| 68 | |
---|
| 69 | ## remove unused files |
---|
| 70 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.a |
---|
| 71 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
| 72 | |
---|
| 73 | mv $RPM_BUILD_ROOT%{mono_dir}/gtk-sharp $RPM_BUILD_ROOT%{mono_dir}/gtk-sharp-2.0 |
---|
| 74 | |
---|
| 75 | |
---|
| 76 | %clean |
---|
| 77 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
| 78 | |
---|
| 79 | |
---|
| 80 | %files |
---|
| 81 | %defattr(-,root,root,-) |
---|
| 82 | %doc COPYING ChangeLog README |
---|
| 83 | %{_libdir}/libatksharpglue-2.so |
---|
| 84 | %{_libdir}/libgdksharpglue-2.so |
---|
| 85 | %{_libdir}/libgladesharpglue-2.so |
---|
| 86 | %{_libdir}/libglibsharpglue-2.so |
---|
| 87 | %{_libdir}/libgtksharpglue-2.so |
---|
| 88 | %{_libdir}/libpangosharpglue-2.so |
---|
| 89 | %{_libdir}/pkgconfig/*-sharp-2.0.pc |
---|
| 90 | %{_libdir}/pkgconfig/gtk-dotnet-2.0.pc |
---|
| 91 | %dir %{_prefix}/lib/gtk-sharp-2.0 |
---|
| 92 | %{mono_dir}/gac/atk-sharp |
---|
| 93 | %{mono_dir}/gac/gdk-sharp |
---|
| 94 | %{mono_dir}/gac/glade-sharp |
---|
| 95 | %{mono_dir}/gac/glib-sharp |
---|
| 96 | %{mono_dir}/gac/gtk-dotnet |
---|
| 97 | %{mono_dir}/gac/gtk-sharp |
---|
| 98 | %{mono_dir}/gac/pango-sharp |
---|
| 99 | %{mono_dir}/gac/policy.2.10.* |
---|
| 100 | %{mono_dir}/gac/policy.2.4.* |
---|
| 101 | %{mono_dir}/gac/policy.2.6.* |
---|
| 102 | %{mono_dir}/gac/policy.2.8.* |
---|
| 103 | %{mono_dir}/gtk-sharp-2.0 |
---|
| 104 | %{_prefix}/lib/monodoc/sources/gtk-sharp-docs.* |
---|
| 105 | |
---|
| 106 | %files gapi |
---|
| 107 | %defattr(-,root,root,-) |
---|
| 108 | %{_bindir}/gapi2-codegen |
---|
| 109 | %{_bindir}/gapi2-fixup |
---|
| 110 | %{_bindir}/gapi2-parser |
---|
| 111 | %{_prefix}/lib/gtk-sharp-2.0/gapi-fixup.exe |
---|
| 112 | %{_prefix}/lib/gtk-sharp-2.0/gapi-parser.exe |
---|
| 113 | %{_prefix}/lib/gtk-sharp-2.0/gapi_codegen.exe |
---|
| 114 | %{_prefix}/lib/gtk-sharp-2.0/gapi2xml.pl |
---|
| 115 | %{_prefix}/lib/gtk-sharp-2.0/gapi_pp.pl |
---|
| 116 | %{_libdir}/pkgconfig/gapi-2.0.pc |
---|
| 117 | %{_prefix}/share/gapi-2.0 |
---|
| 118 | |
---|
| 119 | %changelog |
---|
[2014] | 120 | * Fri Oct 08 2010 Shu KONNO <owa@bg.wakwak.com> 2.12.10-4 |
---|
| 121 | - rebuilt with mono-2.8 |
---|
| 122 | |
---|
[1867] | 123 | * Wed Sep 22 2010 IWAI, Masaharu <iwai@alib.jp> 2.12.10-3 |
---|
| 124 | - build with rpm-4.8.1-1 for pkg-config file |
---|
| 125 | |
---|
[824] | 126 | * Wed Apr 14 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.12.10-2 |
---|
| 127 | - updated build dependencies |
---|
| 128 | |
---|
[769] | 129 | * Thu Apr 08 2010 Shu KONNO <owa@bg.wakwak.com> 2.12.10-1 |
---|
| 130 | - updated gtk-sharp to 2.12.10 |
---|
| 131 | |
---|
[521] | 132 | * Sun Dec 27 2009 Shu KONNO <owa@bg.wakwak.com> 2.12.9-2 |
---|
| 133 | - rebuilt with mono-2.6.1 |
---|
| 134 | |
---|
| 135 | * Wed Jul 08 2009 Shu KONNO <owa@bg.wakwak.com> 2.12.9-1 |
---|
| 136 | - updated gtk-sharp to 2.12.9 |
---|
| 137 | - built with latest rpm to update mono-dependencies |
---|
| 138 | |
---|
| 139 | * Sun Apr 05 2009 Shu KONNO <owa@bg.wakwak.com> 2.12.8-1vl5 |
---|
| 140 | - updated gtk-sharp to 2.12.8 |
---|
| 141 | |
---|
| 142 | * Mon Dec 29 2008 Shu KONNO <owa@bg.wakwak.com> 2.12.5-1vl5 |
---|
| 143 | - updated gtk-sharp to 2.12.5 |
---|
| 144 | |
---|
| 145 | * Wed Sep 17 2008 Shu KONNO <owa@bg.wakwak.com> 2.12.3-1vl5 |
---|
| 146 | - updated gtk-sharp to 2.12.3 |
---|
| 147 | - dropt gtk-sharp2-vtelibs.patch |
---|
| 148 | - built with mono-2.0 |
---|
| 149 | |
---|
| 150 | * Wed Aug 27 2008 Shu KONNO <owa@bg.wakwak.com> 2.8.2-2vl5 |
---|
| 151 | - applied new versioning policy, spec in utf-8 |
---|
| 152 | - use automake-1.7 |
---|
| 153 | |
---|
| 154 | * Sun Apr 2 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.8.2-1vl1 |
---|
| 155 | - rebuilt for Vine Linux |
---|
| 156 | |
---|
| 157 | * Fri Mar 3 2006 Christopher Aillon <caillon@redhat.com> - 2.8.2-1 |
---|
| 158 | - Update to 2.8.2 to fix an issue with marshalling on x86-64 |
---|
| 159 | |
---|
| 160 | * Fri Feb 10 2006 Christopher Aillon <caillon@redhat.com> - 2.8.1-1 |
---|
| 161 | - Update to 2.8.1 |
---|
| 162 | |
---|
| 163 | * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.8.0-1.1 |
---|
| 164 | - rebuilt for new gcc4.1 snapshot and glibc changes |
---|
| 165 | |
---|
| 166 | * Tue Jan 31 2006 Christopher Aillon <caillon@redhat.com> 2.8.0-1 |
---|
| 167 | - Update to 2.8.0 |
---|
| 168 | |
---|
| 169 | * Thu Jan 19 2006 Alexander Larsson <alexl@redhat.com> 2.4.0-3 |
---|
| 170 | - Mono now builds on s390x |
---|
| 171 | |
---|
| 172 | * Mon Jan 9 2006 Alexander Larsson <alexl@redhat.com> - 2.4.0-2 |
---|
| 173 | - Fix vte build |
---|
| 174 | |
---|
| 175 | * Tue Nov 15 2005 Alexander Larsson <alexl@redhat.com> - 2.4.0-1 |
---|
| 176 | - Initial version |
---|