2024-01-06 00:14:59 +01:00
|
|
|
Name: java-ucanaccess
|
2024-01-06 00:15:00 +01:00
|
|
|
Version: 5.0.1
|
2024-01-06 00:14:59 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 00:14:59 +01:00
|
|
|
Summary: Java JDBC driver implementation that allows JDBC client programs to read/write Microsoft Access databases.
|
|
|
|
Group: System/Libraries/Java
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 00:15:00 +01:00
|
|
|
URL: https://sourceforge.net/projects/ucanaccess/
|
|
|
|
Source: https://sourceforge.net/projects/ucanaccess/files/UCanAccess-%{version}.bin.zip
|
2024-01-06 00:14:59 +01:00
|
|
|
License: Apache License 2.0
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%description
|
|
|
|
UCanAccess is an open-source Java JDBC driver implementation that allows Java developers and JDBC client programs (e.g., DBeaver, NetBeans, SQLeo, OpenOffice Base, LibreOffice Base, Squirrel SQL) to read/write Microsoft Access databases.
|
|
|
|
|
|
|
|
%prep
|
2024-01-06 00:15:00 +01:00
|
|
|
%setup -q -n UCanAccess-%{version}.bin
|
2024-01-06 00:14:59 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
install -d -m0755 %{buildroot}%{_datadir}/%{name} %{buildroot}%{_bindir}
|
|
|
|
cp -a * %{buildroot}%{_datadir}/%{name}/
|
|
|
|
|
|
|
|
rm -f %{buildroot}%{_datadir}/java-ucanaccess/console.bat
|
|
|
|
|
|
|
|
mv %{buildroot}%{_datadir}/java-ucanaccess/console.sh %{buildroot}%{_bindir}/ucanaccess-console
|
|
|
|
chmod +x %{buildroot}%{_bindir}/ucanaccess-console
|
|
|
|
sed -i "s|^UCANACCESS_HOME=.*|UCANACCESS_HOME=%{_datadir}/java-ucanaccess|" %{buildroot}%{_bindir}/ucanaccess-console
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/ucanaccess-console
|
|
|
|
%dir %{_datadir}/java-ucanaccess
|
|
|
|
%{_datadir}/java-ucanaccess/copyright.txt
|
|
|
|
%dir %{_datadir}/java-ucanaccess/lib
|
2024-01-06 00:14:59 +01:00
|
|
|
%{_datadir}/java-ucanaccess/lib/commons-lang3-*.jar
|
2024-01-06 00:14:59 +01:00
|
|
|
%{_datadir}/java-ucanaccess/lib/commons-logging-*.jar
|
2024-01-06 00:14:59 +01:00
|
|
|
%{_datadir}/java-ucanaccess/lib/hsqldb-*.jar
|
2024-01-06 00:14:59 +01:00
|
|
|
%{_datadir}/java-ucanaccess/lib/jackcess-*.jar
|
|
|
|
%dir %{_datadir}/java-ucanaccess/licenses
|
|
|
|
%{_datadir}/java-ucanaccess/licenses/*.txt
|
|
|
|
%dir %{_datadir}/java-ucanaccess/loader
|
|
|
|
%{_datadir}/java-ucanaccess/loader/ucanload.jar
|
|
|
|
%{_datadir}/java-ucanaccess/ucanaccess-*.jar
|
|
|
|
%{_datadir}/java-ucanaccess/version.txt
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 00:15:00 +01:00
|
|
|
* Mon Jan 24 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 5.0.1-1mamba
|
|
|
|
- update to 5.0.1
|
|
|
|
|
2024-01-06 00:14:59 +01:00
|
|
|
* Tue Jul 07 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 5.0.0-1mamba
|
|
|
|
- update to 5.0.0
|
|
|
|
|
2024-01-06 00:14:59 +01:00
|
|
|
* Thu Oct 03 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.4-2mamba
|
|
|
|
- install whole package content under /usr/share/java-ucanaccess
|
|
|
|
|
|
|
|
* Fri Aug 16 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.4-1mamba
|
|
|
|
- package created using the webbuild interface
|