diff jruby.spec @ 14:0e45fe64b10d

work on building from source
author Carl Byington <carl@five-ten-sg.com>
date Wed, 10 Apr 2013 21:24:14 -0700
parents
children c158cae7cd26
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jruby.spec	Wed Apr 10 21:24:14 2013 -0700
@@ -0,0 +1,44 @@
+# prevent brp repack jar files
+%define __os_install_post %{nil}
+
+%define _bindir  /usr/local/bin
+
+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.