|
Permaine Cheung |
119296 |
# Copyright (c) 2000-2007, JPackage Project
|
|
Deepak Bhole |
b800ad |
# All rights reserved.
|
|
Deepak Bhole |
b800ad |
#
|
|
Deepak Bhole |
b800ad |
# Redistribution and use in source and binary forms, with or without
|
|
Deepak Bhole |
b800ad |
# modification, are permitted provided that the following conditions
|
|
Deepak Bhole |
b800ad |
# are met:
|
|
Deepak Bhole |
b800ad |
#
|
|
Deepak Bhole |
b800ad |
# 1. Redistributions of source code must retain the above copyright
|
|
Deepak Bhole |
b800ad |
# notice, this list of conditions and the following disclaimer.
|
|
Deepak Bhole |
b800ad |
# 2. Redistributions in binary form must reproduce the above copyright
|
|
Deepak Bhole |
b800ad |
# notice, this list of conditions and the following disclaimer in the
|
|
Deepak Bhole |
b800ad |
# documentation and/or other materials provided with the
|
|
Deepak Bhole |
b800ad |
# distribution.
|
|
Deepak Bhole |
b800ad |
# 3. Neither the name of the JPackage Project nor the names of its
|
|
Deepak Bhole |
b800ad |
# contributors may be used to endorse or promote products derived
|
|
Deepak Bhole |
b800ad |
# from this software without specific prior written permission.
|
|
Deepak Bhole |
b800ad |
#
|
|
Deepak Bhole |
b800ad |
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
Deepak Bhole |
b800ad |
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
Deepak Bhole |
b800ad |
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
Deepak Bhole |
b800ad |
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
Deepak Bhole |
b800ad |
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
Deepak Bhole |
b800ad |
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
Deepak Bhole |
b800ad |
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
Deepak Bhole |
b800ad |
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
Deepak Bhole |
b800ad |
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
Deepak Bhole |
b800ad |
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
Deepak Bhole |
b800ad |
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
Deepak Bhole |
b800ad |
#
|
|
Deepak Bhole |
b800ad |
|
|
Deepak Bhole |
b800ad |
Name: bsh
|
|
Deepak Bhole |
b800ad |
Version: 1.3.0
|
|
Dennis Gilmore |
adf32d |
Release: 18%{?dist}
|
|
Permaine Cheung |
303ff4 |
Epoch: 0
|
|
cvsdist |
250c59 |
Summary: Lightweight Scripting for Java
|
|
Tom Callaway |
bfafa3 |
License: SPL or LGPLv2+
|
|
Deepak Bhole |
b800ad |
Source0: %{name}-%{version}-src.tar.bz2
|
|
Permaine Cheung |
303ff4 |
#cvs -d:pserver:anonymous@beanshell.cvs.sourceforge.net:/cvsroot/beanshell login
|
|
Permaine Cheung |
303ff4 |
#cvs -z3 -d:pserver:anonymous@beanshell.cvs.sourceforge.net:/cvsroot/beanshell export -r rel_1_3_0_final BeanShell
|
|
Permaine Cheung |
303ff4 |
#tar cjf bsh-1.3.0-src.tar.bz2 BeanShell
|
|
Permaine Cheung |
4adf26 |
Source1: bsh-1.3.0.pom
|
|
Permaine Cheung |
4adf26 |
Source2: bsh-bsf-1.3.0.pom
|
|
Permaine Cheung |
3dca6f |
Source3: %{name}-desktop.desktop
|
|
Permaine Cheung |
4adf26 |
|
|
Permaine Cheung |
303ff4 |
Patch0: %{name}-build.patch
|
|
Stanislav Ochotnicky |
536318 |
Patch1: %{name}-xsl-fixes.patch
|
|
Stanislav Ochotnicky |
536318 |
BuildRequires: java >= 1:1.6.0
|
|
Permaine Cheung |
3dca6f |
BuildRequires: ant, bsf, ant-trax, ImageMagick, desktop-file-utils
|
|
Permaine Cheung |
4adf26 |
BuildRequires: servlet
|
|
Stanislav Ochotnicky |
536318 |
Requires: java >= 1:1.6.0
|
|
Permaine Cheung |
303ff4 |
Requires: bsf
|
|
Ville Skyttä |
3841ab |
Requires: jpackage-utils >= 0:1.7.5-3.9
|
|
Alexander Kurtakov |
065175 |
URL: http://www.beanshell.org/
|
|
Alexander Kurtakov |
065175 |
Group: Development/Libraries
|
|
Alexander Kurtakov |
065175 |
BuildArch: noarch
|
|
Permaine Cheung |
303ff4 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
Deepak Bhole |
b800ad |
|
|
cvsdist |
250c59 |
%description
|
|
cvsdist |
250c59 |
BeanShell is a small, free, embeddable, Java source interpreter with
|
|
cvsdist |
250c59 |
object scripting language features, written in Java. BeanShell executes
|
|
cvsdist |
250c59 |
standard Java statements and expressions, in addition to obvious
|
|
cvsdist |
250c59 |
scripting commands and syntax. BeanShell supports scripted objects as
|
|
cvsdist |
250c59 |
simple method closures like those in Perl and JavaScript(tm).
|
|
cvsdist |
250c59 |
You can use BeanShell interactively for Java experimentation and
|
|
cvsdist |
250c59 |
debugging or as a simple scripting engine for your applications. In
|
|
cvsdist |
250c59 |
short: BeanShell is a dynamically interpreted Java, plus some useful
|
|
cvsdist |
250c59 |
stuff. Another way to describe it is to say that in many ways BeanShell
|
|
cvsdist |
250c59 |
is to Java as Tcl/Tk is to C: BeanShell is embeddable - You can call
|
|
cvsdist |
250c59 |
BeanShell from your Java applications to execute Java code dynamically
|
|
cvsdist |
250c59 |
at run-time or to provide scripting extensibility for your applications.
|
|
cvsdist |
250c59 |
Alternatively, you can call your Java applications and objects from
|
|
cvsdist |
250c59 |
BeanShell; working with Java objects and APIs dynamically. Since
|
|
cvsdist |
250c59 |
BeanShell is written in Java and runs in the same space as your
|
|
cvsdist |
250c59 |
application, you can freely pass references to "real live" objects into
|
|
cvsdist |
250c59 |
scripts and return them as results.
|
|
cvsdist |
250c59 |
|
|
cvsdist |
250c59 |
%package manual
|
|
cvsdist |
250c59 |
Summary: Manual for %{name}
|
|
Alexander Kurtakov |
065175 |
Group: Documentation
|
|
cvsdist |
250c59 |
|
|
cvsdist |
250c59 |
%description manual
|
|
cvsdist |
250c59 |
Documentation for %{name}.
|
|
cvsdist |
250c59 |
|
|
cvsdist |
250c59 |
%package javadoc
|
|
cvsdist |
250c59 |
Summary: Javadoc for %{name}
|
|
Alexander Kurtakov |
065175 |
Group: Documentation
|
|
cvsdist |
250c59 |
|
|
cvsdist |
250c59 |
%description javadoc
|
|
cvsdist |
250c59 |
Javadoc for %{name}.
|
|
cvsdist |
250c59 |
|
|
cvsdist |
250c59 |
%package demo
|
|
cvsdist |
250c59 |
Summary: Demo for %{name}
|
|
Alexander Kurtakov |
065175 |
Group: Development/Libraries
|
|
Permaine Cheung |
303ff4 |
AutoReqProv: no
|
|
cvsdist |
250c59 |
Requires: %{name} = %{epoch}:%{version}-%{release}
|
|
Permaine Cheung |
303ff4 |
Requires: /usr/bin/env
|
|
cvsdist |
250c59 |
|
|
cvsdist |
250c59 |
%description demo
|
|
cvsdist |
250c59 |
Demonstrations and samples for %{name}.
|
|
cvsdist |
250c59 |
|
|
Ville Skyttä |
39d249 |
%package utils
|
|
Ville Skyttä |
39d249 |
Summary: %{name} utilities
|
|
Ville Skyttä |
39d249 |
Group: Development/Tools
|
|
Permaine Cheung |
2f2947 |
Requires: %{name} = %{epoch}:%{version}-%{release}
|
|
Ville Skyttä |
30e46b |
Requires: jline
|
|
Ville Skyttä |
39d249 |
Provides: %{name}-desktop = %{epoch}:%{version}-%{release}
|
|
Ville Skyttä |
39d249 |
Obsoletes: %{name}-desktop < 0:1.3.0-17
|
|
Ville Skyttä |
39d249 |
# So that yum will pull this in on base package upgrades from < 0:1.3.0-17
|
|
Ville Skyttä |
39d249 |
# (bsh and bshdoc scripts moved here in -17):
|
|
Ville Skyttä |
39d249 |
Obsoletes: %{name} < 0:1.3.0-17
|
|
Permaine Cheung |
2f2947 |
|
|
Ville Skyttä |
39d249 |
%description utils
|
|
Ville Skyttä |
39d249 |
%{name} utilities.
|
|
Permaine Cheung |
2f2947 |
|
|
cvsdist |
250c59 |
%prep
|
|
Deepak Bhole |
b800ad |
%setup -q -n BeanShell
|
|
cvsdist |
250c59 |
%patch0 -p1
|
|
Stanislav Ochotnicky |
536318 |
%patch1 -p1
|
|
Permaine Cheung |
4adf26 |
for j in $(find . -name "*.jar"); do
|
|
Permaine Cheung |
4adf26 |
mv $j $j.no
|
|
Permaine Cheung |
4adf26 |
done
|
|
cvsdist |
250c59 |
# remove all CVS files
|
|
cvsdist |
250c59 |
for dir in `find . -type d -name CVS`; do rm -rf $dir; done
|
|
cvsdist |
250c59 |
for file in `find . -type f -name .cvsignore`; do rm -rf $file; done
|
|
Permaine Cheung |
303ff4 |
# fix rpmlint spurious-executable-perm warnings
|
|
Permaine Cheung |
303ff4 |
for i in backbutton forwardbutton homebutton remoteconsole upbutton; do
|
|
Permaine Cheung |
303ff4 |
chmod 644 docs/images/$i.gif
|
|
Permaine Cheung |
303ff4 |
done
|
|
cvsdist |
250c59 |
|
|
cvsdist |
250c59 |
%build
|
|
cvsdist |
250c59 |
mkdir -p lib
|
|
Permaine Cheung |
4adf26 |
pushd lib
|
|
Permaine Cheung |
4adf26 |
ln -sf $(build-classpath bsf)
|
|
Permaine Cheung |
4adf26 |
ln -sf $(build-classpath servlet)
|
|
Permaine Cheung |
4adf26 |
popd
|
|
Ville Skyttä |
0b04f3 |
ant="ant -Dant.build.javac.source=1.5"
|
|
Ville Skyttä |
0b04f3 |
$ant dist
|
|
Permaine Cheung |
bd0eea |
%ifnarch ppc64 s390x
|
|
Ville Skyttä |
0b04f3 |
(cd docs/faq && $ant)
|
|
Ville Skyttä |
0b04f3 |
(cd docs/manual && $ant)
|
|
Permaine Cheung |
bd0eea |
%endif
|
|
cvsdist |
250c59 |
|
|
cvsdist |
250c59 |
%install
|
|
Permaine Cheung |
303ff4 |
rm -rf $RPM_BUILD_ROOT
|
|
cvsdist |
250c59 |
# jars
|
|
cvsdist |
250c59 |
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
|
|
Permaine Cheung |
4adf26 |
install -m 644 dist/%{name}-%{version}.jar \
|
|
Permaine Cheung |
4adf26 |
$RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
|
|
Permaine Cheung |
4adf26 |
install -m 644 dist/%{name}-bsf-%{version}.jar \
|
|
Permaine Cheung |
4adf26 |
$RPM_BUILD_ROOT%{_javadir}/%{name}-bsf-%{version}.jar
|
|
Permaine Cheung |
4adf26 |
install -m 644 dist/%{name}-classpath-%{version}.jar \
|
|
Permaine Cheung |
4adf26 |
$RPM_BUILD_ROOT%{_javadir}/%{name}-classpath-%{version}.jar
|
|
Permaine Cheung |
4adf26 |
install -m 644 dist/%{name}-commands-%{version}.jar \
|
|
Permaine Cheung |
4adf26 |
$RPM_BUILD_ROOT%{_javadir}/%{name}-commands-%{version}.jar
|
|
Permaine Cheung |
4adf26 |
install -m 644 dist/%{name}-core-%{version}.jar \
|
|
Permaine Cheung |
4adf26 |
$RPM_BUILD_ROOT%{_javadir}/%{name}-core-%{version}.jar
|
|
Permaine Cheung |
4adf26 |
install -m 644 dist/%{name}-reflect-%{version}.jar \
|
|
Permaine Cheung |
4adf26 |
$RPM_BUILD_ROOT%{_javadir}/%{name}-reflect-%{version}.jar
|
|
Permaine Cheung |
4adf26 |
install -m 644 dist/%{name}-util-%{version}.jar \
|
|
Permaine Cheung |
4adf26 |
$RPM_BUILD_ROOT%{_javadir}/%{name}-util-%{version}.jar
|
|
Permaine Cheung |
4adf26 |
|
|
cvsdist |
250c59 |
(cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} ${jar/-%{version}/}; done)
|
|
Permaine Cheung |
4adf26 |
%add_to_maven_depmap %{name} %{name} %{version} JPP %{name}
|
|
Permaine Cheung |
4adf26 |
%add_to_maven_depmap %{name} %{name}-bsf %{version} JPP %{name}-bsf
|
|
Permaine Cheung |
4adf26 |
|
|
Permaine Cheung |
4adf26 |
# poms
|
|
Permaine Cheung |
4adf26 |
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/maven2/poms
|
|
Permaine Cheung |
4adf26 |
install -pm 644 %{SOURCE1} \
|
|
Stanislav Ochotnicky |
536318 |
$RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP-%{name}.pom
|
|
Permaine Cheung |
4adf26 |
install -pm 644 %{SOURCE2} \
|
|
Stanislav Ochotnicky |
536318 |
$RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP-%{name}-bsf.pom
|
|
Permaine Cheung |
4adf26 |
|
|
cvsdist |
250c59 |
# manual
|
|
cvsdist |
250c59 |
find docs -name ".cvswrappers" -exec rm -f {} \;
|
|
cvsdist |
250c59 |
find docs -name "*.xml" -exec rm -f {} \;
|
|
cvsdist |
250c59 |
find docs -name "*.xsl" -exec rm -f {} \;
|
|
cvsdist |
250c59 |
find docs -name "*.log" -exec rm -f {} \;
|
|
Permaine Cheung |
bd0eea |
%ifnarch ppc64 s390x
|
|
cvsdist |
250c59 |
(cd docs/manual && mv html/* .)
|
|
cvsdist |
250c59 |
(cd docs/manual && rm -rf html)
|
|
cvsdist |
250c59 |
(cd docs/manual && rm -rf xsl)
|
|
Permaine Cheung |
bd0eea |
%endif
|
|
cvsdist |
250c59 |
# javadoc
|
|
cvsdist |
250c59 |
install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
|
|
cvsdist |
250c59 |
cp -pr javadoc/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
|
|
Permaine Cheung |
119296 |
ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
|
Permaine Cheung |
3dca6f |
# menu entry
|
|
Permaine Cheung |
3dca6f |
desktop-file-install --vendor=fedora --mode=644 \
|
|
Permaine Cheung |
3dca6f |
--dir=$RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE3}
|
|
Permaine Cheung |
3dca6f |
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/16x16/apps
|
|
Permaine Cheung |
3dca6f |
convert src/bsh/util/lib/icon.gif \
|
|
Permaine Cheung |
3dca6f |
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/16x16/apps/bsh.png
|
|
Permaine Cheung |
119296 |
|
|
cvsdist |
250c59 |
# demo
|
|
cvsdist |
250c59 |
for i in `find tests -name \*.bsh`; do
|
|
cvsdist |
250c59 |
perl -p -i -e 's,^\n?#!(/(usr/)?bin/java bsh\.Interpreter|/bin/sh),#!/usr/bin/env %{_bindir}/%{name},' $i
|
|
cvsdist |
250c59 |
if head -1 $i | grep '#!/usr/bin/env %{_bindir}/%{name}' >/dev/null; then
|
|
cvsdist |
250c59 |
chmod 755 $i
|
|
cvsdist |
250c59 |
fi
|
|
cvsdist |
250c59 |
done
|
|
Permaine Cheung |
303ff4 |
chmod 755 tests/Template
|
|
Permaine Cheung |
303ff4 |
cat > one << EOF
|
|
Permaine Cheung |
303ff4 |
#!/bin/sh
|
|
Permaine Cheung |
303ff4 |
|
|
Permaine Cheung |
303ff4 |
EOF
|
|
Permaine Cheung |
303ff4 |
cat tests/Interactive/reload/one >> one
|
|
Permaine Cheung |
303ff4 |
cat one > tests/Interactive/reload/one
|
|
Permaine Cheung |
303ff4 |
rm one
|
|
Permaine Cheung |
303ff4 |
cat > two << EOF
|
|
Permaine Cheung |
303ff4 |
#!/bin/sh
|
|
Permaine Cheung |
303ff4 |
|
|
Permaine Cheung |
303ff4 |
EOF
|
|
Permaine Cheung |
303ff4 |
cat tests/Interactive/reload/two >> two
|
|
Permaine Cheung |
303ff4 |
cat two > tests/Interactive/reload/two
|
|
Permaine Cheung |
303ff4 |
rm two
|
|
cvsdist |
250c59 |
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}
|
|
cvsdist |
250c59 |
cp -pr tests $RPM_BUILD_ROOT%{_datadir}/%{name}
|
|
Permaine Cheung |
4adf26 |
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}/webapps
|
|
Permaine Cheung |
4adf26 |
install -m 644 dist/bshservlet.war $RPM_BUILD_ROOT%{_datadir}/%{name}/webapps
|
|
Permaine Cheung |
4adf26 |
install -m 644 dist/bshservlet-wbsh.war $RPM_BUILD_ROOT%{_datadir}/%{name}/webapps
|
|
Permaine Cheung |
4adf26 |
|
|
cvsdist |
250c59 |
# scripts
|
|
cvsdist |
250c59 |
install -d $RPM_BUILD_ROOT%{_bindir}
|
|
cvsdist |
250c59 |
|
|
Permaine Cheung |
3dca6f |
function bsh_script() {
|
|
Ville Skyttä |
30e46b |
local jars=%{name}.jar runclass=
|
|
Ville Skyttä |
30e46b |
if [ $2 = jline.ConsoleRunner ] ; then
|
|
Ville Skyttä |
30e46b |
jars="$jars jline.jar"
|
|
Ville Skyttä |
30e46b |
runclass=bsh.Interpreter
|
|
Ville Skyttä |
30e46b |
fi
|
|
Permaine Cheung |
3dca6f |
cat > $RPM_BUILD_ROOT%{_bindir}/$1 << EOF
|
|
cvsdist |
250c59 |
#!/bin/sh
|
|
cvsdist |
250c59 |
#
|
|
Permaine Cheung |
3dca6f |
# $1 script
|
|
cvsdist |
250c59 |
# JPackage Project (http://jpackage.sourceforge.net)
|
|
cvsdist |
250c59 |
|
|
cvsdist |
250c59 |
# Source functions library
|
|
Ville Skyttä |
3841ab |
_prefer_jre=true
|
|
cvsdist |
250c59 |
. %{_datadir}/java-utils/java-functions
|
|
cvsdist |
250c59 |
|
|
cvsdist |
250c59 |
# Source system prefs
|
|
cvsdist |
250c59 |
if [ -f %{_sysconfdir}/%{name}.conf ] ; then
|
|
cvsdist |
250c59 |
. %{_sysconfdir}/%{name}.conf
|
|
cvsdist |
250c59 |
fi
|
|
cvsdist |
250c59 |
|
|
cvsdist |
250c59 |
# Source user prefs
|
|
cvsdist |
250c59 |
if [ -f \$HOME/.%{name}rc ] ; then
|
|
cvsdist |
250c59 |
. \$HOME/.%{name}rc
|
|
cvsdist |
250c59 |
fi
|
|
cvsdist |
250c59 |
|
|
cvsdist |
250c59 |
# Configuration
|
|
Permaine Cheung |
3dca6f |
MAIN_CLASS=$2
|
|
cvsdist |
250c59 |
if [ -n "\$BSH_DEBUG" ]; then
|
|
cvsdist |
250c59 |
BASE_FLAGS=-Ddebug=true
|
|
cvsdist |
250c59 |
fi
|
|
cvsdist |
250c59 |
|
|
Ville Skyttä |
30e46b |
BASE_JARS="$jars"
|
|
cvsdist |
250c59 |
|
|
cvsdist |
250c59 |
# Set parameters
|
|
cvsdist |
250c59 |
set_jvm
|
|
cvsdist |
250c59 |
set_classpath \$BASE_JARS
|
|
cvsdist |
250c59 |
set_flags \$BASE_FLAGS
|
|
cvsdist |
250c59 |
set_options \$BASE_OPTIONS
|
|
cvsdist |
250c59 |
|
|
cvsdist |
250c59 |
# Let's start
|
|
Ville Skyttä |
30e46b |
run $runclass "\$@"
|
|
cvsdist |
250c59 |
EOF
|
|
Permaine Cheung |
3dca6f |
}
|
|
Permaine Cheung |
3dca6f |
|
|
Ville Skyttä |
30e46b |
bsh_script bsh jline.ConsoleRunner
|
|
Permaine Cheung |
3dca6f |
bsh_script bsh-desktop bsh.Console
|
|
cvsdist |
250c59 |
|
|
cvsdist |
250c59 |
cat > $RPM_BUILD_ROOT%{_bindir}/%{name}doc << EOF
|
|
cvsdist |
250c59 |
#!/usr/bin/env %{_bindir}/%{name}
|
|
cvsdist |
250c59 |
EOF
|
|
cvsdist |
250c59 |
cat scripts/bshdoc.bsh >> $RPM_BUILD_ROOT%{_bindir}/%{name}doc
|
|
cvsdist |
250c59 |
|
|
cvsdist |
250c59 |
%clean
|
|
cvsdist |
250c59 |
rm -rf $RPM_BUILD_ROOT
|
|
cvsdist |
250c59 |
|
|
Ville Skyttä |
39d249 |
%post utils
|
|
Ville Skyttä |
39d249 |
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
|
Permaine Cheung |
2f2947 |
|
|
Permaine Cheung |
2f2947 |
%post
|
|
Permaine Cheung |
4adf26 |
%update_maven_depmap
|
|
Deepak Bhole |
b800ad |
|
|
Ville Skyttä |
39d249 |
%postun utils
|
|
Ville Skyttä |
39d249 |
if [ $1 -eq 0 ] ; then
|
|
Ville Skyttä |
39d249 |
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
|
Ville Skyttä |
39d249 |
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
Permaine Cheung |
3dca6f |
fi
|
|
Permaine Cheung |
2f2947 |
|
|
Permaine Cheung |
2f2947 |
%postun
|
|
Permaine Cheung |
4adf26 |
%update_maven_depmap
|
|
Deepak Bhole |
b800ad |
|
|
Ville Skyttä |
39d249 |
%posttrans utils
|
|
Ville Skyttä |
39d249 |
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
Ville Skyttä |
39d249 |
|
|
cvsdist |
250c59 |
%files
|
|
cvsdist |
250c59 |
%defattr(-,root,root)
|
|
cvsdist |
250c59 |
%doc src/Changes.html src/License.txt src/README.txt
|
|
cvsdist |
250c59 |
%{_javadir}/*
|
|
cvsdist |
250c59 |
%dir %{_datadir}/%{name}
|
|
Permaine Cheung |
4adf26 |
%{_datadir}/%{name}/webapps
|
|
Permaine Cheung |
4adf26 |
%{_datadir}/maven2/poms/*
|
|
Permaine Cheung |
4adf26 |
%{_mavendepmapfragdir}
|
|
cvsdist |
250c59 |
|
|
Permaine Cheung |
bd0eea |
%ifnarch ppc64 s390x
|
|
cvsdist |
250c59 |
%files manual
|
|
cvsdist |
250c59 |
%defattr(-,root,root)
|
|
cvsdist |
250c59 |
%doc docs/*
|
|
Permaine Cheung |
bd0eea |
%endif
|
|
cvsdist |
250c59 |
|
|
cvsdist |
250c59 |
%files javadoc
|
|
cvsdist |
250c59 |
%defattr(-,root,root)
|
|
cvsdist |
250c59 |
%{_javadocdir}/%{name}-%{version}
|
|
Permaine Cheung |
119296 |
%{_javadocdir}/%{name}
|
|
cvsdist |
250c59 |
|
|
cvsdist |
250c59 |
%files demo
|
|
cvsdist |
250c59 |
%defattr(-,root,root)
|
|
Permaine Cheung |
303ff4 |
%doc tests/README.txt tests/Interactive/README
|
|
cvsdist |
250c59 |
%{_datadir}/%{name}/*
|
|
cvsdist |
250c59 |
|
|
Ville Skyttä |
39d249 |
%files utils
|
|
Ville Skyttä |
39d249 |
%defattr(-,root,root)
|
|
Ville Skyttä |
39d249 |
%attr(0755,root,root) %{_bindir}/%{name}*
|
|
Permaine Cheung |
2f2947 |
%{_datadir}/applications/*%{name}-desktop.desktop
|
|
Permaine Cheung |
2f2947 |
%{_datadir}/icons/hicolor/*x*/apps/%{name}.png
|
|
Permaine Cheung |
2f2947 |
|
|
cvsdist |
250c59 |
%changelog
|
|
Dennis Gilmore |
adf32d |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.3.0-18
|
|
Dennis Gilmore |
adf32d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
Dennis Gilmore |
adf32d |
|
|
Ville Skyttä |
39d249 |
* Thu Nov 25 2010 Ville Skyttä <ville.skytta@iki.fi> - 0:1.3.0-17
|
|
Ville Skyttä |
39d249 |
- Rename -desktop to -utils, move shell scripts and menu entry to it (#417491).
|
|
Ville Skyttä |
39d249 |
- Bring icon cache scriptlets up to date with current guidelines.
|
|
Ville Skyttä |
30e46b |
- Use jline in bsh script for command history support.
|
|
Ville Skyttä |
3841ab |
- Prefer JRE over SDK when finding JVM to invoke in scripts.
|
|
Ville Skyttä |
0b04f3 |
- Build with -source 1.5.
|
|
Ville Skyttä |
39d249 |
|
|
Stanislav Ochotnicky |
536318 |
* Thu Nov 25 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:1.3.0-16
|
|
Stanislav Ochotnicky |
536318 |
- Fix pom filenames (Resolves rhbz#655791)
|
|
Stanislav Ochotnicky |
536318 |
- Fix xsl errors when building docs
|
|
Stanislav Ochotnicky |
536318 |
|
|
Alexander Kurtakov |
065175 |
* Sat Jan 9 2010 Alexander Kurtakov <akurtako@redhat.com> 0:1.3.0-15.2
|
|
Alexander Kurtakov |
065175 |
- Drop gcj_support.
|
|
Alexander Kurtakov |
065175 |
- Fix rpmlint warnings.
|
|
Alexander Kurtakov |
065175 |
|
|
Permaine Cheung |
bd0eea |
* Mon Sep 21 2009 Permaine Cheung <pcheung@redhat.com> 0:1.3.0-15.1
|
|
Permaine Cheung |
bd0eea |
- Do not build manual and faq for ppc64 or s390x as the style task is disabled
|
|
Permaine Cheung |
bd0eea |
|
|
Jesse Keating |
9782ec |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.3.0-15
|
|
Jesse Keating |
9782ec |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
Jesse Keating |
9782ec |
|
|
Jesse Keating |
80186c |
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.3.0-14
|
|
Jesse Keating |
80186c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
Jesse Keating |
80186c |
|
|
Tom Callaway |
bfafa3 |
* Wed Jul 9 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0:1.3.0-13
|
|
Tom Callaway |
bfafa3 |
- drop repotag
|
|
Tom Callaway |
bfafa3 |
- fix license tag
|
|
Tom Callaway |
bfafa3 |
|
|
Permaine Cheung |
2f2947 |
* Mon Mar 10 2008 Permaine Cheung <pcheung@redhat.com> 0:1.3.0-12jpp.3
|
|
Permaine Cheung |
2f2947 |
- Fix bugzilla 436675. Separate menu entry into desktop subpackage.
|
|
Permaine Cheung |
2f2947 |
|
|
Permaine Cheung |
3dca6f |
* Thu Mar 06 2008 Permaine Cheung <pcheung@redhat.com> 0:1.3.0-12jpp.2
|
|
Permaine Cheung |
3dca6f |
- Fix bugzilla 417491. Thanks Ville Skytta for the patch.
|
|
Permaine Cheung |
3dca6f |
- Add menu entry and startup script for bsh desktop.
|
|
Permaine Cheung |
3dca6f |
- Ensure scriptlets exit with zero exit status.
|
|
Permaine Cheung |
3dca6f |
|
|
Jesse Keating |
743253 |
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0:1.3.0-12jpp.1
|
|
Jesse Keating |
743253 |
- Autorebuild for GCC 4.3
|
|
Jesse Keating |
743253 |
|
|
Permaine Cheung |
4adf26 |
* Mon Jan 21 2008 Permaine Cheung <pcheung@redhat.com> 0:1.3.0-11jpp.1
|
|
Permaine Cheung |
4adf26 |
- Merge with upstream
|
|
Permaine Cheung |
4adf26 |
|
|
Permaine Cheung |
4adf26 |
* Thu Jul 12 2007 Ralph Apel <r.apel at r-apel.de> 0:1.3.0-11jpp
|
|
Permaine Cheung |
4adf26 |
- Fix aot build
|
|
Permaine Cheung |
4adf26 |
- Add pom and depmap frags
|
|
Permaine Cheung |
4adf26 |
- Restore all jars
|
|
Permaine Cheung |
4adf26 |
- Add webapps
|
|
Permaine Cheung |
4adf26 |
|
|
Permaine Cheung |
303ff4 |
* Fri Mar 16 2007 Permaine Cheung <pcheung@redhat.com> 0:1.3.0-10jpp.1
|
|
Permaine Cheung |
303ff4 |
- Merge with upstream
|
|
Permaine Cheung |
303ff4 |
- Removed unapplied patch and moved buildroot removal from prep to install,
|
|
Permaine Cheung |
303ff4 |
and other rpmlint cleanup
|
|
Permaine Cheung |
303ff4 |
|
|
Karsten Hopp |
1acbab |
* Mon Mar 12 2007 Karsten Hopp <karsten@redhat.com> 1.3.0-9jpp.2
|
|
Karsten Hopp |
1acbab |
- add buildrequirement ant-trax for documentation
|
|
Karsten Hopp |
1acbab |
|
|
Deepak Bhole |
29faa0 |
* Fri Aug 04 2006 Deepak Bhole <dbhole@redhat.com> 0:1.3.0-9jpp.1
|
|
Deepak Bhole |
29faa0 |
- Added missing requirements
|
|
Deepak Bhole |
29faa0 |
|
|
Jakub Jelinek |
fa6c41 |
* Sat Jul 22 2006 Jakub Jelinek <jakub@redhat.com> 0:1.3.0-8jpp_3fc
|
|
Jakub Jelinek |
fa6c41 |
- Rebuilt
|
|
Jakub Jelinek |
fa6c41 |
|
|
Deepak Bhole |
cf7225 |
* Fri Jul 21 2006 Deepak Bhole <dbhole@redhat.com> 0:1.3.0-8jpp_2fc
|
|
Deepak Bhole |
cf7225 |
- Removing vendor and distribution tags.
|
|
Deepak Bhole |
cf7225 |
|
|
Deepak Bhole |
b800ad |
* Thu Jul 20 2006 Deepak Bhole <dbhole@redhat.com> 0:1.3.0-8jpp_1fc
|
|
Deepak Bhole |
b800ad |
- Add conditional native compilation.
|
|
Jesse Keating |
406b81 |
|
|
Deepak Bhole |
b800ad |
* Thu May 04 2006 Ralph Apel <r.apel at r-apel.de> 0:1.3.0-7jpp
|
|
Deepak Bhole |
b800ad |
- First JPP-1.7 release
|
|
gbenson |
76ed5d |
|
|
Deepak Bhole |
b800ad |
* Fri Aug 20 2004 Ralph Apel <r.apel at r-apel.de> 0:1.3.0-6jpp
|
|
Deepak Bhole |
b800ad |
- Build with ant-1.6.2
|
|
cvsdist |
978c8f |
|
|
cvsdist |
250c59 |
* Mon Jan 26 2004 David Walluck <david@anti-microsoft.org> 0:1.3.0-5jpp
|
|
cvsdist |
250c59 |
- really drop readline patch
|
|
cvsdist |
250c59 |
|
|
cvsdist |
250c59 |
* Sun Jan 25 2004 David Walluck <david@anti-microsoft.org> 0:1.3.0-4jpp
|
|
cvsdist |
250c59 |
- drop readline patch
|
|
cvsdist |
250c59 |
|
|
cvsdist |
250c59 |
* Wed Jan 21 2004 David Walluck <david@anti-microsoft.org> 0:1.3.0-3jpp
|
|
cvsdist |
250c59 |
- port libreadline-java patch to new bsh
|
|
cvsdist |
250c59 |
|
|
cvsdist |
250c59 |
* Tue Jan 20 2004 David Walluck <david@anti-microsoft.org> 0:1.3.0-2jpp
|
|
cvsdist |
250c59 |
- add Distribution tag
|
|
cvsdist |
250c59 |
|
|
cvsdist |
250c59 |
* Tue Jan 20 2004 David Walluck <david@anti-microsoft.org> 0:1.3.0-1jpp
|
|
cvsdist |
250c59 |
- 1.3.0
|
|
cvsdist |
250c59 |
- remove bsf patch (fixed upstream)
|
|
cvsdist |
250c59 |
- add epoch to demo package Requires
|
|
cvsdist |
250c59 |
|
|
cvsdist |
250c59 |
* Fri Apr 12 2003 David Walluck <david@anti-microsoft.org> 0:1.2-0.b8.4jpp
|
|
cvsdist |
250c59 |
- fix strange permissions
|
|
cvsdist |
250c59 |
|
|
cvsdist |
250c59 |
* Fri Apr 11 2003 David Walluck <david@anti-microsoft.org> 0:1.2-0.b8.3jpp
|
|
cvsdist |
250c59 |
- rebuild for JPackage 1.5
|
|
cvsdist |
250c59 |
- add bsf patch
|
|
cvsdist |
250c59 |
|
|
cvsdist |
250c59 |
* Sat Feb 01 2003 David Walluck <david@anti-microsoft.org> 1.2-0.b8.2jpp
|
|
cvsdist |
250c59 |
- remove servlet dependency (if anyone wants to add this as a separate
|
|
cvsdist |
250c59 |
package and do the tomcat integration, be my guest)
|
|
cvsdist |
250c59 |
|
|
cvsdist |
250c59 |
* Thu Jan 23 2003 David Walluck <david@anti-microsoft.org> 1.2-0.b8.1jpp
|
|
cvsdist |
250c59 |
- rename to bsh
|
|
cvsdist |
250c59 |
- add manual
|
|
cvsdist |
250c59 |
- add Changes.html to %%doc
|
|
cvsdist |
250c59 |
- add bsh and bshdoc scripts
|
|
cvsdist |
250c59 |
- add %%dir %%{_datadir}/%%{name} to main package
|
|
cvsdist |
250c59 |
- correct test interpreter and make bsh files executable
|
|
cvsdist |
250c59 |
|
|
cvsdist |
250c59 |
* Mon Jan 21 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.01-3jpp
|
|
cvsdist |
250c59 |
- really section macro
|
|
cvsdist |
250c59 |
|
|
cvsdist |
250c59 |
* Sun Jan 20 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.01-2jpp
|
|
cvsdist |
250c59 |
- additional sources in individual archives
|
|
cvsdist |
250c59 |
- versioned dir for javadoc
|
|
cvsdist |
250c59 |
- no dependencies for javadoc package
|
|
cvsdist |
250c59 |
- stricter dependency for demo package
|
|
cvsdist |
250c59 |
- section macro
|
|
cvsdist |
250c59 |
|
|
cvsdist |
250c59 |
* Tue Dec 18 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.01-1jpp
|
|
cvsdist |
250c59 |
- first JPackage release
|