Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:maw
ruby-gnome2
ruby-gnome2.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ruby-gnome2.spec of Package ruby-gnome2
%{!?ruby_sitelib: %define ruby_sitelib %(ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']")} %{!?ruby_sitearch: %define ruby_sitearch %(ruby -rrbconfig -e "puts Config::CONFIG['sitearchdir']")} # norootforbuild ############################################################################### # spec file for the Ruby bindings to GNOME 2.x # # released under the same license as the bindings # # Please report bugs directly to j.j.kress@googlemail.com # # Acknowledgements: # # * Michael Wolf for his inspirational clean spec file # # * Allisson Azevedo for his great Fedora spec file # ############################################################################### Name: ruby-gnome2 Version: 0.16.0 Release: 1 License: LGPL Group: System/Libraries # Should be this, have to discuss inclusion of this group: # Group: Development/Libraries/Ruby Summary: Full set of Ruby bindings for GNOME URL: http://ruby-gnome2.sourceforge.jp/ Source0: ruby-gnome2-all-0.16.0.tar.gz Patch0: ruby-gnome2-script.patch Patch10: ruby-gnome2-all-0.16.0-typedef.patch Patch11: ruby-gnome2-all-0.16.0-newpoppler.patch Patch12: ruby-gnome2-all-0.16.0-glib-2.14.patch Patch13: ruby-gnome2-format-string.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: ruby ruby-devel BuildRequires: gtk2-devel libgnome-devel libgnomeui-devel BuildRequires: gconf2-devel libglade2-devel vte-devel BuildRequires: libgnomeprint-devel libgnomeprintui-devel BuildRequires: gtkglext-devel libgtkhtml-devel %if %suse_version >= 1030 BuildRequires: gtksourceview18-devel %else BuildRequires: gtksourceview-devel %endif BuildRequires: gnome-panel-devel BuildRequires: ruby-rcairo-devel poppler-devel librsvg-devel BuildRequires: mozilla-xulrunner181-devel %if %suse_version > 1030 BuildRequires: libpoppler-glib-devel poppler-devel %else BuildRequires: poppler-devel poppler-glib %endif Requires: ruby >= 1.8 Provides: ruby(gnome2) = %{version}-%{release} %description This is a set of bindings to the GNOME-2.x libraries for the Ruby language ############################################################################### # ruby-atk # %package -n ruby-atk Summary: Ruby binding of ATK-1.0.x or later Group: System/Libraries BuildRequires: ruby ruby-devel glib2-devel atk-devel Requires: ruby >= 1.8 Requires: ruby(glib2) = %{version}-%{release} Provides: ruby(atk) = %{version}-%{release} %description -n ruby-atk Ruby/ATK is a Ruby binding of ATK-1.0.x or later. # ############################################################################### ############################################################################### # ruby-atk-devel # %package -n ruby-atk-devel Summary: Development libraries and header files for ruby-atk Group: Development/Libraries Requires: ruby-devel Requires: ruby(glib2-devel) = %{version}-%{release} Requires: ruby(atk) = %{version}-%{release} Requires: atk-devel Provides: ruby(atk-devel) = %{version}-%{release} %description -n ruby-atk-devel Ruby/ATK is a Ruby binding of ATK-1.0.x or later. This package provides libraries and header files for ruby-atk # ############################################################################### ############################################################################### # ruby-gconf2 # %package -n ruby-gconf2 Summary: Ruby binding of GConf-1.2.x Group: System/Libraries BuildRequires: ruby ruby-devel gconf2-devel Requires: ruby >= 1.8 Requires: ruby(glib2) = %{version}-%{release} Provides: ruby(gconf2) = %{version}-%{release} %description -n ruby-gconf2 Ruby/GConf2 is a Ruby binding of GConf-1.2.x. # ############################################################################### ############################################################################### # ruby-gdkpixbuf2 # %package -n ruby-gdkpixbuf2 Summary: Ruby binding of GdkPixbuf-2.x Group: System/Libraries BuildRequires: ruby ruby-devel gtk2-devel ruby-rcairo-devel Requires: ruby >= 1.8 Requires: ruby(glib2) = %{version}-%{release} Requires: ruby(cairo) Provides: ruby(gdkpixbuf2) = %{version}-%{release} %description -n ruby-gdkpixbuf2 Ruby/GdkPixbuf2 is a Ruby binding of GdkPixbuf-2.x. # ############################################################################### ############################################################################### # ruby-glib2 # %package -n ruby-glib2 Summary: Ruby binding of GLib-2.x Group: System/Libraries BuildRequires: ruby ruby-devel glib2-devel Requires: ruby >= 1.8 Provides: ruby(glib2) = %{version}-%{release} %description -n ruby-glib2 Ruby/GLib2 is a Ruby binding of GLib-2.x. # ############################################################################### ############################################################################### # ruby-glib2-devel # %package -n ruby-glib2-devel Summary: Development libraries and header files for ruby-glib2 Group: Development/Libraries Requires: ruby(glib2) = %{version}-%{release} Requires: ruby-devel glib2-devel Provides: ruby(glib2-devel) = %{version}-%{release} %description -n ruby-glib2-devel Ruby/GLib2 is a Ruby binding of GLib-2.x. This package provides libraries and header files for ruby-glib2 # ############################################################################### ############################################################################### # ruby-gnomecanvas2 # %package -n ruby-gnomecanvas2 Summary: Ruby binding of GnomeCanvas-2.x Group: System/Libraries BuildRequires: ruby ruby-devel BuildRequires: gtk2-devel libgnomecanvas-devel Requires: ruby >= 1.8 Requires: ruby(gtk2) = %{version}-%{release} Requires: ruby(libart2) = %{version}-%{release} Provides: ruby(gnomecanvas2) = %{version}-%{release} %description -n ruby-gnomecanvas2 Ruby/GnomeCanvas2 is a Ruby binding of GnomeCanvas-2.x. # ############################################################################### ############################################################################### # ruby-gnomeprint2 # %package -n ruby-gnomeprint2 Summary: Ruby binding of libgnomeprint Group: System/Libraries BuildRequires: ruby ruby-devel libgnomeprint-devel Requires: ruby >= 1.8 Requires: ruby(glib2) = %{version}-%{release} Requires: ruby(pango) = %{version}-%{release} Requires: ruby(libart2) = %{version}-%{release} Provides: ruby(gnomeprint2) = %{version}-%{release} %description -n ruby-gnomeprint2 Ruby/GnomePrint is a Ruby binding of libgnomeprint. # ############################################################################### ############################################################################### # ruby-gnomeprintui2 # %package -n ruby-gnomeprintui2 Summary: Ruby binding of libgnomeprintui Group: System/Libraries BuildRequires: ruby ruby-devel libgnomeprintui-devel Requires: ruby >= 1.8 Requires: ruby(gtk2) = %{version}-%{release} Requires: ruby(gnomeprint2) = %{version}-%{release} Provides: ruby(gnomeprintui2) = %{version}-%{release} %description -n ruby-gnomeprintui2 Ruby/GnomePrintUI is a Ruby binding of libgnomeprintui. # ############################################################################### ############################################################################### # ruby-gnomevfs # %package -n ruby-gnomevfs Summary: Ruby binding of GnomeVFS-2.0.x Group: System/Libraries BuildRequires: ruby ruby-devel gnome-vfs2-devel Requires: ruby >= 1.8 Requires: ruby(glib2) = %{version}-%{release} Provides: ruby(gnomevfs) = %{version}-%{release} %description -n ruby-gnomevfs Ruby/GnomeVFS is a Ruby binding of GnomeVFS-2.0.x. # ############################################################################### ############################################################################### # ruby-gtk2 # %package -n ruby-gtk2 Summary: Ruby binding of GTK+-2.0.x Group: System/Libraries BuildRequires: ruby gtk2-devel ruby-rcairo-devel Requires: %{_bindir}/env Requires: ruby >= 1.8 Requires: ruby(glib2) = %{version}-%{release} Requires: ruby(atk) = %{version}-%{release} Requires: ruby(pango) = %{version}-%{release} Requires: ruby-rcairo Requires: ruby(gdkpixbuf2) = %{version}-%{release} Provides: ruby(gtk2) = %{version}-%{release} %description -n ruby-gtk2 Ruby/GTK2 is a Ruby binding of GTK+-2.0.x. # ############################################################################### ############################################################################### # ruby-gtk2-devel # %package -n ruby-gtk2-devel Summary: Development libraries and header files for ruby-gtk2 Group: Development/Libraries Requires: ruby(gtk2) = %{version}-%{release} Requires: gtk2-devel ruby-devel Requires: ruby(glib2-devel) = %{version}-%{release} Provides: ruby(gtk2-devel) = %{version}-%{release} %description -n ruby-gtk2-devel Ruby/GTK2 is a Ruby binding of GTK+-2.0.x. This package provides libraries and header files for ruby-gtk2 # ############################################################################### ############################################################################### # ruby-gtkgltext # %package -n ruby-gtkglext Summary: Ruby binding of GtkGLExt Group: System/Libraries BuildRequires: ruby ruby-devel gtk2-devel gtkglext-devel Requires: ruby >= 1.8 Requires: ruby(gtk2) = %{version}-%{release} Provides: ruby(gtkglext) = %{version}-%{release} %description -n ruby-gtkglext Ruby/GtkGLExt is a Ruby binding of GtkGLExt. # ############################################################################### ############################################################################### # ruby-gtkhtml2 # %package -n ruby-gtkhtml2 Summary: Ruby binding of GtkHtml2 Group: System/Libraries BuildRequires: ruby ruby-devel gtk2-devel libgtkhtml-devel Requires: ruby >= 1.8 Requires: ruby(gtk2) = %{version}-%{release} Provides: ruby(gtkhtml2) = %{version}-%{release} %description -n ruby-gtkhtml2 Ruby/GtkHtml2 is a Ruby binding of GtkHtml2 # ############################################################################### %if %suse_version >= 1030 ############################################################################### # ruby-gtkmozembed # %package -n ruby-gtkmozembed Summary: Ruby binding of GtkMozEmbed Group: System/Libraries BuildRequires: ruby ruby-devel gtk2-devel pango-devel BuildRequires: mozilla-xulrunner181-devel Requires: mozilla-xulrunner181 Requires: ruby >= 1.8 Requires: ruby(gtk2) = %{version}-%{release} Provides: ruby(gtkmozembed) = %{version}-%{release} %description -n ruby-gtkmozembed Ruby/GtkMozEmbed is a Ruby binding of GtkMozEmbed a widget embedding a Mozilla Gecko renderer. # ############################################################################### %endif ############################################################################### # ruby-gtksourceview # %package -n ruby-gtksourceview Summary: Ruby binding of gtksourceview-1.x.x Group: System/Libraries BuildRequires: ruby ruby-devel %if %suse_version >= 1030 BuildRequires: gtksourceview18-devel %else BuildRequires: gtksourceview-devel %endif Requires: ruby >= 1.8 Requires: ruby(gtk2) = %{version}-%{release} Provides: ruby(gtksourceview) = %{version}-%{release} %description -n ruby-gtksourceview Ruby/GtkSourceView is a Ruby binding of gtksourceview-1.x.x. # ############################################################################### ############################################################################### # ruby-libart2 # %package -n ruby-libart2 Summary: Ruby binding of Libart_lgpl Group: System/Libraries BuildRequires: ruby ruby-devel BuildRequires: libart_lgpl-devel libpng-devel libjpeg-devel Requires: ruby >= 1.8 Provides: ruby(libart2) = %{version}-%{release} %description -n ruby-libart2 Ruby/Libart2 is a Ruby binding of Libart_lgpl. # ############################################################################### ############################################################################### # ruby-libart2-devel # %package -n ruby-libart2-devel Summary: Development libraries and header files for ruby-libart2 Group: Development/Libraries Requires: ruby(libart2) = %{version}-%{release} Requires: libart_lgpl-devel ruby-devel Provides: ruby(libart2-devel) = %{version}-%{release} %description -n ruby-libart2-devel Ruby/Libart2 is a Ruby binding of Libart_lgpl. This package provides libraries and header files for ruby-libart2 # ############################################################################### ############################################################################### # ruby-libglade2 # %package -n ruby-libglade2 Summary: Ruby bindings of Libglade2 Group: System/Libraries BuildRequires: ruby ruby-devel BuildRequires: gtk2-devel libgnome-devel libglade2-devel Requires: ruby >= 1.8 Requires: ruby(gtk2) = %{version}-%{release} Requires: ruby(gnome2) = %{version}-%{release} Provides: ruby(libglade2) = %{version}-%{release} %description -n ruby-libglade2 Ruby/Libglade2 is a Ruby bindings of Libglade2. This provides a very simple interface to the libglade library, to load interfaces dynamically from a glade file. # ############################################################################### ############################################################################### # ruby-panelapplet2 # %package -n ruby-panelapplet2 Summary: Ruby binding of libpanel-applet-2.6.x Group: System/Libraries BuildRequires: ruby ruby-devel BuildRequires: gtk2-devel gnome-panel-devel libgnome-devel BuildRequires: libgnomeui-devel Requires: %{_bindir}/env Requires: %{_bindir}/ruby Requires: ruby >= 1.8 Requires: ruby(gnome2) = %{version}-%{release} Provides: ruby(panelapplet2) = %{version}-%{release} %description -n ruby-panelapplet2 Ruby/PanelApplet2 is a Ruby binding of libpanel-applet-2.6.x. # ############################################################################### ############################################################################### # ruby-pango # %package -n ruby-pango Summary: Ruby binding of pango-1.x Group: System/Libraries BuildRequires: ruby ruby-devel glib2-devel BuildRequires: pango-devel cairo-devel ruby-rcairo-devel Requires: ruby >= 1.8 Requires: ruby(glib2) = %{version}-%{release} ruby(cairo) Provides: ruby(pango) = %{version}-%{release} %description -n ruby-pango Ruby/Pango is a Ruby binding of pango-1.x. # ############################################################################### ############################################################################### # ruby-pango-devel # %package -n ruby-pango-devel Summary: Development libraries and header files for ruby-pango Group: Development/Libraries Requires: ruby(pango) = %{version}-%{release} Requires: pango-devel ruby-devel Requires: ruby(glib2-devel) = %{version}-%{release} Requires: ruby-rcairo-devel Provides: ruby(pango-devel) = %{version}-%{release} %description -n ruby-pango-devel Ruby/Pango is a Ruby binding of pango-1.x. This package provides libraries and header files for ruby-pango # ############################################################################### ############################################################################### # ruby-poppler # %package -n ruby-poppler Summary: Ruby binding of poppler-glib Group: System/Libraries BuildRequires: ruby ruby-devel poppler-devel poppler-glib cairo-devel ruby-rcairo-devel Requires: %{_bindir}/env Requires: ruby >= 1.8 Requires: ruby(gdkpixbuf2) = %{version}-%{release} Requires: ruby(gtk2) = %{version}-%{release} Requires: ruby(cairo) Provides: ruby(poppler) = %{version}-%{release} %description -n ruby-poppler Ruby/Poppler is a Ruby binding of poppler-glib. # ############################################################################### ############################################################################### # ruby-rsvg # %package -n ruby-rsvg Summary: Ruby binding of librsvg Group: System/Libraries BuildRequires: ruby ruby-devel librsvg-devel ruby-rcairo-devel Requires: %{_bindir}/env Requires: ruby >= 1.8 Requires: ruby(gdkpixbuf2) = %{version}-%{release} Requires: ruby(cairo) Provides: ruby(rsvg) = %{version}-%{release} %description -n ruby-rsvg Ruby/RSVG is a Ruby binding of librsvg. # ############################################################################### ############################################################################### # ruby-vte # %package -n ruby-vte Summary: Ruby binding of VTE Group: System/Libraries BuildRequires: ruby ruby-devel vte-devel Requires: %{_bindir}/env Requires: ruby >= 1.8 Requires: ruby(gtk2) = %{version}-%{release} Provides: ruby(vte) = %{version}-%{release} %description -n ruby-vte Ruby/VTE is a Ruby binding of VTE. # ############################################################################### %prep %setup -q -n %{name}-all-%{version} %patch0 -p1 %patch10 -p1 -b .typedef %patch11 -p1 -b .newpoppler %patch12 -p1 -b .glib2_14 %patch13 -p0 # Fix the attributes of some files %{__chmod} 644 glib/sample/*.rb %{__chmod} 644 glib/src/*.c %{__chmod} 644 gtk/sample/misc/properties.rb %{__chmod} 644 gtk/sample/misc/assistant.rb %{__chmod} 644 gtk/sample/gtk-demo/main.rb %{__chmod} 644 gtk/sample/misc/cairo-pong.rb %{__chmod} 644 gtk/sample/misc/style_property.rb %{__chmod} 644 panel-applet/sample/clock-applet.rb %{__chmod} 644 panel-applet/sample/hello-applet.rb %{__chmod} 644 poppler/sample/pdf2text.rb %{__chmod} 644 poppler/sample/pdf2.rb %{__chmod} 644 rsvg/sample/svg-viewer.rb %{__chmod} 644 vte/sample/multiterm.rb %{__chmod} 644 vte/sample/terminal.rb %build ruby extconf.rb %install make install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p" %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc gnome/README gnome/ChangeLog gnome/COPYING.LIB gnome/sample %doc AUTHORS NEWS %{ruby_sitelib}/gnome2.rb %{ruby_sitearch}/gnome2.so %files -n ruby-atk %defattr(-,root,root,-) %doc atk/ChangeLog atk/COPYING.LIB atk/README %{ruby_sitelib}/atk.rb %{ruby_sitearch}/atk.so %files -n ruby-atk-devel %defattr(-,root,root,-) %{ruby_sitearch}/rbatk.h %{ruby_sitearch}/rbatkversion.h %files -n ruby-gconf2 %defattr(-,root,root,-) %doc gconf/ChangeLog gconf/COPYING.LIB gconf/README gconf/sample %{ruby_sitelib}/gconf2.rb %{ruby_sitearch}/gconf2.so %files -n ruby-gdkpixbuf2 %defattr(-,root,root,-) %doc gdkpixbuf/ChangeLog gdkpixbuf/COPYING.LIB gdkpixbuf/README gdkpixbuf/sample %{ruby_sitelib}/gdk_pixbuf2.rb %{ruby_sitearch}/gdk_pixbuf2.so %files -n ruby-glib2 %defattr(-,root,root,-) %doc glib/ChangeLog glib/COPYING.LIB glib/README glib/sample %{ruby_sitelib}/glib2.rb %{ruby_sitelib}/glib-mkenums.rb %{ruby_sitelib}/mkmf-gnome2.rb %{ruby_sitelib}/pkg-config.rb %{ruby_sitearch}/glib2.so %files -n ruby-glib2-devel %defattr(-,root,root,-) %{ruby_sitearch}/rbglib.h %{ruby_sitearch}/rbgobject.h %{ruby_sitearch}/rbgutil.h %files -n ruby-gnomecanvas2 %defattr(-,root,root,-) %doc gnomecanvas/ChangeLog gnomecanvas/COPYING.LIB gnomecanvas/README gnomecanvas/sample %{ruby_sitelib}/gnomecanvas2.rb %{ruby_sitearch}/gnomecanvas2.so %files -n ruby-gnomeprint2 %defattr(-,root,root,-) %doc gnomeprint/ChangeLog gnomeprint/COPYING.LIB gnomeprint/README gnomeprint/sample %{ruby_sitelib}/gnomeprint2.rb %{ruby_sitearch}/gnomeprint2.so %files -n ruby-gnomeprintui2 %defattr(-,root,root,-) %doc gnomeprintui/ChangeLog gnomeprintui/COPYING.LIB gnomeprintui/README gnomeprintui/sample %{ruby_sitelib}/gnomeprintui2.rb %{ruby_sitearch}/gnomeprintui2.so %files -n ruby-gnomevfs %defattr(-,root,root,-) %doc gnomevfs/ChangeLog gnomevfs/COPYING.LIB gnomevfs/README %{ruby_sitelib}/gnomevfs.rb %{ruby_sitearch}/gnomevfs.so %files -n ruby-gtk2 %defattr(-,root,root,-) %doc gtk/ChangeLog gtk/COPYING.LIB gtk/README gtk/sample %attr(755, root, root) %{ruby_sitelib}/gtk2.rb #%{ruby_sitelib}/gtk2.rb %attr(755, root, root) %{ruby_sitelib}/gtk2/base.rb #%{ruby_sitelib}/gtk2/base.rb %{ruby_sitearch}/gtk2.so %files -n ruby-gtk2-devel %defattr(-,root,root,-) %{ruby_sitearch}/rbgtk.h %files -n ruby-gtkglext %defattr(-,root,root,-) %doc gtkglext/ChangeLog COPYING.LIB gtkglext/README gtkglext/README.rbogl gtkglext/sample %{ruby_sitelib}/gtkglext.rb %{ruby_sitearch}/gtkglext.so %files -n ruby-gtkhtml2 %defattr(-,root,root,-) %doc gtkhtml2/ChangeLog gtkhtml2/COPYING.LIB gtkhtml2/README gtkhtml2/sample %{ruby_sitelib}/gtkhtml2.rb %{ruby_sitearch}/gtkhtml2.so %if %suse_version >= 1030 %files -n ruby-gtkmozembed %defattr(-,root,root,-) %doc gtkmozembed/ChangeLog gtkmozembed/COPYING.LIB gtkmozembed/README gtkmozembed/sample %{ruby_sitelib}/gtkmozembed.rb %{ruby_sitearch}/gtkmozembed.so %endif %files -n ruby-gtksourceview %defattr(-,root,root,-) %doc gtksourceview/ChangeLog gtksourceview/COPYING.LIB gtksourceview/README gtksourceview/sample %{ruby_sitelib}/gtksourceview.rb %{ruby_sitearch}/gtksourceview.so %files -n ruby-libart2 %defattr(-,root,root,-) %doc libart/ChangeLog libart/COPYING.LIB libart/README libart/sample %{ruby_sitearch}/libart2.so %files -n ruby-libart2-devel %defattr(-,root,root,-) %{ruby_sitearch}/rbart.h %files -n ruby-libglade2 %defattr(-,root,root,-) %doc libglade/ChangeLog libglade/COPYING.LIB libglade/README libglade/sample %{_bindir}/ruby-glade-create-template #%{ruby_sitelib}/libglade2.rb %attr(755, root, root) %{ruby_sitelib}/libglade2.rb %{ruby_sitearch}/libglade2.so %files -n ruby-panelapplet2 %defattr(-,root,root,-) %doc panel-applet/ChangeLog panel-applet/COPYING.LIB panel-applet/README panel-applet/sample %{ruby_sitelib}/panelapplet2.rb %{ruby_sitearch}/panelapplet2.so %files -n ruby-pango %defattr(-,root,root,-) %doc pango/ChangeLog pango/COPYING.LIB pango/README pango/sample %{ruby_sitelib}/pango.rb %{ruby_sitearch}/pango.so %files -n ruby-pango-devel %defattr(-,root,root,-) %{ruby_sitearch}/rbpango.h %{ruby_sitearch}/rbpangoversion.h %files -n ruby-poppler %defattr(-,root,root,-) %doc poppler/ChangeLog poppler/COPYING.LIB poppler/README poppler/sample %{ruby_sitelib}/poppler.rb %{ruby_sitearch}/poppler.so %files -n ruby-rsvg %defattr(-,root,root,-) %doc rsvg/ChangeLog rsvg/COPYING.LIB rsvg/README rsvg/sample %{ruby_sitelib}/rsvg2.rb %{ruby_sitearch}/rsvg2.so %files -n ruby-vte %defattr(-,root,root,-) %doc vte/ChangeLog vte/COPYING.LIB vte/README vte/sample %{ruby_sitelib}/vte.rb %{ruby_sitearch}/vte.so %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor