view jruby.spec @ 18:2b887e35b5cd

work on building from source
author Carl Byington <carl@five-ten-sg.com>
date Mon, 15 Apr 2013 19:33:28 -0700
parents aa606d801e02
children 1d50b19beda0
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.1
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.