[ruby-gnome2] - 0.90.3

Mamoru Tasaka mtasaka at fedoraproject.org
Sat Oct 23 20:11:09 UTC 2010


commit 58c20eba2e8106f753cd108078351108cfade362
Author: Mamoru Tasaka <tasaka1 at localhost.localdomain>
Date:   Sun Oct 24 05:11:02 2010 +0900

    - 0.90.3

 .gitignore                              |    1 +
 ruby-gnome2-0.17.0-rc1-script.patch     |   27 ----------------
 ruby-gnome2-0.90.2-poppler-0_15_0.patch |   41 ------------------------
 ruby-gnome2.spec                        |   52 +++++++++++++++++++++++++-----
 sources                                 |    2 +-
 5 files changed, 45 insertions(+), 78 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f7cd4ea..38ce83e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 ruby-gnome2-all-0.19.4.tar.gz
 /ruby-gnome2-all-0.90.1.tar.gz
 /ruby-gnome2-all-0.90.2.tar.gz
+/ruby-gnome2-all-0.90.3.tar.gz
diff --git a/ruby-gnome2.spec b/ruby-gnome2.spec
index 2772db9..4528e1c 100644
--- a/ruby-gnome2.spec
+++ b/ruby-gnome2.spec
@@ -9,7 +9,7 @@
 # the new EVR won't be higher than the one of higher branch!!
 #
 # Until gem switch ends, we will use non-integer release
-%define         mainrel                1.2
+%define         mainrel                1.0
 
 # Note
 # Currently this spec file does not support libgda module.
@@ -17,7 +17,7 @@
 # - Mamoru Tasaka
 
 Name:           ruby-gnome2
-Version:        0.90.2
+Version:        0.90.3
 #
 # When changing release number, please make it sure that
 # the new EVR won't be higher than the one of higher branch!!
@@ -31,7 +31,6 @@ License:        LGPLv2
 URL:            http://ruby-gnome2.sourceforge.jp/
 Source0:        http://downloads.sourceforge.net/%{name}/%{name}-all-%{version}.tar.gz
 #Source0:        %{name}-all-%{version}-%{betaver}.tar.gz
-Patch0:         ruby-gnome2-0.90.2-poppler-0_15_0.patch
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -197,6 +196,28 @@ Provides:       ruby(gdkpixbuf2-devel) = %{version}-%{release}
 Ruby/GdkPixbuf2 is a Ruby binding of GdkPixbuf-2.x.
 This package provides libraries and header files for ruby-gdkpixbuf2
 
+%package -n ruby-gio2
+Summary:        Ruby binding of gio-2.0.x.
+Group:          System Environment/Libraries
+
+Requires:       ruby(abi) = 1.8
+Requires:       ruby(glib2) >= %{version}
+Provides:       ruby(gio2) = %{version}-%{release}
+
+%description -n ruby-gio2
+Ruby/GIO2 is a Ruby binding of gio-2.0.x.
+
+%package -n ruby-gio2-devel
+Summary:        Development libraries and header files for ruby-gio2
+Group:          Development/Libraries
+
+Requires:       ruby(gio2) = %{version}-%{release}
+Requires:       pkgconfig
+# Not write Provides: ruby(gio2-devel) anymore, it is just a mistake
+
+%description -n ruby-gio2-devel
+This package provides libraries and header files for ruby-gio2.
+
 %package -n ruby-glib2
 Summary:        Ruby binding of GLib-2.x
 Group:          System Environment/Libraries
@@ -771,8 +792,6 @@ This package provides libraries and header files for ruby-vte
 %setup -q -n %{name}-all-%{version}
 #%%setup -q -n %{name}-all-%{version}-%{betaver}
 
-%patch0 -p0 -b .newpoppler
-
 # Fix /usr/local
 grep -rl /usr/local/bin . | grep -v ChangeLog | \
 	xargs sed -i -e 's|/usr/local/bin|/usr/bin|g'
@@ -800,9 +819,7 @@ make %{?_smp_mflags} -k
 %install
 rm -rf $RPM_BUILD_ROOT
 
-# Already fixed in rev 3682
-mkdir -p $RPM_BUILD_ROOT%{_libdir}/pkgconfig
-
+export pkgconfigdir=$RPM_BUILD_ROOT%{_libdir}/pkgconfig
 make install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p"
 
 %clean
@@ -869,7 +886,18 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -n ruby-gdkpixbuf2-devel
 %defattr(-,root,root,-)
-%{_libdir}/pkgconfig/ruby-gdkpixbuf2.pc
+%{_libdir}/pkgconfig/ruby-gdk-pixbuf2.pc
+
+%files -n ruby-gio2
+%defattr(-,root,root,-)
+%doc gio2/ChangeLog
+%doc gio2/README
+%{ruby_sitelib}/gio2.rb
+%{ruby_sitearch}/gio2.so
+
+%files -n ruby-gio2-devel
+%defattr(-,root,root,-)
+%{_libdir}/pkgconfig/ruby-gio2.pc
 
 %files -n ruby-glib2
 %defattr(-,root,root,-)
@@ -1098,6 +1126,12 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Sun Oct 24 2010 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 0.90.3-1
+- 0.90.3
+
+* Tue Oct 05 2010 jkeating - 0.90.2-1.1
+- Rebuilt for gcc bug 634757
+
 * Mon Oct  4 2010 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 0.90.2-1.2
 - Use upstream patch for poppler 0.15.0 issue
 
diff --git a/sources b/sources
index 781a30a..5886f11 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b25065050aeed8f94c235bee9d4ddf3e  ruby-gnome2-all-0.90.2.tar.gz
+2a3f38130501d523a9d3cf6f5fa5ed48  ruby-gnome2-all-0.90.3.tar.gz


More information about the scm-commits mailing list