diff --git a/clamav-gui-0.4.2-missing-qpainterpath-include.patch b/clamav-gui-0.4.2-missing-qpainterpath-include.patch new file mode 100644 index 0000000..f3b564d --- /dev/null +++ b/clamav-gui-0.4.2-missing-qpainterpath-include.patch @@ -0,0 +1,10 @@ +--- ClamAV-GUI-0.4.2/src/qroundprogressbar.cpp.orig 2021-11-21 11:01:34.645583720 +0100 ++++ ClamAV-GUI-0.4.2/src/qroundprogressbar.cpp 2021-11-21 11:01:58.686024412 +0100 +@@ -20,6 +20,7 @@ + #include "qroundprogressbar.h" + + #include ++#include + + + QRoundProgressBar::QRoundProgressBar(QWidget *parent) : diff --git a/clamav-gui.spec b/clamav-gui.spec index c5ef56d..7495cf6 100644 --- a/clamav-gui.spec +++ b/clamav-gui.spec @@ -1,27 +1,27 @@ Name: clamav-gui -Version: 0.4.1 +Version: 0.4.2 Release: 1mamba Summary: Qt front-End for the ClamAV virus scanner Group: Graphical Desktop/Applications/Utilities Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: http://www.kde.org -Source: http://kde-apps.org/CONTENT/content-files/170782-ClamAV-GUI-%{version}.tgz +URL: https://store.kde.org/p/1127892/ +Source: https://sourceforge.net/projects/pisilinux/files/source/ClamAV-GUI-%{version}.tgz +Patch0: clamav-gui-0.4.2-missing-qpainterpath-include.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: libGL-devel BuildRequires: libgcc -BuildRequires: libqt5-devel +BuildRequires: libglvnd-devel BuildRequires: libstdc++6-devel +BuildRequires: qt5-qtbase-devel ## AUTOBUILDREQ-END BuildRequires: automoc4 BuildRequires: cmake Provides: klamav -Obsoletes: klamav +Obsoletes: klamav < 0.4.2 Requires: clamav -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Qt front-End for the ClamAV virus scanner. @@ -29,7 +29,8 @@ Qt front-End for the ClamAV virus scanner. %debug_package %prep -%setup -q -n ClamAV-GUI +%setup -q -n ClamAV-GUI-%{version} +%patch0 -p1 %build qmake-qt5 @@ -48,14 +49,14 @@ exit 0 %posttrans update-desktop-database -q >/dev/null 2>&1 -update-mime-database %{_kde5_mimedir} >/dev/null 2>&1 +update-mime-database -n %{_kde5_mimedir} >/dev/null 2>&1 gtk-update-icon-cache %{_kde5_icondir}/hicolor >/dev/null 2>&1 exit 0 %postun if [ $1 -eq 0 ]; then update-desktop-database -q >/dev/null 2>&1 - update-mime-database %{_kde5_mimedir} >/dev/null 2>&1 + update-mime-database -n %{_kde5_mimedir} >/dev/null 2>&1 touch --no-create %{_kde5_icondir}/hicolor >/dev/null 2>&1 fi exit 0 @@ -70,10 +71,13 @@ exit 0 %{_datadir}/doc/ClamAV-GUI/CHANGES %{_datadir}/doc/ClamAV-GUI/README %{_datadir}/icons/hicolor/*/apps/clamav-gui.png -%{_mandir}/de/man1/clamav-gui.1* -%{_mandir}/dk_DG/man1/clamav-gui.1* -%{_mandir}/en_GB/man1/clamav-gui.1* +%lang(de) %{_mandir}/de/man1/clamav-gui.1* +%lang(da_DK) %{_mandir}/da_DK/man1/clamav-gui.1.tar.gz +%lang(en_GB) %{_mandir}/en_GB/man1/clamav-gui.1* %changelog +* Sun Nov 21 2021 Automatic Build System 0.4.2-1mamba +- automatic version update by autodist + * Thu Mar 10 2016 Silvan Calarco 0.4.1-1mamba - package created using the webbuild interface