]> git.pld-linux.org Git - packages/c-icap-modules.git/blob - c-icap-modules.spec
- new spec, modules for c-icap ICAP server
[packages/c-icap-modules.git] / c-icap-modules.spec
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
44 %{__libtoolize}
45 %{__aclocal}
46 %{__autoconf}
47 %{__autoheader}
48 %configure \
49         --with-c-icap=
50 %{__automake}
51 %{__make}
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55
56 install -d $RPM_BUILD_ROOT%{_sysconfdir}/c-icap
57 %{__make} install \
58         DESTDIR=$RPM_BUILD_ROOT
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %post   -p /sbin/ldconfig
64 %postun -p /sbin/ldconfig
65
66 %files -n c-icap-srv_clamav
67 %defattr(644,root,root,755)
68 %{_sysconfdir}/c-icap/srv_clamav.conf
69 %attr(755,root,root) %{_libdir}/c_icap/srv_clamav.so
70
71 %files -n c-icap-srv_url_check
72 %defattr(644,root,root,755)
73 %{_sysconfdir}/c-icap/srv_url_check.conf
74 %attr(755,root,root) %{_libdir}/c_icap/srv_url_check.so
This page took 0.088538 seconds and 3 git commands to generate.