# RPM specfile for gtk-sharp module # Generated Thu Dec 14 01:26:14 2006 GMT by Ximian build system # $Id: bb_do 3172 2006-07-28 18:17:26Z v_thunder $ # from %define nam gtk-sharp %define ver 1.0.10 %define licensedir %{_datadir}/licenses/%{nam}-%{ver} Name: gtk-sharp-complete Version: 1.0.10 Release: 0.suse102.novell Vendor: Novell, Inc. Distribution: Novell Packages for SuSE Linux 10.2 / x86_64 License: HASH(0x160e5b0) BuildRoot: /var/tmp/%{nam}-%{ver}-root Docdir: /usr/share/doc/packages URL: http://gtk-sharp.sf.net Source0: gtk-sharp-1.0.10.tar.gz Patch0: gtk-sharp-gtkhtml_suse100.patch BuildRequires: gtkhtml2-devel BuildRequires: gnome-keyring-devel BuildRequires: glib2-devel BuildRequires: gtk2-devel BuildRequires: libart_lgpl-devel BuildRequires: libglade2-devel BuildRequires: libgnomecanvas-devel BuildRequires: libgsf-devel BuildRequires: libgnomeui-devel BuildRequires: mono-core BuildRequires: mono-devel BuildRequires: pkgconfig BuildRequires: vte-devel BuildRequires: libgnomeprint BuildRequires: libgnomeprint-devel BuildRequires: libgnomeprintui BuildRequires: libgnomeprintui-devel BuildRequires: librsvg BuildRequires: librsvg-devel BuildRequires: zlib-devel BuildRequires: esound-devel BuildRequires: popt-devel Summary: GTK+ and GNOME bindings for Mono (virtual package) Group: Development/Libraries Requires: art-sharp = 1.0.10-0.suse102.novell Requires: gconf-sharp = 1.0.10-0.suse102.novell Requires: glade-sharp = 1.0.10-0.suse102.novell Requires: glib-sharp = 1.0.10-0.suse102.novell Requires: gnome-sharp = 1.0.10-0.suse102.novell Requires: gtk-sharp = 1.0.10-0.suse102.novell Requires: gtk-sharp-gapi = 1.0.10-0.suse102.novell Requires: gtkhtml-sharp = 1.0.10-0.suse102.novell Requires: rsvg-sharp = 1.0.10-0.suse102.novell Requires: vte-sharp = 1.0.10-0.suse102.novell Provides: novell-gtk-sharp-complete = %{?epoch:%{epoch}:}%{version}-%{?ximrev:%{ximrev}}%{!?ximrev:%{release}} %description This package provides a library that allows you to build fully native graphical GNOME applications using Mono. Gtk# is a binding to GTK+, the cross platform user interface toolkit used in GNOME. It includes bindings for Gtk, Atk, Pango, Gdk, libgnome, libgnomeui and libgnomecanvas. Gtk# 1.x binds GTK+ 2.2. (Virtual package which depends on all gtk-sharp subpackages) %files %defattr(-, root, root) %doc COPYING ChangeLog README %package -n glib-sharp Summary: Mono bindings for glib Group: Development/Libraries Provides: novell-glib-sharp = %{?epoch:%{epoch}:}%{version}-%{?ximrev:%{ximrev}}%{!?ximrev:%{release}} %description -n glib-sharp This package contains Mono bindings for glib. %files -n glib-sharp %defattr(-, root, root) /usr/lib/mono/gac/glib-sharp /usr/lib/mono/gtk-sharp/glib-sharp.dll /usr/lib64/libglibsharpglue.so %package -n glade-sharp Summary: Mono bindings for glade Group: Development/Libraries Provides: novell-glade-sharp = %{?epoch:%{epoch}:}%{version}-%{?ximrev:%{ximrev}}%{!?ximrev:%{release}} %description -n glade-sharp This package contains Mono bindings for glade. %files -n glade-sharp %defattr(-, root, root) /usr/lib/mono/gac/glade-sharp /usr/lib/mono/gtk-sharp/glade-sharp.dll /usr/lib64/libgladesharpglue.so /usr/lib64/pkgconfig/glade-sharp.pc %package -n gnome-sharp Summary: Mono bindings for gnome Group: Development/Libraries Provides: novell-gnome-sharp = %{?epoch:%{epoch}:}%{version}-%{?ximrev:%{ximrev}}%{!?ximrev:%{release}} %description -n gnome-sharp This package contains Mono bindings for gnome. %files -n gnome-sharp %defattr(-, root, root) /usr/lib/mono/gac/gnome-sharp /usr/lib/mono/gtk-sharp/gnome-sharp.dll /usr/lib64/libgnomesharpglue.so /usr/lib64/pkgconfig/gnome-sharp.pc %package -n gconf-sharp Summary: Mono bindings for gconf Group: Development/Libraries Provides: novell-gconf-sharp = %{?epoch:%{epoch}:}%{version}-%{?ximrev:%{ximrev}}%{!?ximrev:%{release}} %description -n gconf-sharp This package contains Mono bindings for gconf and gconf peditors. %files -n gconf-sharp %defattr(-, root, root) /usr/bin/gconfsharp-schemagen /usr/bin/gconfsharp-schemagen.exe /usr/lib/mono/gac/gconf-sharp /usr/lib/mono/gtk-sharp/gconf-sharp.dll /usr/lib/mono/gac/gconf-sharp-peditors /usr/lib/mono/gtk-sharp/gconf-sharp-peditors.dll /usr/lib64/pkgconfig/gconf-sharp.pc %package -n art-sharp Summary: Mono bindings for libart Group: Development/Libraries Requires: libart_lgpl_2.so.2()(64bit) Provides: novell-art-sharp = %{?epoch:%{epoch}:}%{version}-%{?ximrev:%{ximrev}}%{!?ximrev:%{release}} %description -n art-sharp This package contains Mono bindings for libart. %files -n art-sharp %defattr(-, root, root) /usr/lib/mono/gac/art-sharp /usr/lib/mono/gtk-sharp/art-sharp.dll /usr/lib64/pkgconfig/art-sharp.pc %package -n gtk-sharp-gapi Summary: Glib and GObject C source parser and C generator for the creation and maintenance of managed bindings for Mono and .NET Group: Development/Libraries Requires: perl-XML-LibXML-Common Requires: perl-XML-LibXML Requires: perl-XML-NamespaceSupport Requires: perl-XML-SAX Provides: novell-gtk-sharp-gapi = %{?epoch:%{epoch}:}%{version}-%{?ximrev:%{ximrev}}%{!?ximrev:%{release}} %description -n gtk-sharp-gapi This package provides developer tools for the creation and maintainance of managed bindings to native libraries which utilize glib and GObject. Some examples of libraries currently bound using the GAPI tools and found in Gtk# include Gtk, Atk, Pango, Gdk, libgnome, libgnomeui and libgnomecanvas. %files -n gtk-sharp-gapi %defattr(-, root, root) /usr/bin/gapi-codegen /usr/bin/gapi-fixup.exe /usr/bin/gapi-fixup /usr/bin/gapi-parser /usr/bin/gapi.pl /usr/bin/gapi2xml.pl /usr/bin/gapi_codegen.exe /usr/bin/gapi_format_xml /usr/bin/gapi_pp.pl /usr/lib64/pkgconfig/gapi.pc /usr/share/gapi %package -n rsvg-sharp Summary: Mono bindings for various rsvg Group: Development/Libraries Requires: librsvg-2.so.2()(64bit) Provides: novell-rsvg-sharp = %{?epoch:%{epoch}:}%{version}-%{?ximrev:%{ximrev}}%{!?ximrev:%{release}} %description -n rsvg-sharp This package contains Mono bindings for rsvg. %files -n rsvg-sharp %defattr(-, root, root) /usr/lib/mono/gac/rsvg-sharp /usr/lib/mono/gtk-sharp/rsvg-sharp.dll /usr/lib64/pkgconfig/rsvg-sharp.pc %package -n vte-sharp Summary: Mono bindings for vte Group: Development/Libraries Provides: novell-vte-sharp = %{?epoch:%{epoch}:}%{version}-%{?ximrev:%{ximrev}}%{!?ximrev:%{release}} %description -n vte-sharp This package contains Mono bindings for vte. %files -n vte-sharp %defattr(-, root, root) /usr/lib/mono/gac/vte-sharp /usr/lib/mono/gtk-sharp/vte-sharp.dll /usr/lib64/pkgconfig/vte-sharp.pc %package -n gtk-sharp Summary: Mono bindings for gtk+ Group: Development/Libraries Provides: novell-gtk-sharp = %{?epoch:%{epoch}:}%{version}-%{?ximrev:%{ximrev}}%{!?ximrev:%{release}} %description -n gtk-sharp This package contains Mono bindings for gtk+, gdk, atk, and pango. %files -n gtk-sharp %defattr(-, root, root) /usr/lib/mono/gac/atk-sharp /usr/lib/mono/gtk-sharp/atk-sharp.dll /usr/lib/mono/gac/gdk-sharp /usr/lib/mono/gtk-sharp/gdk-sharp.dll /usr/lib/mono/gac/gtk-sharp /usr/lib/mono/gtk-sharp/gtk-sharp.dll /usr/lib/mono/gac/pango-sharp /usr/lib/mono/gtk-sharp/pango-sharp.dll /usr/lib64/libgdksharpglue.so /usr/lib64/libgtksharpglue.so /usr/lib64/libpangosharpglue.so /usr/lib64/pkgconfig/gtk-sharp.pc %package -n gtkhtml-sharp Summary: Mono bindings for gtkhtml Group: Development/Libraries Requires: libgtkhtml-3.8.so.15()(64bit) Provides: novell-gtkhtml-sharp = %{?epoch:%{epoch}:}%{version}-%{?ximrev:%{ximrev}}%{!?ximrev:%{release}} %description -n gtkhtml-sharp This package contains Mono bindings for gtkhtml. %files -n gtkhtml-sharp %defattr(-, root, root) /usr/lib/mono/gac/gtkhtml-sharp /usr/lib/mono/gtk-sharp/gtkhtml-sharp.dll /usr/lib64/pkgconfig/gtkhtml-sharp.pc # $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 gtk-sharp-1.0.10 ;; all) %setup -q -n gtk-sharp-1.0.10 ;; esac case "${RPM_COMMAND:-all}" in dist|all) %patch -p1 -P 0 ;; 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/lib64 --sysconfdir=/etc --mandir=/usr/share/man --infodir=/usr/share/info --localstatedir=/var --enable-debug ;; 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 * Thu Dec 14 2006 Novell, Inc. - Version: 1.0.10-0.suse102.novell - Summary: New build. - New automated build.