[9472] | 1 | %define mono_dir %{_prefix}/lib/mono |
---|
[521] | 2 | %define _name gnome-sharp |
---|
[9472] | 3 | |
---|
[521] | 4 | Summary: .Net Language Bindings for Gnome |
---|
| 5 | Summary(ja): Mono 用 GNOME バインディング |
---|
| 6 | Name: gnome-sharp2 |
---|
[9472] | 7 | Version: 2.24.2 |
---|
| 8 | Release: 1%{?_dist_release} |
---|
| 9 | License: LGPLv2+ |
---|
| 10 | Group: System Environment/Libraries |
---|
[521] | 11 | URL: http://gtk-sharp.sf.net |
---|
[9472] | 12 | |
---|
[521] | 13 | Source: %{_name}-%{version}.tar.bz2 |
---|
| 14 | Patch2: gnome-sharp-find_gtkhtml_ver.patch |
---|
[2014] | 15 | Patch3: gnome-sharp-2.24.1-TestXfer.patch |
---|
[9472] | 16 | |
---|
[521] | 17 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[9472] | 18 | BuildRequires: gtk-sharp2-devel |
---|
| 19 | BuildRequires: gtk-sharp2-gapi |
---|
[521] | 20 | BuildRequires: librsvg2-devel |
---|
| 21 | BuildRequires: mono-devel monodoc |
---|
[9472] | 22 | #BuildRequires: vte-devel gtkhtml3-devel |
---|
[2347] | 23 | BuildRequires: libSM-devel |
---|
[8068] | 24 | BuildRequires: libgnomeui-devel |
---|
[9472] | 25 | Provides: gnome-sharp2-devel = %{version}-%{release} |
---|
[521] | 26 | %define env_options export MONO_SHARED_DIR=/tmp |
---|
| 27 | |
---|
[8068] | 28 | Vendor: Project Vine |
---|
| 29 | Distribution: Vine Linux |
---|
| 30 | |
---|
[521] | 31 | %description |
---|
| 32 | This package contains Mono bindings for Gnome. |
---|
| 33 | |
---|
| 34 | |
---|
| 35 | %package -n gnome-sharp2-complete |
---|
| 36 | Summary: GTK+ and GNOME bindings for Mono (virtual package) |
---|
[9472] | 37 | Group: System Environment/Libraries |
---|
[521] | 38 | Requires: art-sharp2 = %{version}-%{release} |
---|
| 39 | Requires: gconf-sharp2 = %{version}-%{release} |
---|
| 40 | Requires: gnome-sharp2 = %{version}-%{release} |
---|
| 41 | Requires: gnome-vfs-sharp2 = %{version}-%{release} |
---|
| 42 | |
---|
| 43 | %description -n gnome-sharp2-complete |
---|
| 44 | Gtk# is a library that allows you to build fully native graphical GNOME |
---|
| 45 | applications using Mono. Gtk# is a binding to GTK+, the cross platform |
---|
| 46 | user interface toolkit used in GNOME. It includes bindings for Gtk, |
---|
| 47 | Atk, Pango, Gdk, libgnome, libgnomeui and libgnomecanvas. (Virtual |
---|
| 48 | package which depends on all gtk-sharp2 subpackages) |
---|
| 49 | |
---|
| 50 | |
---|
| 51 | %package -n gnome-vfs-sharp2 |
---|
| 52 | Summary: Mono bindings for gnomevfs |
---|
[9472] | 53 | Summary(ja): gnomevfs の Mono バインディング |
---|
| 54 | Group: System Environment/Libraries |
---|
[521] | 55 | Requires: gnome-vfs2 |
---|
[9472] | 56 | Provides: gnome-vfs-sharp2-devel = %{version}-%{release} |
---|
[521] | 57 | |
---|
| 58 | %description -n gnome-vfs-sharp2 |
---|
| 59 | This package contains Mono bindings gnomevfs. |
---|
| 60 | |
---|
| 61 | %package -n art-sharp2 |
---|
| 62 | Summary: Mono bindings for libart |
---|
[9472] | 63 | Summary(ja): libart の Mono バインディング |
---|
| 64 | Group: System Environment/Libraries |
---|
[521] | 65 | Requires: libart_lgpl |
---|
[9472] | 66 | Provides: art-sharp2-devel = %{version}-%{release} |
---|
[521] | 67 | |
---|
| 68 | %description -n art-sharp2 |
---|
| 69 | This package contains Mono bindings for libart. |
---|
| 70 | |
---|
| 71 | %package -n gconf-sharp2 |
---|
| 72 | Summary: Mono bindings for gconf |
---|
[9472] | 73 | Summary(ja): GConf の Mono バインディング |
---|
| 74 | Group: System Environment/Libraries |
---|
| 75 | Provides: gconf-sharp2-devel = %{version}-%{release} |
---|
[521] | 76 | |
---|
| 77 | %description -n gconf-sharp2 |
---|
| 78 | This package contains Mono bindings for gconf and gconf peditors. |
---|
| 79 | |
---|
| 80 | |
---|
| 81 | %prep |
---|
| 82 | %setup -q -n %{_name}-%{version} |
---|
[2014] | 83 | %patch3 -p1 -b .TestXfer |
---|
| 84 | autoreconf -f -i |
---|
[521] | 85 | |
---|
| 86 | |
---|
| 87 | %build |
---|
| 88 | export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir} |
---|
| 89 | export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" |
---|
| 90 | %configure \ |
---|
| 91 | --libexecdir=%{_prefix}/lib \ |
---|
| 92 | --enable-debug |
---|
| 93 | make |
---|
| 94 | |
---|
| 95 | %install |
---|
| 96 | export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir} |
---|
| 97 | %makeinstall |
---|
| 98 | |
---|
| 99 | ## remove unuse files |
---|
| 100 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.*a |
---|
| 101 | rm -f $RPM_BUILD_ROOT%{_prefix}/lib/debug/%{_libdir}/libgnomesharpglue-2.so.debug |
---|
| 102 | rm -f $RPM_BUILD_ROOT%{_prefix}/src/debug/gnome-sharp-*/gnome/glue/*.c |
---|
| 103 | |
---|
| 104 | %clean |
---|
| 105 | rm -rf $RPM_BUILD_ROOT |
---|
| 106 | |
---|
| 107 | |
---|
| 108 | %files -n gnome-sharp2-complete |
---|
| 109 | %defattr(-, root, root) |
---|
| 110 | ## This is the 'base' package so we put the common dirs of all in this package |
---|
| 111 | # Otherwise, this package doesn't get created! |
---|
| 112 | %dir %{mono_dir}/gtk-sharp-2.0 |
---|
| 113 | %dir %{_prefix}/lib/gtk-sharp-2.0 |
---|
| 114 | |
---|
| 115 | %files -n gnome-sharp2 |
---|
| 116 | %defattr(-,root,root) |
---|
[9472] | 117 | %doc COPYING ChangeLog |
---|
[521] | 118 | %{_libdir}/libgnomesharpglue-2.so |
---|
| 119 | %{_libdir}/pkgconfig/gnome-sharp-2.0.pc |
---|
| 120 | %{mono_dir}/gac/*gnome-sharp |
---|
| 121 | %{mono_dir}/gtk-sharp-2.0/*gnome-sharp.dll |
---|
| 122 | %{_datadir}/gapi-2.0/gnome-api.xml |
---|
| 123 | |
---|
| 124 | %files -n gnome-vfs-sharp2 |
---|
| 125 | %defattr(-,root,root) |
---|
| 126 | %{_libdir}/pkgconfig/gnome-vfs-sharp-2.0.pc |
---|
| 127 | %{mono_dir}/gac/*gnome-vfs-sharp |
---|
| 128 | %{mono_dir}/gtk-sharp-2.0/*gnome-vfs-sharp.dll |
---|
| 129 | %{_datadir}/gapi-2.0/gnome-vfs-api.xml |
---|
| 130 | |
---|
| 131 | %files -n art-sharp2 |
---|
| 132 | %defattr(-,root,root) |
---|
| 133 | %{_libdir}/pkgconfig/art-sharp-2.0.pc |
---|
| 134 | %{mono_dir}/gac/*art-sharp |
---|
| 135 | %{mono_dir}/gtk-sharp-2.0/*art-sharp.dll |
---|
| 136 | %{_datadir}/gapi-2.0/art-api.xml |
---|
| 137 | |
---|
| 138 | %files -n gconf-sharp2 |
---|
| 139 | %defattr(-, root, root) |
---|
| 140 | %{_bindir}/gconfsharp2-schemagen |
---|
| 141 | %{_libdir}/pkgconfig/gconf-sharp-2.0.pc |
---|
| 142 | %{_prefix}/lib/gtk-sharp-2.0/gconfsharp-schemagen.exe |
---|
| 143 | %{mono_dir}/gac/*gconf-sharp |
---|
| 144 | %{mono_dir}/gtk-sharp-2.0/*gconf-sharp.dll |
---|
| 145 | # Other distros place these in gnome-sharp2?? |
---|
| 146 | %{_libdir}/pkgconfig/gconf-sharp-peditors-2.0.pc |
---|
| 147 | %{mono_dir}/gac/*gconf-sharp-peditors |
---|
| 148 | %{mono_dir}/gtk-sharp-2.0/*gconf-sharp-peditors.dll |
---|
| 149 | |
---|
| 150 | |
---|
| 151 | %changelog |
---|
[9472] | 152 | * Sat Mar 28 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.24.2-1 |
---|
| 153 | - updated to 2.24.2 |
---|
| 154 | - built with mono 3.12.1 |
---|
| 155 | - remove BR: vte-devel, gtkhtml3-devel |
---|
| 156 | |
---|
[8068] | 157 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.24.1-8 |
---|
| 158 | - rebuild with VineSeed environment |
---|
| 159 | - add BuildRequires: libgnomeui-devel |
---|
| 160 | |
---|
[2347] | 161 | * Tue Dec 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.24.1-7 |
---|
| 162 | - add BuildRequires: libSM-devel |
---|
| 163 | |
---|
[2014] | 164 | * Sat Oct 09 2010 Shu KONNO <owa@bg.wakwak.com> 2.24.1-6 |
---|
| 165 | - added gnome-sharp-2.24.1-TestXfer.patch |
---|
| 166 | - rebuilt with mono-2.8 |
---|
| 167 | |
---|
[1867] | 168 | * Wed Sep 22 2010 IWAI, Masaharu <iwai@alib.jp> 2.24.1-5 |
---|
| 169 | - build with rpm-4.8.1-1 for pkg-config file |
---|
| 170 | |
---|
[1449] | 171 | * Mon Jul 26 2010 Shu KONNO <owa@bg.wakwak.com> 2.24.1-4 |
---|
| 172 | - rebuilt with new environment |
---|
| 173 | |
---|
[521] | 174 | * Wed Jul 08 2009 Shu KONNO <owa@bg.wakwak.com> 2.24.1-3 |
---|
| 175 | - rebuilt with latest rpm to update mono-dependencies |
---|
| 176 | - dropt BR: libgnomedb-devel |
---|
| 177 | |
---|
| 178 | * Sun Apr 19 2009 Shu KONNO <owa@bg.wakwak.com> 2.24.1-2 |
---|
| 179 | - changed Group to Development/Libraries |
---|
| 180 | |
---|
| 181 | * Sun Apr 05 2009 Shu KONNO <owa@bg.wakwak.com> 2.24.1-1 |
---|
| 182 | - updated to 2.24.1 |
---|
| 183 | |
---|
| 184 | * Wed Sep 17 2008 Shu KONNO <owa@bg.wakwak.com> 2.20.0-1 |
---|
| 185 | - initial build for VineSeed |
---|
| 186 | - updated gnome-sharp2 to 2.20.0 |
---|
| 187 | - added japanese summary |
---|
| 188 | - applied vine versioning policy |
---|
| 189 | - spec in utf-8 |
---|
| 190 | |
---|
| 191 | * Thu Apr 24 2008 wberrier@suse.de |
---|
| 192 | - Update to 2.12.1 |
---|
| 193 | * Bugfix in GLib ref management for Gnome.Program crash in |
---|
| 194 | gnome-sharp |
---|
| 195 | * Thu Apr 3 2008 wberrier@novell.com |
---|
| 196 | - Can now build 2.16 and 2.20 from the same spec |
---|
| 197 | - Update to 2.20.0 |
---|
| 198 | - Updated bindings to coincide with gtk# 2.12 |
---|
| 199 | - Removed bindings: gtkhtml#, rsvg#, and vte# |
---|
| 200 | * Wed Mar 26 2008 wberrier@novell.com |
---|
| 201 | - Update to 2.16.1 |
---|
| 202 | - Allow storage of empty lists in gconf |
---|
| 203 | - Bug fixes: |
---|
| 204 | - [GConf] Impossible to set empty list values (bnc#325516) |
---|
| 205 | - Comment #8 of bnc#327058 (incorrect p/invoke bindings) |
---|
| 206 | * Tue Jul 3 2007 wberrier@suse.de |
---|
| 207 | - Initial package of gnome-sharp2 2.16.0 |
---|
| 208 | - (Split from gtk-sharp 2.8.3) |
---|