]>
Commit | Line | Data |
---|---|---|
029c6e45 | 1 | # |
2 | Summary: Modules for c-icap ICAP server | |
3 | Name: c-icap-modules | |
4 | Version: 0.1.3 | |
5 | Release: 0.1 | |
6 | License: BSD | |
7 | Group: Libraries | |
8 | Source0: http://dl.sourceforge.net/c-icap/c_icap_modules-%{version}.tar.gz | |
9 | # Source0-md5: e1ced11a487495d621c2db3a11a5262f | |
10 | Patch0: %{name}-build.patch | |
11 | URL: http://c-icap.sourceforge.net/ | |
12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
13 | ||
14 | %description | |
15 | Modules for c-icap ICAP server | |
16 | ||
17 | %package -n c-icap-srv_clamav | |
18 | Summary: ClamAV service for c-icap | |
19 | Group: Development/Libraries | |
20 | Requires: c-icap | |
21 | ||
22 | %description -n c-icap-srv_clamav | |
23 | ClamAV service for c-icap. | |
24 | ||
25 | %description -n c-icap-srv_clamav -l pl.UTF-8 | |
26 | ClamAV service for c-icap. | |
27 | ||
28 | %package -n c-icap-srv_url_check | |
29 | Summary: URL check service for c-icap | |
30 | Group: Development/Libraries | |
31 | Requires: c-icap | |
32 | ||
33 | %description -n c-icap-srv_url_check | |
34 | URL check service for c-icap. | |
35 | ||
36 | %description -n c-icap-srv_url_check -l pl.UTF-8 | |
37 | URL check service for c-icap. | |
38 | ||
39 | %prep | |
40 | %setup -q -n c_icap_modules-%{version} | |
41 | %patch0 -p1 | |
42 | ||
43 | %build | |
029c6e45 | 44 | %{__autoconf} |
0eb38c0f | 45 | %configure |
029c6e45 | 46 | %{__make} |
47 | ||
48 | %install | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/c-icap | |
52 | %{__make} install \ | |
53 | DESTDIR=$RPM_BUILD_ROOT | |
54 | ||
55 | %clean | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
029c6e45 | 58 | %files -n c-icap-srv_clamav |
59 | %defattr(644,root,root,755) | |
167bd907 | 60 | %attr(640,root,c-icap) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/c-icap/srv_clamav.conf |
029c6e45 | 61 | %attr(755,root,root) %{_libdir}/c_icap/srv_clamav.so |
62 | ||
63 | %files -n c-icap-srv_url_check | |
64 | %defattr(644,root,root,755) | |
167bd907 | 65 | %attr(640,root,c-icap) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/c-icap/srv_url_check.conf |
029c6e45 | 66 | %attr(755,root,root) %{_libdir}/c_icap/srv_url_check.so |