annotate jruby.spec @ 23:bb48b2672ff2

use _javadir in spec files
author Carl Byington <carl@five-ten-sg.com>
date Fri, 19 Apr 2013 15:03:01 -0700
parents 1d50b19beda0
children 0f249d38da21
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
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
4 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
5 Name: jruby
21
1d50b19beda0 work on building from source
Carl Byington <carl@five-ten-sg.com>
parents: 16
diff changeset
6 Version: 1.7.3
14
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
7 Release: 0%{?dist}
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
8 Group: System Environment/Daemons
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
9 License: Apache 2.0
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
10 URL: http://www.jruby.org/
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
11 BuildArch: noarch
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
12 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
13 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
14
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
15
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
16 %description
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
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
19 %prep
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
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
22 %build
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
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
25 %install
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
26 rm -rf $RPM_BUILD_ROOT
23
bb48b2672ff2 use _javadir in spec files
Carl Byington <carl@five-ten-sg.com>
parents: 21
diff changeset
27 install -D -p -m 644 %SOURCE0 $RPM_BUILD_ROOT/%{_javadir}/%{name}.jar
14
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
28
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
29
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
30 %clean
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
31 rm -rf $RPM_BUILD_ROOT
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
32
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
33
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
34 %files
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
35 %defattr(-,root,root,-)
23
bb48b2672ff2 use _javadir in spec files
Carl Byington <carl@five-ten-sg.com>
parents: 21
diff changeset
36 %attr(0755,root,root) %{_javadir}/*
14
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
37
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
38
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 %changelog
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
41 * 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
42 - Initial build.