packages: jruby/jruby.spec - up to 0.9.0 - unified %files - use %ant macro
pawelz
pawelz at pld-linux.org
Wed Jun 17 12:13:27 CEST 2009
Author: pawelz Date: Wed Jun 17 10:13:27 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- up to 0.9.0
- unified %files
- use %ant macro
---- Files affected:
packages/jruby:
jruby.spec (1.4 -> 1.5)
---- Diffs:
================================================================
Index: packages/jruby/jruby.spec
diff -u packages/jruby/jruby.spec:1.4 packages/jruby/jruby.spec:1.5
--- packages/jruby/jruby.spec:1.4 Tue Feb 13 09:06:36 2007
+++ packages/jruby/jruby.spec Wed Jun 17 12:13:21 2009
@@ -1,14 +1,16 @@
# $Revision$, $Date$
-# TODO: make jruby.sh work with our paths
+# TODO:
+# - make jruby.sh work with our paths
+# - package all scripts
Summary: JRuby - A Java implementation of the Ruby language
Summary(pl.UTF-8): JRuby - implementacja języka Ruby w Javie
Name: jruby
-Version: 0.8.1
+Version: 0.9.0
Release: 0.1
License: CPL or GPL or LGPL
Group: Development/Languages
Source0: http://dl.sourceforge.net/jruby/%{name}-src-%{version}.tar.gz
-# Source0-md5: 4a3e300cc0dda0f52677db8be0076e62
+# Source0-md5: 0e5a764dc16b018624e7a57939d64d7e
URL: http://jruby.sourceforge.net/
BuildRequires: ant
BuildRequires: jdk >= 1.4
@@ -35,14 +37,15 @@
%setup -q
%build
-ant
+%ant
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_javadir},%{_bindir}}
-install bin/jruby.sh $RPM_BUILD_ROOT%{_bindir}
-install lib/jruby.jar $RPM_BUILD_ROOT%{_javadir}
+install bin/jruby $RPM_BUILD_ROOT%{_bindir}/jruby
+install lib/jruby.jar $RPM_BUILD_ROOT%{_javadir}/jruby-%{version}.jar
+ln -s jruby-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/jruby.jar
%clean
rm -rf $RPM_BUILD_ROOT
@@ -50,8 +53,9 @@
%files
%defattr(644,root,root,755)
%doc COPYING COPYING.CPL README docs
-%attr(755,root,root) %{_bindir}/jruby.sh
-%{_javadir}/*.jar
+%attr(755,root,root) %{_bindir}/jruby
+%{_javadir}/jruby-%{version}.jar
+%{_javadir}/jruby.jar
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -59,6 +63,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.5 2009/06/17 10:13:21 pawelz
+- up to 0.9.0
+- unified %files
+- use %ant macro
+
Revision 1.4 2007/02/13 08:06:36 glen
- tabs in preamble
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/jruby/jruby.spec?r1=1.4&r2=1.5&f=u
More information about the pld-cvs-commit
mailing list