dnfdrake 3.6.20-1 (aarch64;znver1;x86_64) 2023-17520
-10000

Status rejected
Submitter benbullard79 [@T] cox.net
Platform rolling
Repository unsupported
URL https://abf.openmandriva.org/build_lists/347460
Packages
dnfdrake-3.6.20-1.aarch64.binary
dnfdrake-3.6.20-1.aarch64.source
dnfdrake-3.6.20-1.znver1.source
dnfdrake-3.6.20-1.znver1.binary
dnfdrake-3.6.20-1.x86_64.binary
dnfdrake-3.6.20-1.x86_64.source
Build Date 2023-06-27 12:53:45 +0000 UTC
Last Updated 2023-06-30 14:13:38.329478368 +0000 UTC
$ git diff --patch-with-stat --summary b2a4c9b1def841cafd94927fb2534b4efe38002b..e8b689f9ff500bce47855e1ec8817f90564609db

 .abf.yml      |   3 +-
 dnfdrake.spec | 124 +++++++++++++++++++++++++++++++++++++---------------------
 2 files changed, 80 insertions(+), 47 deletions(-)

diff --git a/.abf.yml b/.abf.yml
index 16dfee7..aa9e718 100644
--- a/.abf.yml
+++ b/.abf.yml
@@ -1,3 +1,2 @@
 sources:
- dnfdrake-3.6.3.tar.gz: 01673b17aec3f466e6e5b949564a4ced036ffdee
- 
+  dnfdrake-3.6.20.tar.gz: ab71490535848738e508cfa490c5fa8e42163352
diff --git a/dnfdrake.spec b/dnfdrake.spec
index caa84dc..a6c671a 100644
--- a/dnfdrake.spec
+++ b/dnfdrake.spec
@@ -1,57 +1,91 @@
-Name: dnfdrake
-Version: 3.6.3
-Release: 1
-Packager: Astragalo
-License: GPL
-Group: Graphical desktop/KDE
-Summary: DnfDrake  is a frontend for DNF
-Url: https://mib.pianetalinux.org/
-Source: %{name}-%{version}.tar.gz
-
-Requires: sudo
-Requires: gambas3-runtime 
-Requires: gambas3-gb-form
-Requires: gambas3-gb-image
-Requires: gambas3-gb-gui
-Requires: gambas3-gb-qt5
-Requires: gambas3-gb-gtk3
-Requires: gambas3-gb-dbus
-Requires: gambas3-gb-form-stock
-Requires: hicolor-icon-theme
-Requires: dnf-utils
-Requires: lsb-release
-Requires: createrepo_c
-Requires: python-dnf-plugin-versionlock
-Requires: xrandr
+%global gb3_ver %(gbc3 -V || echo 3.18.2)
+
+Summary:	A frontend for DNF
+Name:		dnfdrake
+Version:	3.6.20
+Release:	1
+License:	GPLv3
+Group:		Graphical desktop/KDE
+URL:		https://mib.pianetalinux.org
+#URL:		https://github.com/astrgl/dnfdrake
+Source0:	https://github.com/astrgl/dnfdrake/archive/%{version}/%{name}-%{version}.tar.gz
+BuildRequires:	gambas3-devel
+BuildRequires:	gambas3-gb-dbus
+BuildRequires:	gambas3-gb-form
+BuildRequires:	gambas3-gb-form-stock
+BuildRequires:	gambas3-gb-gtk3
+BuildRequires:	gambas3-gb-gui
+BuildRequires:	gambas3-gb-image
+BuildRequires:	gambas3-gb-qt5
+BuildRequires:	imagemagick
+
+Requires:	sudo
+Requires:	createrepo_c
+Requires:	dnf-utils
+Requires:	gambas3-runtime = %{gb3_ver}
+Requires:	gambas3-devel
+Requires:	gambas3-gb-dbus
+Requires:	gambas3-gb-form
+Requires:	gambas3-gb-form-stock
+Requires:	gambas3-gb-gtk3
+Requires:	gambas3-gb-gui
+Requires:	gambas3-gb-image
+Requires:	gambas3-gb-qt5
+Requires:	lsb-release
+Requires:	python-dnf-plugin-versionlock
+Requires:	xrandr
+Requires:	dnfdraketray
 
 BuildArch: noarch
 
