annotate jruby.spec @ 24:0f249d38da21

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