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