Skip to content

Instantly share code, notes, and snippets.

@andreimaxim
Created April 16, 2010 15:35
Show Gist options
  • Save andreimaxim/368571 to your computer and use it in GitHub Desktop.
Save andreimaxim/368571 to your computer and use it in GitHub Desktop.
Summary: Ruby Enterprise Edition
Name: ruby-enterprise
Vendor: Phusion.nl
Version: 1.8.7
Release: 2010.01
License: LGPL
Group: Development/Languages
URL: http://www.rubyenterpriseedition.com/
Source0: %{name}-%{version}-%{release}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: gcc-c++ make patch zlib-devel openssl-devel readline-devel google-perftools
Requires: google-perftools >= 1.4
Provides: ruby = %{version}
Provides: %{name} = %{version}
%description
Ruby Enterprise Edition is a server-oriented friendly branch of Ruby which
includes various performance enhancements.
%prep
%setup -q -n %{name}-%{version}-%{release}
%build
cd source
%configure --enable-mbari-api CFLAGS='-g -O2'
make %{?_smp_mflags} EXTLIBS="-ltcmalloc_minimal"
%install
cd source
rm -rf %{buildroot}
make DESTDIR=%{buildroot} INSTALL="install -p" CP="cp -p" install
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{_bindir}/erb
%{_bindir}/irb
%{_bindir}/rdoc
%{_bindir}/ri
%{_bindir}/ruby
%{_bindir}/testrb
%{_libdir}/libruby-static.a
%{_libdir}/ruby/*
%{_mandir}/man1/ruby.1.gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment