update to 1.0.4 [release 1.0.4-1mamba;Sun Apr 11 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 00:10:34 +01:00
parent 4082404bca
commit 0e1c13e861
2 changed files with 16 additions and 33 deletions

View File

@ -1,7 +1,4 @@
# java-rosetta
JRosetta provides a common base for graphical component that could be used
to build a graphical console in Swing with the latest requirements, such as
command history, completion and so on for instance for scripting language
or command line.
JRosetta provides a common base for graphical component that could be used to build a graphical console in Swing with the latest requirements, such as command history, completion and so on for instance for scripting language or command line.

View File

@ -1,50 +1,33 @@
Name: java-rosetta
Version: 1.0.2
Version: 1.0.4
Release: 1mamba
Summary: A common base to build a graphical console
Group: Development/Libraries/Java
Vendor: openmamba
Distribution: openmamba
Packager: gil <puntogil@libero.it>
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://dev.artenum.com/projects/JRosetta/
# http://dev.artenum.com/projects/JRosetta/download/JRosetta-1-0-2/data/src-gpl?action=download&nodecorator
Source: jrosetta-%{version}-gpl.zip
Source0: https://mrwitek.github.io/aur-repo/jrosetta-api-%{version}.jar
Source1: https://mrwitek.github.io/aur-repo/jrosetta-engine-%{version}.jar
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
License: GPL
BuildRequires: apache-ant
BuildRequires: java-gcj-compat
BuildRequires: jpackage-utils
Requires: java-gcj-compat
Requires: jpackage-utils
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: javapackages
%description
JRosetta provides a common base for graphical component that could be used
to build a graphical console in Swing with the latest requirements, such as
command history, completion and so on for instance for scripting language
or command line.
JRosetta provides a common base for graphical component that could be used to build a graphical console in Swing with the latest requirements, such as command history, completion and so on for instance for scripting language or command line.
%prep
%setup -q -n jrosetta-%{version}-gpl
cp -p CHANGE.txt CHANGE.txt.temp
sed -i -e 's/\r//' CHANGE.txt
touch -r CHANGE.txt.temp CHANGE.txt
rm CHANGE.txt.temp
%setup -q -c -D -T
%build
unset JAVA_HOME
export JAVA_HOME=/usr/lib/jvm/jdk-gcj
ant make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
mkdir -p %{buildroot}%{_javadir}
install -pm 644 dist/jrosetta-API.jar \
install -D -m0644 %{SOURCE0} \
%{buildroot}%{_javadir}/jrosetta-API-%{version}.jar
install -pm 644 dist/jrosetta-engine.jar \
install -D -m0644 %{SOURCE1} \
%{buildroot}%{_javadir}/jrosetta-engine-%{version}.jar
(
@ -63,8 +46,11 @@ install -pm 644 dist/jrosetta-engine.jar \
%{_javadir}/jrosetta-API.jar
%{_javadir}/jrosetta-engine-%{version}.jar
%{_javadir}/jrosetta-engine.jar
%doc CHANGE.txt COPYRIGHT LICENSE.txt
#% doc COPYRIGHT LICENSE.txt
%changelog
* Sun Apr 11 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.4-1mamba
- update to 1.0.4
* Fri Jan 21 2011 gil <puntogil@libero.it> 1.0.2-1mamba
- package created by autospec