From cc17be48229f786830e4ca9ccd05830a0d4c991a Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 21:23:55 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.4.1-1mamba;Thu Mar 10 2016] --- README.md | 2 ++ clamav-gui.spec | 79 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 81 insertions(+) create mode 100644 clamav-gui.spec diff --git a/README.md b/README.md index 5d4b37c..c9cb3b5 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # clamav-gui +Qt front-End for the ClamAV virus scanner. + diff --git a/clamav-gui.spec b/clamav-gui.spec new file mode 100644 index 0000000..c5ef56d --- /dev/null +++ b/clamav-gui.spec @@ -0,0 +1,79 @@ +Name: clamav-gui +Version: 0.4.1 +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 +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libGL-devel +BuildRequires: libgcc +BuildRequires: libqt5-devel +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +BuildRequires: automoc4 +BuildRequires: cmake +Provides: klamav +Obsoletes: klamav +Requires: clamav +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Qt front-End for the ClamAV virus scanner. + +%debug_package + +%prep +%setup -q -n ClamAV-GUI + +%build +qmake-qt5 +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post +touch --no-create %{_kde5_icondir}/hicolor >/dev/null 2>&1 +exit 0 + +%posttrans +update-desktop-database -q >/dev/null 2>&1 +update-mime-database %{_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 + touch --no-create %{_kde5_icondir}/hicolor >/dev/null 2>&1 +fi +exit 0 + +%files +%defattr(-,root,root) +%{_bindir}/clamav-gui +%{_datadir}/applications/clamav-gui.desktop +%dir %{_datadir}/clamav-gui +%{_datadir}/clamav-gui/clamav-gui*.qm +%{_datadir}/clamav-gui/clamav-gui.png +%{_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* + +%changelog +* Thu Mar 10 2016 Silvan Calarco 0.4.1-1mamba +- package created using the webbuild interface