%define pkgver %(echo %version|tr . _) %define dirver %(echo %version | cut -d. -f 1-2 | tr . _) Name: java-hsqldb1 Version: 1.8.0.10 Release: 4mamba Summary: Lightweight 100% Java SQL Database Engine Group: Applications/Databases Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://hsqldb.org Source: https://downloads.sourceforge.net/project/hsqldb/hsqldb/hsqldb_%{dirver}/hsqldb_%{pkgver}.zip License: BSD ## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root %description HSQLDB is a relational database engine written in Java, with a JDBC driver, supporting a large subset of ANSI-92 SQL. A small, fast engine with both in memory and disk based tables. This product is the continuation of HypersonicSQL. Active since 2001. %prep %setup -q -c unzip -o %{SOURCE0} %build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" install -D -m0644 hsqldb/lib/hsqldb.jar %{buildroot}%{_javadir}/hsqldb-%{version}.jar #ln -s hsqldb-%{version}.jar %{buildroot}%{_javadir}/hsqldb.jar %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_javadir}/hsqldb-%{version}.jar #%{_javadir}/hsqldb.jar %changelog * Sat Oct 26 2019 Silvan Calarco 1.8.0.10-4mamba - version 1 package (for LibreOffice, must be < 1.8.1) - update to 1.8.0.10 * Thu Jan 27 2011 gil 1.8.0.10-3mamba - rebuilt with java-openjdk - add gcj support - add libreoffice patches * Tue Mar 03 2009 gil 1.8.0.10-2mamba - added manual and javadoc pakage - added system junit (java-junit3) and servlet (tomcat5) support - added %%pre %%post %%preun scripts - renamed java-hsqldb * Thu Jul 10 2008 Silvan Calarco 1.8.0-1mamba - package created by autospec