-
Notifications
You must be signed in to change notification settings - Fork 5
/
jruby.spec
89 lines (70 loc) · 2.33 KB
/
jruby.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
Name: jruby
Version: 1.6.5
Release: 1%{?dist}
Summary: Pure-Java Implementation of the Ruby Programming Language
Group: Development/System
License: Multiple
URL: http://www.jruby.org
Source0: http://jruby.org.s3.amazonaws.com/downloads/%{version}/%{name}-bin-%{version}.tar.gz
Source1: jruby
Source2: jirb
Source3: jrake
Source4: jrdoc
Source5: jrubyc
Source6: jri
Source7: jgem
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Requires: java-1.6.0-openjdk
%description
100% Pure-Java Implementation of the Ruby Programming Language
Features:
Ruby 1.8.7 Compatible
High performance
Real threading
Vast array of libraries
%prep
%setup -q
%build
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_bindir}
mkdir -p $RPM_BUILD_ROOT/opt
mkdir -p $RPM_BUILD_ROOT/%{_docdir}/%{name}
cp %{SOURCE1} $RPM_BUILD_ROOT/%{_bindir}/
cp %{SOURCE2} $RPM_BUILD_ROOT/%{_bindir}/
cp %{SOURCE3} $RPM_BUILD_ROOT/%{_bindir}/
cp %{SOURCE4} $RPM_BUILD_ROOT/%{_bindir}/
cp %{SOURCE5} $RPM_BUILD_ROOT/%{_bindir}/
cp %{SOURCE6} $RPM_BUILD_ROOT/%{_bindir}/
cp %{SOURCE7} $RPM_BUILD_ROOT/%{_bindir}/
cp $RPM_BUILD_DIR/%{name}-%{version}/README $RPM_BUILD_ROOT/%{_docdir}/%{name}/
cp $RPM_BUILD_DIR/%{name}-%{version}/LICENSE.RUBY $RPM_BUILD_ROOT/%{_docdir}/%{name}/
cp $RPM_BUILD_DIR/%{name}-%{version}/COPYING $RPM_BUILD_ROOT/%{_docdir}/%{name}/
cp -r $RPM_BUILD_DIR/%{name}-%{version} $RPM_BUILD_ROOT/opt/jruby
cp -r $RPM_BUILD_DIR/%{name}-%{version}/docs/* $RPM_BUILD_ROOT/%{_docdir}/%{name}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc %{_docdir}/%{name}
/opt/jruby
/usr/bin
%changelog
* Wed Nov 23 2011 Jorge Falcão <[email protected]> - 1.6.5-1
- bump version
* Fri Jul 08 2011 Sergio Rubio <[email protected]> - 1.6.3-1
- bump version
* Thu Apr 14 2011 Sergio Rubio <[email protected]> - 1.6.1-1
- bumped version
* Thu Mar 17 2011 Sergio Rubio <[email protected]> - 1.6.0
- updated to 1.6.0
* Thu Feb 10 2011 Sergio Rubio <[email protected]> - 1.6.0.RC2-1
- updated to 1.6.0.RC2
* Sun Dec 19 2010 Sergio Rubio <[email protected]> - 1.5.6-1
- updated to 1.5.6
* Fri Oct 15 2010 Sergio Rubio <[email protected]> 1.5.3-3
- Fixed wrapper scripts
* Fri Oct 15 2010 Sergio Rubio <[email protected]> 1.5.3-2
- Install jgem wrapper script
* Fri Oct 15 2010 Sergio Rubio <[email protected]> 1.5.3-1
- Initial release