Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

68 lines (56 sloc) 1.825 kb
%define rubyver 1.9.3
%define rubyminorver p125
Name: ruby
Version: %{rubyver}%{rubyminorver}
Release: 1%{?dist}
License: Ruby License/GPL - see COPYING
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: readline libyaml libyaml-devel readline-devel ncurses ncurses-devel gdbm gdbm-devel glibc-devel tcl-devel gcc unzip openssl-devel db4-devel byacc make
Requires: libyaml
Summary: An interpreter of object-oriented scripting language
Group: Development/Languages
Provides: ruby(abi) = 1.9
Provides: ruby-irb
Provides: ruby-rdoc
Provides: ruby-libs
Provides: ruby-devel
Provides: rubygems
Obsoletes: ruby
Obsoletes: ruby-libs
Obsoletes: ruby-irb
Obsoletes: ruby-rdoc
Obsoletes: ruby-devel
Obsoletes: rubygems
Ruby is the interpreted scripting language for quick and easy
object-oriented programming. It has many features to process text
files and to do system management tasks (as in Perl). It is simple,
straight-forward, and extensible.
%setup -n ruby-%{rubyver}-%{rubyminorver}
export CFLAGS="$RPM_OPT_FLAGS -Wall -fno-strict-aliasing"
%configure \
--enable-shared \
--disable-rpath \
--includedir=%{_includedir}/ruby \
make %{?_smp_mflags}
# installing binaries ...
#we don't want to keep the src directory
rm -rf $RPM_BUILD_ROOT/usr/src
%defattr(-, root, root)
* Sat Feb 24 2012 Ian Meyer <> - 1.9.3-p125-1
- Spec to replace system ruby with 1.9.3-p125
Jump to Line
Something went wrong with that request. Please try again.