|
@@ -1,11 +1,11 @@
|
|
|
-%define rlibdir %(%{ruby} -r rbconfig -e 'print Config::CONFIG["rubylibdir"]')
|
|
|
-%define rarchdir %(%{ruby} -r rbconfig -e 'print Config::CONFIG["archdir"]')
|
|
|
+%define rlibdir %(%{ruby} -r rbconfig -e 'print RbConfig::CONFIG["rubylibdir"]')
|
|
|
+%define rarchdir %(%{ruby} -r rbconfig -e 'print RbConfig::CONFIG["archdir"]')
|
|
|
|
|
|
Summary: Ruby binding for cairo
|
|
|
Summary(ja): cairo の Ruby バインディング
|
|
|
Name: rcairo
|
|
|
-Version: 1.8.0
|
|
|
-Release: 2%{?_dist_release}
|
|
|
+Version: 1.12.2
|
|
|
+Release: 1%{?_dist_release}
|
|
|
Source0: http://cairographics.org/releases/%{name}-%{version}.tar.gz
|
|
|
License: The same conditions as ruby
|
|
|
Group: System Environment/Libraries
|
|
@@ -14,6 +14,7 @@ URL: http://cairographics.org/
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
BuildRequires: ruby-devel >= 1.8.0
|
|
|
BuildRequires: cairo-devel >= 1.2.0
|
|
|
+BuildRequires: ruby-pkg-config
|
|
|
|
|
|
Vendor: Project Vine
|
|
|
Distribution: Vine Linux
|
|
@@ -72,6 +73,12 @@ rm -rf ${RPM_BUILD_ROOT}
|
|
|
%{rarchdir}/*.h
|
|
|
|
|
|
%changelog
|
|
|
+* Sun Jan 13 2013 IWAI, Masaharu <iwai@alib.jp> 1.12.2-1
|
|
|
+- new upstream release
|
|
|
+- add BuildRequires: ruby-pkg-config
|
|
|
+- build with ruby 1.9.3.362-6
|
|
|
+ - Use RbConfig instead of obsolete and deprecated Config.
|
|
|
+
|
|
|
* Sat Mar 12 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.0-2
|
|
|
- rebuilt with new toolchains
|
|
|
|