Name: dbeaver-ce Version: 22.3.1 Release: 1%{?dist} Summary: Free multi-platform database tool. License: ASL 2.0 URL: https://dbeaver.io #https://github.com/dbeaver/dbeaver/archive/7.2.5.zip Source0: https://github.com/dbeaver/dbeaver/archive/%{version}.tar.gz#/dbeaver-%{version}.tar.gz Source1: dbeaver.desktop #Patch0: dbeaver-workspacepath.patch #Patch1: dbeaver-driverspath.patch Requires: java-1.8.0-openjdk BuildRequires: maven BuildRequires: dos2unix BuildRequires: java-1.8.0-openjdk-devel #ExcludeArch: ppc64le #ExcludeArch: s390x #%%{ix86} ExclusiveArch: x86_64 %description Free multi-platform database tool for developers, SQL programmers, database administrators and analysts. Supports all popular databases: MySQL, PostgreSQL, MariaDB, SQLite, Oracle, DB2, SQL Server, Sybase, MS Access, Teradata, Firebird, Derby, etc. %global debug_package %{nil} %ifarch %ix86 %global sourcedir x86 %else %global sourcedir x86_64 %endif %prep #autosetup -n dbeaver-%{version} -p0 %setup -q -n dbeaver-%{version} #/usr/bin/dos2unix plugins/org.jkiss.dbeaver.model/src/org/jkiss/dbeaver/model/DBConstants.java #/usr/bin/dos2unix plugins/org.jkiss.dbeaver.core.application/src/org/jkiss/dbeaver/core/application/DBeaverApplication.java #%%patch0 -p0 #%%patch1 -p0 cp %{SOURCE1} %{_builddir}/ %build mvn package mkdir -p usr/share mv product/community/target/products/org.jkiss.dbeaver.core.product/linux/gtk/%{sourcedir}/dbeaver usr/share/ %check %install mv %{_builddir}/dbeaver-%{version}/usr %{buildroot}/ mkdir -p %{buildroot}%{_datarootdir}/applications %{buildroot}%{_bindir} mv %{_builddir}/dbeaver.desktop %{buildroot}%{_datarootdir}/applications/ ln -s %{_datarootdir}/dbeaver/dbeaver %{buildroot}%{_bindir}/dbeaver %files %dir %{_datarootdir}/dbeaver %{_datarootdir}/dbeaver/* %{_datarootdir}/dbeaver/.eclipseproduct %{_datarootdir}/applications/dbeaver.desktop %{_bindir}/dbeaver %changelog * Wed Jan 4 2023 Steve Miller (copart) - 22.3.1-1 - Bump to upstream * Fri Dec 24 2021 Steve Miller (copart) - 21.3.1-1 - Bump to upstream * Wed Aug 25 2021 Steve Miller (copart) - 21.1.5-1 - Bump to upstream * Fri May 21 2021 Steve Miller (copart) - 21.0.5-1 - Bump to upstream * Mon Jan 11 2021 Steve Miller (copart) - 7.3.2-1 - Bump to upstream * Mon Nov 16 2020 Steve Miller (copart) - 7.2.5-1 - Bump to upstream * Fri Jul 10 2020 Steve Miller (copart) - 7.1.2-1 - Bump to upstream * Tue May 05 2020 Steve Miller (copart) - 7.0.4-1 - Bump to upstream * Fri Apr 24 2020 Steve Miller (copart) - 7.0.3-1 - Bump to upstream * Wed Dec 18 2019 Steve Miller (copart) - 6.3.0-1 - Bump to upstream * Sat Oct 05 2019 Steve Miller (copart) - 6.2.1-1 - Bump to upstream * Mon Jul 22 2019 Steve Miller (copart) - 6.1.3-2 - Updated workspace paths for dbeaver4, this will kick off the migration wizard on first launch of 6.1.3 * Sun Jul 21 2019 Steve Miller (copart) - 6.1.3-1 - Bump to upstream * Tue Apr 23 2019 Steve Miller (copart) - 6.0.3-1 - Bump to upstream * Fri Apr 12 2019 Steve Miller (copart) - 6.0.1-1 - Bump to upstream - 32-bit version was obsoleted by upstream * Fri Mar 15 2019 Steve Miller (copart) - 6.0.0-1 - Initial package