Merge pull request #2 from djam/dbeaver:rosa2014.1

up release
This commit is contained in:
djam 2019-07-05 17:32:48 +00:00
commit df63002592

View file

@ -4,13 +4,14 @@
Name: dbeaver
Version: 6.1.1
Release: 1
Release: 2
Summary: Universal database manager and SQL client
URL: https://dbeaver.io
Source0: %{name}-%{version}.tar.gz
Source100: %{name}.rpmlintrc
Group: Development/Databases
License: ASL 2.0
ExcludeArch: x86 i386 i486 i586 i686
BuildRequires: maven >= 3
BuildRequires: java-devel >= 1.8
@ -42,15 +43,15 @@ install -d %{buildroot}%{_datadir}
install -d %{buildroot}%{_datadir}/applications
install -d %{buildroot}%{_iconsdir}/hicolor/{16x16,24x24,32x32}/apps
%ifarch x86_64
#ifarch x86_64
pushd product/standalone/target/products/org.jkiss.dbeaver.core.product/linux/gtk/x86_64
cp -a %{name} %{buildroot}%{_datadir}
popd
%else
pushd product/standalone/target/products/org.jkiss.dbeaver.core.product/linux/gtk/x86
cp -a %{name} %{buildroot}%{_datadir}
popd
%endif
#else
#pushd product/standalone/target/products/org.jkiss.dbeaver.core.product/linux/gtk/x86
#cp -a %{name} %{buildroot}%{_datadir}
#popd
#endif
#start script
cat > %{buildroot}%{_bindir}/%{name} <<EOF