[521] | 1 | %define mono_dir %(/usr/bin/monodir) |
---|
| 2 | Name: gtksourceview-sharp2 |
---|
| 3 | Summary: GtkSourceView bindings for Mono |
---|
| 4 | Summary(ja): Mono 用 GtkSourceView バインディング |
---|
| 5 | Version: 0.12 |
---|
[3701] | 6 | Release: 4%{?_dist_release} |
---|
[521] | 7 | License: GNU General Public License (GPL) |
---|
| 8 | Group: Development/Libraries/Other |
---|
| 9 | URL: http://www.go-mono.org |
---|
| 10 | Source: http://mono.ximian.com/monobuild/preview/sources/%{name}/gtksourceview-sharp-2.0-%{version}.tar.bz2 |
---|
[2014] | 11 | Patch0: gtksourceview-sharp2-gnome-print.patch |
---|
[521] | 12 | BuildArch: noarch |
---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 14 | BuildRequires: gtksourceview-devel |
---|
| 15 | BuildRequires: gnome-sharp2 gtk-sharp2-gapi |
---|
[2014] | 16 | BuildRequires: mono-devel monodoc |
---|
[521] | 17 | |
---|
| 18 | %description |
---|
| 19 | This package provides Mono bindings for GtkSourceView, a child of the |
---|
| 20 | GTK+ text widget which implements syntax highlighting and other |
---|
| 21 | features typical of a source editor. |
---|
| 22 | |
---|
| 23 | %prep |
---|
| 24 | %setup -q -n gtksourceview-sharp-2.0-%{version} |
---|
[2014] | 25 | %patch0 -p0 -b .gnome-print |
---|
| 26 | autoreconf |
---|
[521] | 27 | |
---|
| 28 | %build |
---|
| 29 | export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir} |
---|
| 30 | ./configure \ |
---|
| 31 | --prefix=/usr \ |
---|
| 32 | --libdir=/usr/lib \ |
---|
| 33 | --sysconfdir=/etc \ |
---|
| 34 | --mandir=/usr/share/man \ |
---|
| 35 | --infodir=/usr/share/info \ |
---|
| 36 | --localstatedir=/var |
---|
| 37 | make |
---|
| 38 | |
---|
| 39 | |
---|
| 40 | %install |
---|
| 41 | rm -Rf ${DESTDIR} |
---|
| 42 | export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir} |
---|
| 43 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 44 | mkdir -p $RPM_BUILD_ROOT%{_datadir}/pkgconfig |
---|
| 45 | mv $RPM_BUILD_ROOT%{_prefix}/lib/pkgconfig/* $RPM_BUILD_ROOT%{_datadir}/pkgconfig |
---|
| 46 | |
---|
| 47 | ## remove unuse files |
---|
| 48 | rm -f $RPM_BUILD_ROOT%{_datadir}/gtksourceview-1.0/language-specs/nemerle.lang |
---|
| 49 | rm -f $RPM_BUILD_ROOT%{_datadir}/gtksourceview-1.0/language-specs/vbnet.lang |
---|
| 50 | |
---|
| 51 | |
---|
| 52 | %clean |
---|
| 53 | rm -Rf ${DESTDIR} |
---|
| 54 | |
---|
| 55 | |
---|
| 56 | %files |
---|
| 57 | %defattr(-, root, root) |
---|
| 58 | %doc AUTHORS COPYING INSTALL NEWS README |
---|
| 59 | %{mono_dir}/gac/gtksourceview-sharp |
---|
| 60 | %{mono_dir}/gtksourceview-sharp-2.0 |
---|
| 61 | %{_prefix}/lib/monodoc/sources/gtksourceview-sharp-docs* |
---|
| 62 | %{_datadir}/pkgconfig/gtksourceview-sharp-2.0.pc |
---|
| 63 | %{_datadir}/gapi-2.0/gtksourceview-api.xml |
---|
| 64 | |
---|
| 65 | |
---|
| 66 | %changelog |
---|
[3701] | 67 | * Mon Apr 25 2011 Shu KONNO <owa@bg.wakwak.com> 0.12-4 |
---|
| 68 | - rebuilt with mono-2.10.1-3 |
---|
| 69 | |
---|
[3285] | 70 | * Sun Apr 03 2011 Shu KONNO <owa@bg.wakwak.com> 0.12-3 |
---|
| 71 | - rebuilt with mono-2.10.1 |
---|
| 72 | |
---|
[2014] | 73 | * Sat Oct 09 2010 Shu KONNO <owa@bg.wakwak.com> 0.12-2 |
---|
| 74 | - rebuilt with mono-2.8 |
---|
[3701] | 75 | - added gtksourceview-sharp2-gnome-print.patch |
---|
[2014] | 76 | - added BR:monodoc instead of monodoc-core |
---|
| 77 | |
---|
[521] | 78 | * Wed Sep 17 2008 Shu KONNO <owa@bg.wakwak.com> 0.12-1vl5 |
---|
| 79 | - initial build for VineSeed |
---|
| 80 | - applied vine versioning policy |
---|
| 81 | - added japanese summary |
---|
| 82 | - spec in utf-8 |
---|
| 83 | |
---|
| 84 | * Tue Feb 26 2008 wberrier@novell.com |
---|
| 85 | - Update to 0.12 (new gtk# requires this version) |
---|
| 86 | * Thu Aug 16 2007 wberrier@suse.de |
---|
| 87 | - add noarch again (even though this package depends on binary |
---|
| 88 | libraries, the package itself contains no architecture |
---|
| 89 | dependant code, and can run on any platform where mono runs) |
---|
| 90 | - Update to use gtksourceview18 package (this package hasn't been |
---|
| 91 | ported to use 1.9 yet) |
---|
| 92 | * Tue Jun 12 2007 ro@suse.de |
---|
| 93 | - remove noarch: this package depends on binary libraries |
---|
| 94 | * Wed Jun 6 2007 wberrier@novell.com |
---|
| 95 | - remove upstream patch (also remove autoreconf, since there's |
---|
| 96 | no patches) |
---|
| 97 | - Update to 0.11 |
---|
| 98 | - removes circular dependency on 'monodoc' in mono-tools |
---|
| 99 | - updated samples |
---|
| 100 | * Wed May 16 2007 wberrier@novell.com |
---|
| 101 | - Fix BuildRequires for suse 10.0 (so .config can be resolved) |
---|
| 102 | * Wed Apr 11 2007 wberrier@novell.com |
---|
| 103 | - Add mono dep/req for older distros |
---|
| 104 | * Fri Apr 6 2007 wberrier@novell.com |
---|
| 105 | - Adapt for buildservice, add monodoc patch so only monodoc-core |
---|
| 106 | is needed, not mono-tools. Clean up BuildRequires some more. |
---|
| 107 | * Mon Feb 12 2007 aj@suse.de |
---|
| 108 | - Remove unneeded BuildRequires. |
---|
| 109 | * Wed Jan 24 2007 ro@suse.de |
---|
| 110 | - GNOME moved to /usr |
---|
| 111 | * Thu Oct 19 2006 ro@suse.de |
---|
| 112 | - added mono-devel to buildrequires |
---|
| 113 | * Wed Jan 25 2006 mls@suse.de |
---|
| 114 | - converted neededforbuild to BuildRequires |
---|
| 115 | * Fri Jan 13 2006 gekker@suse.de |
---|
| 116 | - Fixup nfb and Requires for new gtk-sharp2 packaging |
---|
| 117 | * Wed Nov 16 2005 wberrier@suse.de |
---|
| 118 | - Remove icu deps |
---|
| 119 | * Thu Oct 20 2005 ro@suse.de |
---|
| 120 | - rename package, provide and obsolete old name |
---|
| 121 | * Thu Sep 22 2005 ro@suse.de |
---|
| 122 | - added norootforbuild |
---|
| 123 | * Wed Sep 21 2005 wberrier@suse.de |
---|
| 124 | - Use the buildroot and package the docs for monodoc (bug #116196) |
---|
| 125 | * Fri Sep 16 2005 wberrier@suse.de |
---|
| 126 | - Only package correct files (Bug #116196) |
---|
| 127 | * Fri Aug 26 2005 ro@suse.de |
---|
| 128 | - nfb: monodoc -> monodoc-core |
---|
| 129 | * Sun Aug 14 2005 aj@suse.de |
---|
| 130 | - Require 2.6.13 or newer kernel. |
---|
| 131 | * Sun Aug 14 2005 aj@suse.de |
---|
| 132 | - Add check-build.sh script. |
---|
| 133 | * Sun Aug 7 2005 ro@suse.de |
---|
| 134 | - fix location of pkgconfig files |
---|
| 135 | * Sun Aug 7 2005 ro@suse.de |
---|
| 136 | - rename package to gtksourceview-sharp-2_0 (no "." allowed in name) |
---|
| 137 | * Thu Aug 4 2005 wberrier@suse.de |
---|
| 138 | - Initial package |
---|