annotate GraphTastic-client.spec @ 19:729f36e68da8 unbundled-1.1.9-working

work on building from source
author Carl Byington <carl@five-ten-sg.com>
date Wed, 17 Apr 2013 11:48:04 -0700
parents 292b6583148a
children bb48b2672ff2
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 %define _bindir /usr/local/bin
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
5 %define gtcommit 06a620d011d08bd2c1099c0d0810c053bf105400
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
6
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
7 Summary: Plot metrics sent from logstash
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
8 Name: GraphTastic-client
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
9 Version: 0.0.0
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
10 Release: 0%{?dist}
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 Group: System Environment/Daemons
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
13 URL: https://github.com/NickPadilla/GraphTastic
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
14 BuildArch: noarch
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
15 #Source0: https://github.com/NickPadilla/GraphTastic/tar.gz/%{gtcommit} >GraphTastic.tar.gz
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
16 Source0: GraphTastic.tar.gz
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
17 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
17
292b6583148a work on building from source
Carl Byington <carl@five-ten-sg.com>
parents: 14
diff changeset
18 BuildRequires: java-1.7.0-openjdk-devel
14
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 %description
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
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
23 %prep
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
24 %setup -q -n GraphTastic-%{gtcommit}
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 %build
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
28 cd src/main/java
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
29 javac com/monstersoftwarellc/graphtastic/rmi/IRmiService.java
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
30 jar cf graphtastic-client.jar com/monstersoftwarellc/graphtastic/rmi/IRmiService.class
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
31 unzip -t graphtastic-client.jar
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 %install
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
35 rm -rf $RPM_BUILD_ROOT
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
36 install -d $RPM_BUILD_ROOT%{_bindir}
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
37 install -D -p -m 644 src/main/java/graphtastic-client.jar $RPM_BUILD_ROOT%{_bindir}
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 %clean
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
41 rm -rf $RPM_BUILD_ROOT
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
42
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
43
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
44 %files
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
45 %defattr(-,root,root,-)
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
46 %attr(0755,root,root) %{_bindir}/*
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
47
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
48
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
49
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
50 %changelog
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
51 * Wed Apr 10 2013 <carl@five-ten-sg.com> - 0.0.0-0
0e45fe64b10d work on building from source
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
52 - Initial build.