]>
Commit | Line | Data |
---|---|---|
2488ddd4 ER |
1 | # TODO |
2 | # - fix build with new apache/apr (apr_off_t) | |
98557b57 | 3 | %define apxs /usr/sbin/apxs |
4 | %define mod_name clamav | |
c95298f0 JB |
5 | Summary: An Apache virus scanning filter |
6 | Summary(pl): Filtr skanera antywirusowego dla Apache'a | |
d418d050 | 7 | Name: apache-mod_%{mod_name} |
549a221a | 8 | Version: 0.21 |
2488ddd4 | 9 | Release: 0.1 |
d418d050 | 10 | License: GPL |
11 | Group: Networking/Daemons | |
12 | Source0: http://software.othello.ch/mod_clamav/mod_%{mod_name}-%{version}.tar.gz | |
549a221a | 13 | # Source0-md5: 98bd0d8628be8ddeae21da6623e57d20 |
d418d050 | 14 | Source1: %{name}.conf |
15 | Patch0: %{name}-libtool-tag.patch | |
16 | URL: http://software.othello.ch/mod_clamav/ | |
17 | BuildRequires: %{apxs} | |
ecf6a5d2 | 18 | BuildRequires: apache-devel >= 2.0 |
2488ddd4 ER |
19 | BuildRequires: apr-devel >= 1:1.0 |
20 | BuildRequires: apr-util-devel >= 1:1.0 | |
c95298f0 JB |
21 | BuildRequires: autoconf |
22 | BuildRequires: automake | |
9c2e6dce | 23 | BuildRequires: clamav-devel |
0aa5d0e9 | 24 | BuildRequires: libtool |
2488ddd4 | 25 | Requires: apache(modules-api) = %apache_modules_api |
d418d050 | 26 | Requires: apache-mod_proxy |
27 | Requires: clamav | |
28 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
29 | ||
2488ddd4 ER |
30 | %define _pkglibdir %(%{apxs} -q LIBEXECDIR 2>/dev/null) |
31 | %define _sysconfdir %(%{apxs} -q SYSCONFDIR 2>/dev/null) | |
d418d050 | 32 | |
33 | %description | |
34 | mod_clamav is an Apache 2 filter which scans the content delivered by | |
35 | the proxy module (mod_proxy) for viruses using the Clamav virus | |
36 | scanning engine. | |
37 | ||
c95298f0 JB |
38 | %description -l pl |
39 |