Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 90 lines (74 sloc) 2.674 kb
e6d0e96 @imeyer Initial commit.
imeyer authored
1 %define rubyver 1.9.2
bd752af Update ruby version to 1.9.2-p180.
Matthew Albright authored
2 %define rubyminorver p290
e6d0e96 @imeyer Initial commit.
imeyer authored
3
4 Name: ruby
5 Version: %{rubyver}%{rubyminorver}
bd752af Update ruby version to 1.9.2-p180.
Matthew Albright authored
6 Release: 1%{?dist}
e6d0e96 @imeyer Initial commit.
imeyer authored
7 License: Ruby License/GPL - see COPYING
8 URL: http://www.ruby-lang.org/
9 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
1575fe0 @robduncan Added requirement for make.
robduncan authored
10 BuildRequires: readline readline-devel ncurses ncurses-devel gdbm gdbm-devel glibc-devel tcl-devel gcc unzip openssl-devel db4-devel byacc make
e6d0e96 @imeyer Initial commit.
imeyer authored
11 Source0: ftp://ftp.ruby-lang.org/pub/ruby/ruby-%{rubyver}-%{rubyminorver}.tar.gz
12 Summary: An interpreter of object-oriented scripting language
13 Group: Development/Languages
ed5d9bd initial commit, added openssl and zlib support and requirement
Neal Brown authored
14 Requires: openssl, openssl-devel, zlib, zlib-devel
9e38b14 @imeyer Update Provides ruby(abi) to 1.9
imeyer authored
15 Provides: ruby(abi) = 1.9
e6d0e96 @imeyer Initial commit.
imeyer authored
16 Provides: ruby-irb
17 Provides: ruby-rdoc
18 Provides: ruby-libs
19 Provides: ruby-devel
20 Obsoletes: ruby
21 Obsoletes: ruby-libs
22 Obsoletes: ruby-irb
23 Obsoletes: ruby-rdoc
24 Obsoletes: ruby-devel
25
26 %description
27 Ruby is the interpreted scripting language for quick and easy
28 object-oriented programming. It has many features to process text
29 files and to do system management tasks (as in Perl). It is simple,
30 straight-forward, and extensible.
31
32 %prep
33 %setup -n ruby-%{rubyver}-%{rubyminorver}
34
35 %build
36 export CFLAGS="$RPM_OPT_FLAGS -Wall -fno-strict-aliasing"
37
38 %configure \
39 --enable-shared \
40 --disable-rpath \
41 --without-X11 \
42 --without-tk \
ed5d9bd initial commit, added openssl and zlib support and requirement
Neal Brown authored
43 --without-tcl \
e6d0e96 @imeyer Initial commit.
imeyer authored
44 --includedir=%{_includedir}/ruby \
ed5d9bd initial commit, added openssl and zlib support and requirement
Neal Brown authored
45 --libdir=%{_libdir} \
46 --with-openssl-include=/usr/include/openssl \
47 --with-openssl-lib=/usr/lib64/openssl/engines \
48 --with-zlib-include=/usr/include \
49 --with-zlib-lib=/usr/lib64
e6d0e96 @imeyer Initial commit.
imeyer authored
50
51 make %{?_smp_mflags}
52
53 %install
54 # installing binaries ...
55 make install DESTDIR=$RPM_BUILD_ROOT
56
92ed6d0 @robduncan Refactoring install macro somewhat. Should now be platform agnostic a…
robduncan authored
57 #we don't want to keep the src directory
58 rm -rf $RPM_BUILD_ROOT/usr/src
e6d0e96 @imeyer Initial commit.
imeyer authored
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %files
64 %defattr(-, root, root)
65 %{_bindir}
66 %{_includedir}
6a02061 @imeyer Updated README.md
imeyer authored
67 %{_datadir}
92ed6d0 @robduncan Refactoring install macro somewhat. Should now be platform agnostic a…
robduncan authored
68 %{_libdir}
e6d0e96 @imeyer Initial commit.
imeyer authored
69
70 %changelog
bd752af Update ruby version to 1.9.2-p180.
Matthew Albright authored
71 * Sun Jul 24 2011 Matt Albright <mattalbright@gmail.com> - 1.9.2-p290-1
72 - Update ruby version to 1.9.2-p290
73
ed5d9bd initial commit, added openssl and zlib support and requirement
Neal Brown authored
74 * Tue Jul 05 2011 Neal Brown <neal@spiceworks.com> - 1.9.2-p180-3
75 - Added openssl and zlib support
76
6a02061 @imeyer Updated README.md
imeyer authored
77 * Sat Jun 25 2011 Ian Meyer <ianmmeyer@gmail.com> - 1.9.2-p180-2
78 - Remove non-existant --sitearchdir and --vedorarchdir from %configure
79 - Replace --sitedir --vendordir with simpler --libdir
80 - Change %{_prefix}/share to %{_datadir}
81
99c5615 @robduncan Updating ruby to 1.9.2-p180
robduncan authored
82 * Tue Mar 7 2011 Robert Duncan <robert@robduncan.co.uk> - 1.9.2-p180-1
804c1f2 @robduncan Updating changelog in specfile.
robduncan authored
83 - Update prerequisites to include make
99c5615 @robduncan Updating ruby to 1.9.2-p180
robduncan authored
84 - Update ruby version to 1.9.2-p180
92ed6d0 @robduncan Refactoring install macro somewhat. Should now be platform agnostic a…
robduncan authored
85 - Install /usr/share documentation
86 - (Hopefully!?) platform agnostic
804c1f2 @robduncan Updating changelog in specfile.
robduncan authored
87
e6d0e96 @imeyer Initial commit.
imeyer authored
88 * Sun Jan 2 2011 Ian Meyer <ianmmeyer@gmail.com> - 1.9.2-p136-1
89 - Initial spec to replace system ruby with 1.9.2-p136
Something went wrong with that request. Please try again.