1 Summary: ClamAV Anti-Virus protection for the KDE desktop
2 Summary(pl.UTF-8): Antywirus ClamAV dla środowiska KDE
3 Summary(ru.UTF-8): KDE-оболочка для антивирусного сканера Clam AntiVirus
8 Group: Applications/System
9 Source0: http://dl.sourceforge.net/klamav/%{name}-%{version}-source.tar.gz
10 # Source0-md5: 2df1df91f719f18d4e9ecb5d288950a4
11 Patch0: %{name}-desktop.patch
12 Patch1: %{name}-clamav-0.94.patch
13 URL: http://klamav.sourceforge.net/
14 BuildRequires: automake
15 BuildRequires: clamav-devel >= 0.93
16 BuildRequires: kdelibs-devel >= 9:3.2.0
17 BuildRequires: rpmbuild(macros) >= 1.129
18 BuildRequires: sed >= 4.0
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 ClamAV Anti-Virus protection for the KDE desktop. It includes:
23 - 'On Access' Scanning
25 - Quarantine Management
27 - Mail Scanning (KMail/Evolution)
29 %description -l pl.UTF-8
30 Antywirus ClamAV dla środowiska KDE. Zawiera:
31 - skanowanie przy dostępie
34 - ściąganie uaktualnień
35 - skanowanie poczty (KMail/Evolution).
38 %setup -q -n %{name}-%{version}-source
39 mv klamav-%{version} klamav
47 cp -f /usr/share/automake/config.sub admin
49 %if "%{_lib}" == "lib64"
50 --enable-libsuffix=64 \
52 --%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full} \
53 --with-qt-libraries=%{_libdir}
58 rm -rf $RPM_BUILD_ROOT
59 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_bindir},%{_desktopdir}}
61 %{__make} -C %{name} install \
62 DESTDIR=$RPM_BUILD_ROOT \
63 kde_htmldir=%{_kdedocdir} \
64 kde_libs_htmldir=%{_kdedocdir}
66 mv $RPM_BUILD_ROOT%{_datadir}/applnk/Utilities/klamav.desktop $RPM_BUILD_ROOT%{_desktopdir}
67 rm -rf $RPM_BUILD_ROOT%{_iconsdir}/locolor
69 %find_lang %{name} --with-kde --all-name
72 rm -rf $RPM_BUILD_ROOT
74 %files -f %{name}.lang
75 %defattr(644,root,root,755)
76 %doc %{name}/{AUTHORS,ChangeLog,INSTALL,NEWS,README,TODO}
77 %attr(755,root,root) %{_bindir}/ScanWithKlamAV
78 %attr(755,root,root) %{_bindir}/klamarkollon
79 %attr(755,root,root) %{_bindir}/klamav
80 %attr(755,root,root) %{_bindir}/klammail
81 %{_desktopdir}/*.desktop
82 %{_iconsdir}/hicolor/*/*/*.png
83 %{_datadir}/apps/%{name}
84 %{_datadir}/apps/konqueror/servicemenus/*.desktop
85 %{_datadir}/config.kcfg/*