Mercurial > logstash
annotate jruby.spec @ 15:c158cae7cd26
work on building from source
author  Carl Byington <carl@fivetensg.com> 

date  Thu, 11 Apr 2013 10:18:06 0700 
parents  0e45fe64b10d 
children  aa606d801e02 
rev  line source 

14
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

1 # prevent brp repack jar files 
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

2 %define __os_install_post %{nil} 
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

3 
15
c158cae7cd26
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
14
diff
changeset

4 %define _bindir /usr/share 
14
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

5 
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

6 Summary: just enough jruby for el6 to get logstash running 
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

7 Name: jruby 
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

8 Version: 1.7.3 
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

9 Release: 0%{?dist} 
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

10 Group: System Environment/Daemons 
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

11 License: Apache 2.0 
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

12 URL: http://www.jruby.org/ 
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

13 BuildArch: noarch 
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

14 Source0: http://repository.codehaus.org/org/jruby/jrubycomplete/%{version}/jrubycomplete%{version}.jar 
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

15 BuildRoot: %(mktemp ud %{_tmppath}/%{name}%{version}%{release}XXXXXX) 
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

16 
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

17 
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

18 %description 
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

19 
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

20 
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

21 %prep 
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

22 
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

23 
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

24 %build 
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

25 
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

26 
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

27 %install 
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

28 rm rf $RPM_BUILD_ROOT 
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

29 install D p m 644 %SOURCE0 $RPM_BUILD_ROOT/%{_bindir}/%{name}.jar 
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

30 
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

31 
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

32 %clean 
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

33 rm rf $RPM_BUILD_ROOT 
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

34 
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

35 
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

36 %files 
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

37 %defattr(,root,root,) 
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

38 %attr(0755,root,root) %{_bindir}/* 
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

39 
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

40 
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

41 
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

42 %changelog 
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

43 * Wed Apr 10 2013 <carl@fivetensg.com>  1.7.30 
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

44  Initial build. 