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