80 lines
2.0 KiB
RPMSpec
80 lines
2.0 KiB
RPMSpec
|
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 <silvan.calarco@mambasoft.it>
|
||
|
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 <silvan.calarco@mambasoft.it> 0.4.1-1mamba
|
||
|
- package created using the webbuild interface
|