view jruby.spec @ 24:0f249d38da21

jruby.spec needs /usr/share to match fedora jrudy location
author Carl Byington <carl@five-ten-sg.com>
date Fri, 19 Apr 2013 17:48:29 -0700
parents bb48b2672ff2
children d5349a22907e
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.