Skip to content

Instantly share code, notes, and snippets.

@timcharper
Created December 13, 2008 06:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save timcharper/35409 to your computer and use it in GitHub Desktop.
Save timcharper/35409 to your computer and use it in GitHub Desktop.
Ruby Enterprise Edition RPM spec
cat ruby-enterprise.spec
Summary: Ruby Enterprise Edition
Name: ruby-enterprise
Version: 1.8.6
Release: 20081205
License: GPL
Group: Applications/System
Source: ruby-enterprise-%{version}-%{release}.tar.gz
BuildRoot: /var/tmp/%{name}-%{version}-%{release}
%description
Ruby Enterprise Edition is a copy-on-right friendly version of ruby that also
includes several performance patches.
%prep
%setup -q -n ruby-enterprise-%{version}-%{release}/source
%build
./configure --prefix=/opt/ree
%install
make
make DESTDIR=$RPM_BUILD_ROOT install
%files
%defattr(-,root,root)
/opt/ree
%changelog
* Fri Dec 13 2008 Tim C. Harper <tim.harper@leadmediapartners.com>
- first build of REE package
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment