20 |
Summary: Anti-virus software |
Summary: Anti-virus software |
21 |
Name: clamav |
Name: clamav |
22 |
Version: 0.100.2 |
Version: 0.100.2 |
23 |
Release: 2%{?dist} |
Release: 3%{?dist} |
24 |
# ClamAV is GPLv2, zlib is zlib, /contrib/dotzlib/ has Boost license |
# ClamAV is GPLv2, zlib is zlib, /contrib/dotzlib/ has Boost license |
25 |
%if 0%{?zlibversion:1} && 0%{?zlibrelease:1} |
%if 0%{?zlibversion:1} && 0%{?zlibrelease:1} |
26 |
License: GPLv2 and zlib and Boost |
License: GPLv2 and zlib and Boost |
266 |
EOF |
EOF |
267 |
|
|
268 |
%build |
%build |
|
|
|
269 |
%if 0%{?zlibversion:1} && 0%{?zlibrelease:1} |
%if 0%{?zlibversion:1} && 0%{?zlibrelease:1} |
270 |
# Cheerfully borrowed from zlib.spec in RHEL/CentOS 7, see |
# Cheerfully borrowed from zlib.spec in RHEL/CentOS 7, see |
271 |
# https://git.centos.org/blob/rpms!zlib.git/c7/SPECS!zlib.spec |
# https://git.centos.org/blob/rpms!zlib.git/c7/SPECS!zlib.spec |
299 |
--with-dbdir="%{_localstatedir}/clamav" \ |
--with-dbdir="%{_localstatedir}/clamav" \ |
300 |
--with-group="clamav" \ |
--with-group="clamav" \ |
301 |
--with-libcurl=%{_prefix} \ |
--with-libcurl=%{_prefix} \ |
302 |
--with-user="clamav" |
--with-user="clamav" \ |
|
|
|
303 |
%if 0%{?zlibversion:1} && 0%{?zlibrelease:1} |
%if 0%{?zlibversion:1} && 0%{?zlibrelease:1} |
304 |
--with-zlib=%{_builddir}/%{name}-%{version}/zlib-%{zlibversion}-%{zlibrelease}%{_prefix} \ |
--with-zlib=%{_builddir}/%{name}-%{version}/zlib-%{zlibversion}-%{zlibrelease}%{_prefix} \ |
305 |
%endif |
%endif |