java-rosetta/java-rosetta.spec

57 lines
1.7 KiB
RPMSpec
Raw Permalink Normal View History

Name: java-rosetta
Version: 1.0.4
Release: 1mamba
Summary: A common base to build a graphical console
Group: Development/Libraries/Java
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://dev.artenum.com/projects/JRosetta/
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: 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.
%prep
%setup -q -c -D -T
%build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -D -m0644 %{SOURCE0} \
%{buildroot}%{_javadir}/jrosetta-API-%{version}.jar
install -D -m0644 %{SOURCE1} \
%{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
#% 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