SPECS: java-beanshell.spec - renamed from beanshell.spec - subpackage for l...
pawelz
pawelz at pld-linux.org
Thu Feb 5 23:36:27 CET 2009
Author: pawelz Date: Thu Feb 5 22:36:27 2009 GMT
Module: SPECS Tag: HEAD
---- Log message:
- renamed from beanshell.spec
- subpackage for launcher script
---- Files affected:
SPECS:
java-beanshell.spec (1.15 -> 1.16)
---- Diffs:
================================================================
Index: SPECS/java-beanshell.spec
diff -u SPECS/java-beanshell.spec:1.15 SPECS/java-beanshell.spec:1.16
--- SPECS/java-beanshell.spec:1.15 Thu Feb 5 19:52:37 2009
+++ SPECS/java-beanshell.spec Thu Feb 5 23:36:22 2009
@@ -5,6 +5,7 @@
#
%define _beta b4
%define _rel 4
+%define srcname beanshell
%include /usr/lib/rpm/macros.java
Summary: BeanShell - Lightweight Scripting for Java
Summary(pl.UTF-8): BeanShell - lekkie skrypty dla Javy
@@ -15,6 +16,7 @@
Group: Development/Languages/Java
Source0: http://www.beanshell.org/bsh-%{version}%{_beta}-src.jar
# Source0-md5: 49c9cc9872f26d562bffb1e5ec8aa377
+Source1: %{name}.sh
URL: http://www.beanshell.org/
BuildRequires: ant >= 1.3
BuildRequires: antlr
@@ -54,6 +56,19 @@
%description javadoc -l pl.UTF-8
Dokumentacja API BeanShell.
+%package -n beanshell
+Summary: BeanShell shell startup script
+Summary(pl.UTF-8): Skrypt uruchamiający BeanShell
+Group: Applications
+Requires: %{name} = %{version}-%{release}
+Requires: jpackage-utils
+
+%description -n beanshell
+Shell script that runs beanshell as standalone application.
+
+%description -n beanshell -l pl.UTF-8
+Skrypt powłoki uruchamiający beanshell jako niezależną aplikację.
+
%prep
%setup -q -n BeanShell-%{version}%{_beta}
@@ -71,7 +86,7 @@
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_javadir},%{_javadocdir}/%{name}-%{version}}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_javadir},%{_javadocdir}/%{name}-%{version}}
# jars
install dist/bsh-%{version}%{_beta}.jar $RPM_BUILD_ROOT%{_javadir}
@@ -80,6 +95,8 @@
cp -a javadoc/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name} # ghost symlink
+install %SOURCE1 $RPM_BUIL_ROOT%{_bindir}/beanshell
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -97,12 +114,20 @@
%{_javadocdir}/%{name}-%{version}
%ghost %{_javadocdir}/%{name}
+%files -n beanshell
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/beanshell
+
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.16 2009/02/05 22:36:22 pawelz
+- renamed from beanshell.spec
+- subpackage for launcher script
+
Revision 1.15 2009/02/05 18:52:37 pawelz
- it does not BRs servlet. What for?
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/java-beanshell.spec?r1=1.15&r2=1.16&f=u
More information about the pld-cvs-commit
mailing list