-Conflicts:  gambas3-runtime  > 3.17.2
+%files
+%license FILE-EXTRA/license
+%{_bindir}/%{name}.gambas
+%{_datadir}/%{name}/*
+%{_datadir}/applications/%{name}.desktop
+%{_datadir}/pixmaps/%{name}.xpm
+%{_iconsdir}/hicolor/*/apps/%{name}.png
+%{_iconsdir}/hicolor/*/apps/%{name}.svg
+
+#---------------------------------------------------------------------------
 
 %description
-DnfDrake  is a frontend for DNF package manager
+DnfDrake is a frontend for DNF package manager
 Powerful like a terminal and simple like a GUI!
 
 %prep
-%autosetup -n dnfdrake
+%autosetup -p1
+
+%build
+gbc3 -e -a -g -t -f public-module -f public-control -j%{?_smp_mflags}
+gba3
+
+# unversion binary
+mv %{name}-%{version}.gambas %{name}.gambas
 
 %install
+# binary
+install -Dm 0755 %{name}.gambas -t %{buildroot}/%{_bindir}/
 
-install -Dm 755 dnfdrake.gambas -t %{buildroot}/%{_bindir}/
-install -Dm 755 dnfdraketray.gambas -t %{buildroot}/%{_bindir}/
-install -Dm 755 dnfdrake.desktop -t %buildroot/%_datadir/applications/
-install -Dm 644 license -t %{buildroot}/%{_datadir}/dnfdrake/
-install -Dm 644 dnfdrake-COMMAND -t %{buildroot}/%{_datadir}/dnfdrake/
-install -Dm 644 dnfdrake-*-* -t %{buildroot}/%{_datadir}/dnfdrake/
-install -Dm 755 dnfdraketray.gambas.desktop -t %{buildroot}/%{_datadir}/dnfdrake/
-install -Dm 644 dnfdrake.svg  -t %{buildroot}/%{_datadir}/icons/hicolor/32x32/apps/
+# data files
+install -Dm 0644 FILE-EXTRA/%{name}-*-* -t %{buildroot}/%{_datadir}/%{name}/
+install -Dm 0644 FILE-EXTRA/%{name}-COMMAND -t %{buildroot}/%{_datadir}/%{name}/
+
+# logos
+install -Dm 0644 LINUX.png -t %{buildroot}/%{_datadir}/%{name}/
+install -Dm 0644 OMA.png -t %{buildroot}/%{_datadir}/%{name}/
+
+#.desktop
+install -Dm 0755 FILE-EXTRA/%{name}.desktop -t %{buildroot}/%{_datadir}/applications
+
+# icons
+install -Dm 0644 %{name}.svg -t %{buildroot}%{_iconsdir}/hicolor/scalable/apps/
+for d in 16 32 48 64 72 128 256 512
+do
+	install -dm 0755 %{buildroot}%{_iconsdir}/hicolor/${d}x${d}/apps/
+	convert -background none -scale ${d}x${d} %{name}.svg \
+			%{buildroot}%{_iconsdir}/hicolor/${d}x${d}/apps/%{name}.png
+done
+install -dm 0755 %{buildroot}%{_datadir}/pixmaps/
+convert -scale 32x32 %{name}.svg %{buildroot}%{_datadir}/pixmaps/%{name}.xpm
 
-%files
-%{_bindir}/dnfdrake.gambas
-%{_bindir}/dnfdraketray.gambas
-%{_datadir}/applications/dnfdrake.desktop
-%{_datadir}/icons/hicolor/32x32/apps/dnfdrake.svg
-%{_datadir}/dnfdrake/license
-%{_datadir}/dnfdrake/dnfdrake-COMMAND
-%{_datadir}/dnfdrake/dnfdrake-*-*
-%{_datadir}/dnfdrake/dnfdraketray.gambas.desktop
Not Available

rugyada [@T] gmail.comsource master<>rolling ATM are different, we will merge at due time294d 18hrs
benbullard79 [@T] cox.netNo Comment.292d 16hrs
benbullard79 [@T] cox.netNo Comment.292d 16hrs