view GraphTastic-client.spec @ 33:0faebb0b0fa4

update to kibana 3, logstash 1.2.1, es 0.90.5
author Carl Byington <carl@five-ten-sg.com>
date Mon, 23 Sep 2013 11:50:21 -0700
parents bb48b2672ff2
children d5349a22907e
line wrap: on
line source

# prevent brp repack jar files
%define __os_install_post %{nil}

%define gtcommit   06a620d011d08bd2c1099c0d0810c053bf105400

Summary:        Plot metrics sent from logstash
Name:           GraphTastic-client
Version:        0.0.0
Release:        0%{?dist}
License:        Apache 2.0
Group:          System Environment/Daemons
URL:            https://github.com/NickPadilla/GraphTastic
BuildArch:      noarch
#Source0:         https://github.com/NickPadilla/GraphTastic/tar.gz/%{gtcommit} >GraphTastic.tar.gz
Source0:        GraphTastic.tar.gz
BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires:  java-devel

%description


%prep
%setup -q -n GraphTastic-%{gtcommit}


%build
cd src/main/java
javac com/monstersoftwarellc/graphtastic/rmi/IRmiService.java
jar cf graphtastic-client.jar  com/monstersoftwarellc/graphtastic/rmi/IRmiService.class
unzip -t graphtastic-client.jar


%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_javadir}
install -D -p -m 644 src/main/java/graphtastic-client.jar $RPM_BUILD_ROOT%{_javadir}


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%attr(0755,root,root) %{_javadir}/*



%changelog
* Wed Apr 10 2013  <carl@five-ten-sg.com> - 0.0.0-0
- Initial build.