[packages/ruby-gnome2] - up to 1.1.5 - separated doc-html

qboosh qboosh at pld-linux.org
Sun Nov 11 20:28:34 CET 2012


commit 9328f09b2686fd1e32488046ad18fc42b308afe5
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Nov 11 20:28:26 2012 +0100

    - up to 1.1.5
    - separated doc-html

 ruby-gnome2.spec | 209 ++++++++++++++++++++++++++++++++++++++++++++++---------
 1 file changed, 176 insertions(+), 33 deletions(-)
---
diff --git a/ruby-gnome2.spec b/ruby-gnome2.spec
index c22e49e..d548422 100644
--- a/ruby-gnome2.spec
+++ b/ruby-gnome2.spec
@@ -1,39 +1,42 @@
 Summary:	GNOME 2 libraries for Ruby
-Summary(pl.UTF-8):	Biblioteki GNOME 2 dla Ruby
+Summary(pl.UTF-8):	Biblioteki GNOME 2 dla języka Ruby
 Name:		ruby-gnome2
-Version:	0.90.8
+Version:	1.1.5
 Release:	0.1
-License:	GPL
+License:	LGPL v2.1
 Group:		Development/Languages
 Source0:	http://downloads.sourceforge.net/ruby-gnome2/%{name}-all-%{version}.tar.gz
-# Source0-md5:	bde7833035837ae2f4fe4fe1618c786c
+# Source0-md5:	6158ad49d59a1faa9f1f67356124a3c7
 URL:		http://ruby-gnome2.sourceforge.jp/
+BuildRequires:	atk-devel >= 1.0
+BuildRequires:	cairo-devel >= 1.10.0
+BuildRequires:	gdk-pixbuf2-devel >= 2
 BuildRequires:	glib2-devel >= 1:2.16.0
 BuildRequires:	goocanvas-devel >= 0.8
-BuildRequires:	gstreamer-plugins-base-devel
+BuildRequires:	gstreamer0.10-devel >= 0.10.35
+BuildRequires:	gstreamer0.10-plugins-base-devel >= 0.10.35
 BuildRequires:	gtk+2-devel >= 2:2.12.0
 BuildRequires:	gtksourceview2-devel
-BuildRequires:	librsvg-devel
-BuildRequires:	pango-devel
+BuildRequires:	librsvg-devel >= 2.8
+BuildRequires:	pango-devel >= 1:1.0
 BuildRequires:	pkgconfig
-BuildRequires:	poppler-glib-devel >= 0.5.2
+BuildRequires:	poppler-glib-devel >= 0.8.0
 BuildRequires:	rpmbuild(macros) >= 1.277
-BuildRequires:	ruby-devel
+BuildRequires:	ruby-devel >= 1.8.5
 BuildRequires:	ruby-pkg-config
 BuildRequires:	ruby-rubygems
 BuildRequires:	sed >= 4.0
 BuildRequires:	vte-devel >= 0.12.1
-BuildRequires:	xulrunner-devel >= 1.9-5
-Requires:	ruby-rbogl
+# for pango and gtk2
 Requires:	ruby-rcairo
 %{?ruby_mod_ver_requires_eq}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-GNOME 2 libraries for Ruby, including GTKHtml2.
+GNOME 2 libraries for Ruby.
 
 %description -l pl.UTF-8
-Biblioteki GNOME 2 dla Ruby, włącznie z GTKHtml2.
+Biblioteki GNOME 2 dla języka Ruby.
 
 %package devel
 Summary:	Header files for Ruby-GNOME2
@@ -49,7 +52,7 @@ Pliki nagłówkowe dla Ruby-GNOME2.
 
 %package doc-ri
 Summary:	Ruby-GNOME2 ri documentation
-Summary(pl.UTF-8):	Dokumentacja dla Ruby-GNOME2 w formacie ri.
+Summary(pl.UTF-8):	Dokumentacja dla Ruby-GNOME2 w formacie ri
 Group:		Documentation
 Requires:	%{name} = %{version}-%{release}
 
@@ -59,6 +62,18 @@ Ruby-GNOME2 ri documentation.
 %description doc-ri -l pl.UTF-8
 Dokumentacja dla Ruby-GNOME2 w formacie ri.
 
+%package doc-html
+Summary:	Ruby-GNOME2 HTML documentation
+Summary(pl.UTF-8):	Dokumentacja dla Ruby-GNOME2 w formacie HTML
+Group:		Documentation
+Requires:	%{name} = %{version}-%{release}
+
+%description doc-html
+Ruby-GNOME2 HTML documentation.
+
+%description doc-html -l pl.UTF-8
+Dokumentacja dla Ruby-GNOME2 w formacie HTML.
+
 %package examples
 Summary:	Ruby-GNOME2 examples
 Summary(pl.UTF-8):	Przykłady do Ruby-GNOME2
@@ -75,7 +90,8 @@ Przykłady do Ruby-GNOME2.
 find . -name '*.rb' | xargs sed -i -e '1s,#.*local/bin/ruby,#!%{_bindir}/ruby,'
 
 %build
