[rubygem-atk] - 0.90.3

Mamoru Tasaka mtasaka at fedoraproject.org
Sat Oct 23 20:18:10 UTC 2010


commit 36765a8f9dbc08b5d3bb2640a62d23fcb91243fd
Author: Mamoru Tasaka <tasaka1 at localhost.localdomain>
Date:   Sun Oct 24 05:18:07 2010 +0900

    - 0.90.3

 .gitignore       |    1 +
 rubygem-atk.spec |   20 +++++++++++++-------
 sources          |    2 +-
 3 files changed, 15 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 705f1e3..6745de8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /atk-0.90.2.gem
+/atk-0.90.3.gem
diff --git a/rubygem-atk.spec b/rubygem-atk.spec
index 7ea439c..2f67e02 100644
--- a/rubygem-atk.spec
+++ b/rubygem-atk.spec
@@ -5,12 +5,15 @@
 %global	gemname	atk
 %global	geminstdir	%{gemdir}/gems/%{gemname}-%{version}
 
+%global	glibminver	0.90.3
+%global	obsoleteevr	0.90.3-1.999
+
 %global	rubyabi	1.8
 
 Summary:	Ruby binding of ATK-1.0.x
 Name:		rubygem-%{gemname}
-Version:	0.90.2
-Release:	6%{?dist}
+Version:	0.90.3
+Release:	2%{?dist}
 Group:		Development/Languages
 # from README
 License:	LGPLv2
@@ -19,12 +22,12 @@ Source0:	http://rubygems.org/gems/%{gemname}-%{version}.gem
 
 BuildRequires:	ruby(abi) = %{rubyabi}
 BuildRequires:	rubygems
-BuildRequires:	rubygem-glib2-devel
+BuildRequires:	rubygem-glib2-devel >= %{glibminver}
 BuildRequires:	ruby-devel
 BuildRequires:	atk-devel
 Requires:	ruby(abi) = %{rubyabi}
 Requires:	rubygems
-Requires:	rubygem(glib2) = %{version}
+Requires:	rubygem(glib2) >= %{glibminver}
 Provides:	rubygem(%{gemname}) = %{version}
 
 %description
@@ -58,7 +61,7 @@ Requires:	rubygem-glib2-devel = %{version}
 Requires:	atk-devel
 # Obsoletes / Provides
 # ruby(%%{gemname}-devel) Provides is for compatibility
-Obsoletes:	ruby-%{gemname}-devel < 0.90.2-3.999
+Obsoletes:	ruby-%{gemname}-devel < %{obsoleteevr}
 Provides:	ruby-%{gemname}-devel = %{version}-%{release}
 Provides:	ruby(%{gemname}-devel) = %{version}-%{release}
 
@@ -70,7 +73,7 @@ rubygem-%{gemname}
 %setup -q -c -T
 mkdir -p .%{gemdir}
 
-export DESTDIR=$(pwd)/TMPINSTDIR
+export pkgconfigdir=$(pwd)%{_libdir}/pkgconfig
 export CONFIGURE_ARGS="--with-cflags='%{optflags}'"
 gem install \
 	-V \
@@ -101,7 +104,7 @@ popd
 
 # move pkgconfig file
 mkdir %{buildroot}%{_libdir}/pkgconfig
-install -cpm 644 TMPINSTDIR/%{_libdir}/pkgconfig/*.pc \
+install -cpm 644 ./%{_libdir}/pkgconfig/*.pc \
 	%{buildroot}%{_libdir}/pkgconfig/
 
 
@@ -208,6 +211,9 @@ rm -rf %{buildroot}
 %{geminstdir}/Rakefile
 
 %changelog
+* Sun Oct 24 2010 Mamoru Taska  <mtasaka at ioa.s.u-tokyo.ac.jp> - 0.90.3-2
+- 0.90.3
+
 * Fri Oct  1 2010 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 0.90.2-6
 - Fix up summary
 
diff --git a/sources b/sources
index 5af8ea3..4b892fa 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-220feb3b7bd9fdb4eccb5c68d350494b  atk-0.90.2.gem
+a2d923d00eea42674f0373a028a3c27f  atk-0.90.3.gem


More information about the scm-commits mailing list