%define debug_package %{nil} %define svn_revision 89788 Summary: A C sharp binder for gtksourceview2 Name: gtksourceview2-sharp Version: 1.0 Release: 6.svn%{svn_revision}%{dist} License: LGPLv2 Group: System Environment/Libraries Source0: http://ftp.novell.com/pub/mono/sources/%{name}-%{svn_revision}.tar.bz2 URL: http://ftp.novell.com/pub/mono/sources Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: mono-devel pkgconfig gtksourceview2-devel gtk-sharp2-devel BuildRequires: monodoc-devel automake autoconf gtk-sharp2-gapi Patch0: gtksv2-config.patch ExcludeArch: sparc64 %description gtksourceview-sharp is a C sharp binder for gtksourceview %package devel Summary: Development files for gtksourceview-sharp Group: Development/Libraries Requires: %{name} = %{version}-%{release} pkgconfig %description devel Development files for gtksourceview2-sharp %prep %setup -q -n %{name}-%{svn_revision} # Fixes bits which the config files should do correctly for non-x86 builds # but doesn't sed -i -e 's!@libdir@!%{_libdir}!' %{PATCH0} %patch0 -p1 -b .original # Reverts the above fixes in the patch file so koji doesn't bork sed -i -e 's!%{_libdir}!@libdir@!' %{PATCH0} autoreconf %build %configure make all %{?_smp_mflags} %install %{__rm} -rf %{buildroot} make DESTDIR=%{buildroot} install %files %defattr (-, root, root, -) %doc AUTHORS COPYING INSTALL NEWS README %{_libdir}/mono/gac/%{name} %{_libdir}/mono/%{name}/%{name}.dll %{_libdir}/monodoc/sources/%{name}-docs.source %{_libdir}/monodoc/sources/%{name}-docs.tree %{_libdir}/monodoc/sources/%{name}-docs.zip %{_datadir}/gapi-2.0/gtksourceview2-api.xml %files devel %defattr (-,root,root,-) %{_libdir}/pkgconfig/gtksourceview2-sharp.pc %clean %{__rm} -rf %{buildroot} %changelog * Mon Oct 26 2009 Dennis Gilmore <dennis@ausil.us> - 1.0-6.svn89788 - ExcludeArch sparc64 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-5.svn89788.3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Mon May 25 2009 Xavier Lamien <laxathom@fedoraproject.org> 1.0-4.svn89788.3 - Build arch ppc64. * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-3.svn89788.3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Mon Oct 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0-2.svn89877.3 - rebuild for new gnome-desktop-sharp * Fri May 30 2008 Paul F. Johnson <paul@all-the-johnsons.co.uk> - 1.0-2.svn89877.2 - rebuild for new gtk-sharp2 * Thu May 01 2008 Paul F. Johnson <paul@all-the-johnsons.co.uk> - 1.0-2.svn89877.1 - rebuild * Wed Apr 30 2008 Paul F. Johnson <paul@all-the-johnsons.co.uk> - 1.0-2.svn89877 - Fix for svn - corrected BR - removed useless rm -f line in prep * Tue Apr 29 2008 Paul F. Johnson <paul@all-the-johnsons.co.uk> - 1.0-1 - Initial import - Changed the number from 89788 to 1 as 89788 is a silly number for a version