]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blobdiff - c_icap_modules/c_icap_modules.nm
less: Update to version 481
[people/amarx/ipfire-3.x.git] / c_icap_modules / c_icap_modules.nm
index 7b8cde1b8fbcffa54520c69fb52ee127be27f91f..59e642274045ce418ba4ac8b31d74bc4efab3dc1 100644 (file)
@@ -5,9 +5,8 @@
 
 name       = c_icap_modules
 version    = 0.1.6
-release    = 1
+release    = 3
 
-maintainer = Christian Schmidt <christian.schmidt@ipfire.org>
 groups     = Networking/Daemons
 url        = http://c-icap.sourceforge.net
 license    = GPLv2
@@ -25,14 +24,14 @@ build
        requires
                autoconf
                automake
-               c_icap
+               c_icap >= 0.1.7-3
                clamav-devel
-               db4-devel
+               libdb-devel
                libtool-devel
        end
 
        configure_options += \
-               --sysconfdir=/etc \
+               --sysconfdir=/etc/c-icap \
                --localstatedir=/var
 
        prepare_cmds
@@ -40,12 +39,22 @@ build
        end
 
        install
-               mkdir -pv %{BUILDROOT}/etc
+               mkdir -pv %{BUILDROOT}/etc/c-icap
                make install DESTDIR=%{BUILDROOT}
        end
 end
 
 packages
        package %{name}
+               configfiles
+                       /etc/c-icap/srv_clamav.conf
+                       /etc/c-icap/srv_clamav.conf.default
+                       /etc/c-icap/srv_url_check.conf
+                       /etc/c-icap/srv_url_check.conf.default
+               end
+       end
+
+       package %{name}-debuginfo
+               template DEBUGINFO
        end
 end