comparison jruby.spec @ 14:0e45fe64b10d

work on building from source
author Carl Byington <carl@five-ten-sg.com>
date Wed, 10 Apr 2013 21:24:14 -0700
parents
children c158cae7cd26
comparison
equal deleted inserted replaced
13:c0150404962d 14:0e45fe64b10d
1 # prevent brp repack jar files
2 %define __os_install_post %{nil}
3
4 %define _bindir /usr/local/bin
5
6 Summary: just enough jruby for el6 to get logstash running
7 Name: jruby
8 Version: 1.7.3
9 Release: 0%{?dist}
10 Group: System Environment/Daemons
11 License: Apache 2.0
12 URL: http://www.jruby.org/
13 BuildArch: noarch
14 Source0: http://repository.codehaus.org/org/jruby/jruby-complete/%{version}/jruby-complete-%{version}.jar
15 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
16
17
18 %description
19
20
21 %prep
22
23
24 %build
25
26
27 %install
28 rm -rf $RPM_BUILD_ROOT
29 install -D -p -m 644 %SOURCE0 $RPM_BUILD_ROOT/%{_bindir}/%{name}.jar
30
31
32 %clean
33 rm -rf $RPM_BUILD_ROOT
34
35
36 %files
37 %defattr(-,root,root,-)
38 %attr(0755,root,root) %{_bindir}/*
39
40
41
42 %changelog
43 * Wed Apr 10 2013 <carl@five-ten-sg.com> - 1.7.3-0
44 - Initial build.