view jruby.spec @ 22:226946e5dca4

work on building from source
author Carl Byington <carl@five-ten-sg.com>
date Wed, 17 Apr 2013 19:38:59 -0700
parents 1d50b19beda0
children bb48b2672ff2
line wrap: on
line source

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

%define _bindir  /usr/share

Summary:        just enough jruby for el6 to get logstash running
Name:           jruby
Version:        1.7.3
Release:        0%{?dist}
Group:          System Environment/Daemons
License:        Apache 2.0
URL:            http://www.jruby.org/
BuildArch:      noarch
Source0:        http://repository.codehaus.org/org/jruby/jruby-complete/%{version}/jruby-complete-%{version}.jar
BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)


%description


%prep


%build


%install
rm -rf $RPM_BUILD_ROOT
install -D -p -m 644 %SOURCE0 $RPM_BUILD_ROOT/%{_bindir}/%{name}.jar


%clean
rm -rf $RPM_BUILD_ROOT


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



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