github.com/psexton/git-lfs@v2.1.1-0.20170517224304-289a18b2bc53+incompatible/rpm/SPECS/ruby.spec (about)

     1  Name:           ruby
     2  Version:        2.2.2
     3  Release:	1%{?dist}
     4  Summary:        Ruby Programming Language
     5  
     6  Group:          Applications/Programming
     7  License:        BSDL
     8  URL:		https://www.ruby-lang.org/
     9  Source0:	http://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.2.tar.gz
    10  BuildRoot:      %(echo %{_topdir}/BUILDROOT/%{name}-%{version})
    11  BuildRequires:	patch, libyaml-devel, glibc-headers, autoconf, gcc-c++, glibc-devel, patch, readline-devel, zlib-devel, libffi-devel, openssl-devel, automake, libtool, sqlite-devel
    12  Provides:       gem = %{version}-%{release}
    13  
    14  %description
    15  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. 
    16  
    17  %prep
    18  %setup -q
    19  
    20  %build
    21  ./configure
    22  make -j 8
    23  
    24  %install
    25  [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
    26  make install DESTDIR=${RPM_BUILD_ROOT}
    27  
    28  %clean
    29  rm -rf %{buildroot}
    30  
    31  %files
    32  %defattr(-,root,root,-)
    33  /
    34  
    35  %changelog
    36  * Tue May 19 2015 Andrew Neff <andyneff@users.noreply.github.com> - 2.2.2-1
    37  - Initial Spec