git-lfs/rpm/SPECS/ruby.spec
Andy Neff 4a71627779 RPMs for Centos 5/6/7
Currently uses the the internal golang linker, so
git-lfs has no build-id. The debug pacakges will
not work out of the box until this is fixed.
2015-05-28 23:34:18 -04:00

38 lines
1.0 KiB
RPMSpec

Name: ruby
Version: 2.2.2
Release: 1%{?dist}
Summary: Ruby Programming Language
Group: Applications/Programming
License: BSDL
URL: https://www.ruby-lang.org/
Source0: http://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.2.tar.gz
BuildRoot: %(echo %{_topdir}/BUILDROOT/%{name}-%{version})
BuildRequires: patch, libyaml-devel, glibc-headers, autoconf, gcc-c++, glibc-devel, patch, readline-devel, zlib-devel, libffi-devel, openssl-devel, automake, libtool, sqlite-devel
Provides: gem = %{version}-%{release}
%description
A dynamic, open source programming language with a focus on simplicity and productivity. It has an elegant syntax that is natural to read and easy to write.
%prep
%setup -q
%build
./configure
make -j 8
%install
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
make install DESTDIR=${RPM_BUILD_ROOT}
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
/
%changelog
* Tue May 19 2015 Andrew Neff <andyneff@users.noreply.github.com> - 2.2.2-1
- Initial Spec