-ruby extconf.rb --enable-glib-experimental
+ruby extconf.rb \
+	--enable-glib-experimental
 %{__make}
 
 rdoc -o rdoc
@@ -108,12 +124,6 @@ cp -a gstreamer/sample \
 cp -a gtk2/sample \
 	$RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/gtk2
 
-cp -a poppler/sample \
-	$RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/poppler
-
-cp -a gtkmozembed/sample \
-	$RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/gtkmozembed
-
 cp -a gtksourceview2/sample \
 	$RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/gtksourceview2
 
@@ -130,39 +140,172 @@ cp -a vte/sample \
 	$RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/vte
 
 cp -a ri/* $RPM_BUILD_ROOT%{ruby_ridir}
-rm -rf $RPM_BUILD_ROOT%{ruby_ridir}/ri/{Array,Object,TC*,Test*}
-
-rm -f $RPM_BUILD_ROOT%{ruby_ridir}/Array/cdesc-Array.yaml
+%{__rm} -r $RPM_BUILD_ROOT%{ruby_ridir}/{Object,TC_*,Test*}
+%{__rm} $RPM_BUILD_ROOT%{ruby_ridir}/{cache.ri,created.rid}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README ChangeLog rdoc
+%doc AUTHORS NEWS README
 %attr(755,root,root) %{ruby_archdir}/atk.so
 %attr(755,root,root) %{ruby_archdir}/gdk_pixbuf2.so
 %attr(755,root,root) %{ruby_archdir}/gio2.so
 %attr(755,root,root) %{ruby_archdir}/glib2.so
-%attr(755,root,root) %{ruby_archdir}/gst.so
-#%%attr(755,root,root) %{ruby_archdir}/gtk2.so
-%attr(755,root,root) %{ruby_archdir}/gtkmozembed.so
+%attr(755,root,root) %{ruby_archdir}/gstreamer.so
+%attr(755,root,root) %{ruby_archdir}/gtk2.so
 %attr(755,root,root) %{ruby_archdir}/gtksourceview2.so
 %attr(755,root,root) %{ruby_archdir}/pango.so
 %attr(755,root,root) %{ruby_archdir}/poppler.so
 %attr(755,root,root) %{ruby_archdir}/rsvg2.so
 %attr(755,root,root) %{ruby_archdir}/vte.so
-%{ruby_rubylibdir}/*.rb
-#%%{ruby_rubylibdir}/gtk2
+%{ruby_rubylibdir}/atk.rb
+%{ruby_rubylibdir}/gdk_pixbuf2.rb
+%{ruby_rubylibdir}/gio2.rb
+%{ruby_rubylibdir}/glib-mkenums.rb
+%{ruby_rubylibdir}/glib2.rb
+%{ruby_rubylibdir}/gnome2-raketask.rb
+%{ruby_rubylibdir}/gnome2-win32-binary-build-task.rb
+%{ruby_rubylibdir}/gnome2-win32-binary-download-task.rb
+%{ruby_rubylibdir}/gst.rb
+%{ruby_rubylibdir}/gtk2.rb
+%{ruby_rubylibdir}/gtksourceview2.rb
+%{ruby_rubylibdir}/mkmf-gnome2.rb
+%{ruby_rubylibdir}/pango.rb
+%{ruby_rubylibdir}/poppler.rb
+%{ruby_rubylibdir}/rsvg2.rb
+%{ruby_rubylibdir}/vte.rb
+%{ruby_rubylibdir}/gio2
+%{ruby_rubylibdir}/glib2
+%{ruby_rubylibdir}/gtk2
+%{ruby_rubylibdir}/vte
 
 %files devel
 %defattr(644,root,root,755)
-%{ruby_archdir}/*.h
-%{_pkgconfigdir}/*.pc
+%{ruby_archdir}/glib-enum-types.h
+%{ruby_archdir}/rbatk.h
+%{ruby_archdir}/rbatkversion.h
+%{ruby_archdir}/rbgcompat.h
+%{ruby_archdir}/rbgdk-pixbuf.h
+%{ruby_archdir}/rbgdk-pixbuf2conversions.h
+%{ruby_archdir}/rbgdk.h
+%{ruby_archdir}/rbgdkconversions.h
+%{ruby_archdir}/rbglib.h
+%{ruby_archdir}/rbglib2conversions.h
+%{ruby_archdir}/rbglibdeprecated.h
+%{ruby_archdir}/rbgobject.h
+%{ruby_archdir}/rbgtk.h
+%{ruby_archdir}/rbgtkconversions.h
+%{ruby_archdir}/rbgtkmacros.h
+%{ruby_archdir}/rbgutil.h
+%{ruby_archdir}/rbgutil_list.h
+%{ruby_archdir}/rbgutildeprecated.h
+%{ruby_archdir}/rbpango.h
+%{ruby_archdir}/rbpangoconversions.h
+%{ruby_archdir}/rbpangoversion.h
+%{_pkgconfigdir}/ruby-atk.pc
+%{_pkgconfigdir}/ruby-gdk-pixbuf2.pc
+%{_pkgconfigdir}/ruby-gio2.pc
+%{_pkgconfigdir}/ruby-glib2.pc
+%{_pkgconfigdir}/ruby-gstreamer.pc
+%{_pkgconfigdir}/ruby-gtk2.pc
+%{_pkgconfigdir}/ruby-gtksourceview2.pc
+%{_pkgconfigdir}/ruby-pango.pc
+%{_pkgconfigdir}/ruby-poppler.pc
+%{_pkgconfigdir}/ruby-rsvg2.pc
+%{_pkgconfigdir}/ruby-vte.pc
+
+%files doc-html
+%defattr(644,root,root,755)
+%doc rdoc/*
 
 %files doc-ri
 %defattr(644,root,root,755)
-%{ruby_ridir}/*
+%{ruby_ridir}/A
+%{ruby_ridir}/AlphaDemo
+%{ruby_ridir}/AssistantRunner
+%{ruby_ridir}/Atk
+%{ruby_ridir}/ButtonBoxSample
+%{ruby_ridir}/ButtonSample
+%{ruby_ridir}/Cairo
+%{ruby_ridir}/Canvas
+%{ruby_ridir}/CanvasSampleArrowhead
+%{ruby_ridir}/CanvasSampleFifteen
+%{ruby_ridir}/CheckButtonSample
+%{ruby_ridir}/ColorSelectionSample
+%{ruby_ridir}/Demo
+%{ruby_ridir}/DestWindow
+%{ruby_ridir}/DialogSample
+%{ruby_ridir}/DraggableWidget
+%{ruby_ridir}/EntrySample
+%{ruby_ridir}/FileSelectionSample
+%{ruby_ridir}/FontSelectionSample
+%{ruby_ridir}/GLib
+%{ruby_ridir}/GLibTestUtils
+%{ruby_ridir}/GNOME2Package
+%{ruby_ridir}/GNOME2Win32BinaryBuildTask
+%{ruby_ridir}/GNOME2Win32BinaryDownloadTask
+%{ruby_ridir}/GammaCurveSample
+%{ruby_ridir}/Gdk
+%{ruby_ridir}/Gesture
+%{ruby_ridir}/GestureProcessor
+%{ruby_ridir}/GesturedWidget
+%{ruby_ridir}/Gio
+%{ruby_ridir}/Goo
+%{ruby_ridir}/GooCanvasSample
+%{ruby_ridir}/Gst
+%{ruby_ridir}/GstTestUtils
+%{ruby_ridir}/Gtk
+%{ruby_ridir}/GtkTestUtils
+%{ruby_ridir}/Inspector
+%{ruby_ridir}/Layout
+%{ruby_ridir}/LayoutSample
+%{ruby_ridir}/MediaInfo
+%{ruby_ridir}/MediaInfoStream
+%{ruby_ridir}/MediaInfoTrack
+%{ruby_ridir}/MenuSample
+%{ruby_ridir}/MultiTerm
+%{ruby_ridir}/MyButton
+%{ruby_ridir}/MyButton2
+%{ruby_ridir}/MyGtkPlug
+%{ruby_ridir}/MyGtkSocket
+%{ruby_ridir}/NotebookSample
+%{ruby_ridir}/Pager
+%{ruby_ridir}/Pango
+%{ruby_ridir}/PangoTestUtils
+%{ruby_ridir}/PixmapSample
+%{ruby_ridir}/Pong
+%{ruby_ridir}/Poppler
+%{ruby_ridir}/PopplerTestUtils
+%{ruby_ridir}/Print
+%{ruby_ridir}/ProgressBarSample
+%{ruby_ridir}/RSVG
+%{ruby_ridir}/RadioButtonSample
+%{ruby_ridir}/RangeSample
+%{ruby_ridir}/ReparentSample
+%{ruby_ridir}/RulerSample
+%{ruby_ridir}/Sample
+%{ruby_ridir}/SampleClass
+%{ruby_ridir}/SampleDialog
+%{ruby_ridir}/SampleWindow
+%{ruby_ridir}/SavedPositionSample
+%{ruby_ridir}/ScrolledWindowSample
+%{ruby_ridir}/ShapeSampleBasic
+%{ruby_ridir}/ShapeSampleModeller
+%{ruby_ridir}/ShapeSampleRings
+%{ruby_ridir}/ShapeSampleSheets
+%{ruby_ridir}/ShapesSample
+%{ruby_ridir}/SpinButtonSample
+%{ruby_ridir}/SrcWindow
+%{ruby_ridir}/StatusIconSample
+%{ruby_ridir}/StatusbarSample
+%{ruby_ridir}/ToggleButtonSample
+%{ruby_ridir}/ToolbarSample
+%{ruby_ridir}/TooltipsSample
+%{ruby_ridir}/Vte
+%{ruby_ridir}/WMHintsSample
+%{ruby_ridir}/Window
 
 %files examples
 %defattr(644,root,root,755)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby-gnome2.git/commitdiff/9328f09b2686fd1e32488046ad18fc42b308afe5



More information about the pld-cvs-commit mailing list