Mercurial > logstash
annotate GraphTasticclient.spec @ 35:d5349a22907e default tip
fix license tags in spec files to be fedora compatible
author  Carl Byington <carl@fivetensg.com> 

date  Wed, 25 Sep 2013 21:00:11 0700 
parents  bb48b2672ff2 
children 
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 
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

4 %define gtcommit 06a620d011d08bd2c1099c0d0810c053bf105400 
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: Plot metrics sent from logstash 
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

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

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

9 Release: 0%{?dist} 
35
d5349a22907e
fix license tags in spec files to be fedora compatible
Carl Byington <carl@fivetensg.com>
parents:
23
diff
changeset

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

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

12 URL: https://github.com/NickPadilla/GraphTastic 
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: https://github.com/NickPadilla/GraphTastic/tar.gz/%{gtcommit} >GraphTastic.tar.gz 
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

15 Source0: GraphTastic.tar.gz 
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

16 BuildRoot: %(mktemp ud %{_tmppath}/%{name}%{version}%{release}XXXXXX) 
23
bb48b2672ff2
use _javadir in spec files
Carl Byington <carl@fivetensg.com>
parents:
17
diff
changeset

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

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

19 %description 
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 
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

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

23 %setup q n GraphTastic%{gtcommit} 
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

24 
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 %build 
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

27 cd src/main/java 
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

28 javac com/monstersoftwarellc/graphtastic/rmi/IRmiService.java 
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

29 jar cf graphtasticclient.jar com/monstersoftwarellc/graphtastic/rmi/IRmiService.class 
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

30 unzip t graphtasticclient.jar 
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 
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

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

34 rm rf $RPM_BUILD_ROOT 
23
bb48b2672ff2
use _javadir in spec files
Carl Byington <carl@fivetensg.com>
parents:
17
diff
changeset

35 install d $RPM_BUILD_ROOT%{_javadir} 
bb48b2672ff2
use _javadir in spec files
Carl Byington <carl@fivetensg.com>
parents:
17
diff
changeset

36 install D p m 644 src/main/java/graphtasticclient.jar $RPM_BUILD_ROOT%{_javadir} 
14
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

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

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

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

40 rm rf $RPM_BUILD_ROOT 
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 
0e45fe64b10d
work on building from source
Carl Byington <carl@fivetensg.com>
parents:
diff
changeset

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

44 %defattr(,root,root,) 
23
bb48b2672ff2
use _javadir in spec files
Carl Byington <carl@fivetensg.com>
parents:
17
diff
changeset

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

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

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

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

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

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

51  Initial build. 