# RPM specfile for gtksourceview-sharp-2.0 module # Generated Fri Apr 20 23:44:26 2007 GMT by Ximian build system # $Id: bb_do 3172M 2007-02-14 20:10:12Z (local) $ # from %define nam gtksourceview-sharp-2.0 %define ver 0.11 %define licensedir %{_datadir}/licenses/%{nam}-%{ver} Name: gtksourceview-sharp2 Version: 0.11 Release: 0.novell Vendor: Novell, Inc. Distribution: Novell Packages for SuSE Linux 9.3 / i586 Copyright: GPL BuildRoot: /var/tmp/%{nam}-%{ver}-root Docdir: /usr/share/doc/packages BuildArch: noarch URL: http:/go-mono.com Source0: gtksourceview-sharp-2.0-0.11.tar.bz2 BuildRequires: libgnomeprint-devel BuildRequires: libgnomeprintui-devel BuildRequires: atk-devel BuildRequires: glib2-devel BuildRequires: gtk2-devel BuildRequires: gtk-sharp2 BuildRequires: gtk-sharp2-gapi BuildRequires: monodoc-core BuildRequires: gtksourceview-devel >= 0.7 BuildRequires: libart_lgpl-devel BuildRequires: libgnomecanvas-devel BuildRequires: libxml2-devel BuildRequires: mono-devel BuildRequires: pango-devel BuildRequires: pkgconfig Summary: GtkSourceView bindings for Mono Group: Development/Library Requires: gtksourceview >= 1.0 Provides: gtksourceview-sharp-2.0 Provides: gtksourceview-sharp-2_0 Provides: novell-gtksourceview-sharp2 = %{?epoch:%{epoch}:}%{version}-%{?ximrev:%{ximrev}}%{!?ximrev:%{release}} Obsoletes: gtksourceview-sharp-2.0 Obsoletes: gtksourceview-sharp-2_0 %description This package provides Mono bindings for GtkSourceView, a child of the GTK+ text widget which implements syntax highlighting and other features typical of a source editor. %files %defattr(-, root, root) %doc AUTHORS COPYING INSTALL NEWS README /usr/lib/mono/gac/gtksourceview-sharp /usr/lib/mono/gtksourceview-sharp-2.0 /usr/lib/pkgconfig/* /usr/share/gapi-2.0/* /usr/lib/monodoc/sources # $RPM_COMMAND is an environment variable used by the Ximian build # system to control the build process with finer granularity than RPM # normally allows. This specfile will function as expected by RPM if # $RPM_COMMAND is unset. If you are not the Ximian build system, # feel free to ignore it. %prep case "${RPM_COMMAND:-all}" in dist) %setup -q -D -n gtksourceview-sharp-2.0-0.11 ;; all) %setup -q -n gtksourceview-sharp-2.0-0.11 ;; esac %build MAKE=${MAKE:-make} RPM_COMMAND=${RPM_COMMAND:-all} DESTDIR=${DESTDIR:-"$RPM_BUILD_ROOT"} ARCH=%{_target_platform} export MAKE RPM_COMMAND DESTDIR ARCH case "$RPM_COMMAND" in prepare|all) ./configure --prefix=/usr --libdir=/usr/lib --sysconfdir=/etc --mandir=/usr/share/man --infodir=/usr/share/info --localstatedir=/var ;; esac case "$RPM_COMMAND" in clean|all) if [ "/" != "$DESTDIR" ]; then rm -rf "$DESTDIR" fi ;; esac case "$RPM_COMMAND" in build|all) ${MAKE} ;; esac %install MAKE=${MAKE:-make} DESTDIR=${DESTDIR:-"$RPM_BUILD_ROOT"} # export DESTDIR case "${RPM_COMMAND:-all}" in install|all) ${MAKE} install DESTDIR=${DESTDIR} ;; esac %clean DESTDIR=${DESTDIR:-"$RPM_BUILD_ROOT"} export DESTDIR case "${RPM_COMMAND:-all}" in clean|all) if [ "/" != "$DESTDIR" ]; then rm -rf "$DESTDIR" fi ;; esac %changelog * Fri Apr 20 2007 Novell, Inc. - Version: 0.11-0.novell - Summary: New build. - New automated build.