diff --git a/README.md b/README.md index 2297d4e..6195de8 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/java-rosetta.spec b/java-rosetta.spec index 88c1211..8fb2503 100644 --- a/java-rosetta.spec +++ b/java-rosetta.spec @@ -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 +Packager: Silvan Calarco 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 1.0.4-1mamba +- update to 1.0.4 + * Fri Jan 21 2011 gil 1.0.2-1mamba - package created by autospec