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