Skip to content

Instantly share code, notes, and snippets.

@mipearson
Created August 2, 2011 07:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mipearson/1119761 to your computer and use it in GitHub Desktop.
Save mipearson/1119761 to your computer and use it in GitHub Desktop.
Ruby 1.9.2 specfile
Summary: Ruby 1.9.2
Name: ruby19
Version: 1.9.2p290
Release: 1
Source0: ruby-1.9.2-p290.tar.gz
License: GPL
Group: PlayUp
BuildArch: x86_64
BuildRoot: %{_tmppath}/%{name}-buildroot
%description
Ruby 1.9.2
%prep
%setup -q -n ruby-1.9.2-p290
%build
%configure
make -j4
%install
make DESTDIR=$RPM_BUILD_ROOT install
%clean
%post
%files
%defattr(-,root,root)
/usr/bin/erb
/usr/bin/irb
/usr/bin/rake
/usr/bin/ri
/usr/bin/ruby
/usr/bin/rdoc
/usr/bin/testrb
/usr/bin/gem
/usr/include/ruby-1.9.1
/usr/lib64/libruby-static.a
/usr/lib64/ruby
/usr/share/doc/ruby
/usr/share/ri/1.9.1
/usr/share/man/man1/erb.1.gz
/usr/share/man/man1/irb.1.gz
/usr/share/man/man1/rake.1.gz
/usr/share/man/man1/ri.1.gz
/usr/share/man/man1/ruby.1.gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment