2024-01-06 00:10:34 +01:00
|
|
|
Name: java-rosetta
|
2024-01-06 00:10:34 +01:00
|
|
|
Version: 1.0.4
|
2024-01-06 00:10:34 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A common base to build a graphical console
|
|
|
|
Group: Development/Libraries/Java
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-06 00:10:34 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 00:10:34 +01:00
|
|
|
URL: http://dev.artenum.com/projects/JRosetta/
|
2024-01-06 00:10:34 +01:00
|
|
|
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
|
2024-01-06 00:10:34 +01:00
|
|
|
License: GPL
|
2024-01-06 00:10:34 +01:00
|
|
|
BuildRequires: javapackages
|
2024-01-06 00:10:34 +01:00
|
|
|
|
|
|
|
%description
|
2024-01-06 00:10:34 +01:00
|
|
|
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.
|
2024-01-06 00:10:34 +01:00
|
|
|
|
|
|
|
%prep
|
2024-01-06 00:10:34 +01:00
|
|
|
%setup -q -c -D -T
|
2024-01-06 00:10:34 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-06 00:10:34 +01:00
|
|
|
install -D -m0644 %{SOURCE0} \
|
2024-01-06 00:10:34 +01:00
|
|
|
%{buildroot}%{_javadir}/jrosetta-API-%{version}.jar
|
2024-01-06 00:10:34 +01:00
|
|
|
install -D -m0644 %{SOURCE1} \
|
2024-01-06 00:10:34 +01:00
|
|
|
%{buildroot}%{_javadir}/jrosetta-engine-%{version}.jar
|
|
|
|
|
|
|
|
(
|
|
|
|
cd %{buildroot}%{_javadir}
|
|
|
|
for jar in *-%{version}.jar; do
|
|
|
|
ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`
|
|
|
|
done
|
|
|
|
)
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_javadir}/jrosetta-API-%{version}.jar
|
|
|
|
%{_javadir}/jrosetta-API.jar
|
|
|
|
%{_javadir}/jrosetta-engine-%{version}.jar
|
|
|
|
%{_javadir}/jrosetta-engine.jar
|
2024-01-06 00:10:34 +01:00
|
|
|
#% doc COPYRIGHT LICENSE.txt
|
2024-01-06 00:10:34 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 00:10:34 +01:00
|
|
|
* Sun Apr 11 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.4-1mamba
|
|
|
|
- update to 1.0.4
|
|
|
|
|
2024-01-06 00:10:34 +01:00
|
|
|
* Fri Jan 21 2011 gil <puntogil@libero.it> 1.0.2-1mamba
|
|
|
|
- package created by autospec
|