Пакет c-icap-modules: Specfile

Name: 	 c-icap-modules
Version: 0.4.2
Release: alt0.M60P.2
Epoch:	 1
Packager: Andrey Cherepanov <cas@altlinux.org>

Summary: ICAP server modules
License: %gpl2only
Group: 	 System/Servers
Url: 	 http://c-icap.sourceforge.net/

Provides:  c-icap-clamav = %epoch:%version-%release
Obsoletes: c-icap-clamav < %epoch:%version-%release

Source0: c_icap_modules-%version.tar.gz

BuildRequires: rpm-build-licenses

BuildRequires: c-icap-devel libadns-devel libmemcache-devel opendbx-devel zlib-devel
BuildRequires: libclamav-devel

%description
Modules for Internet Content Adaptation Protocol (ICAP) server.

%prep
%setup -n c_icap_modules-%version

%build
%autoreconf
%undefine _configure_gettext
%configure
%make_build

%install
mkdir -p %buildroot%_sysconfdir
%makeinstall_std

rm -f %buildroot%_libdir/c_icap/*.la

%files
%doc AUTHORS README NEWS SPONSORS
%_sysconfdir/*
%dir %_libdir/c_icap
%_libdir/c_icap/*.so
%dir %_datadir/c_icap
%_datadir/c_icap/templates
%_man8dir/c-icap*.8*

%changelog
* Fri Mar 11 2016 Sergey Y. Afonin <asy@altlinux.ru> 1:0.4.2-alt0.M60P.2
- Branch p6 backport (needed for new c-icap)

* Thu Mar 10 2016 Sergey Y. Afonin <asy@altlinux.ru> 1:0.4.2-alt2
- Removed gcc-c++ from BuildRequires

* Mon Dec 07 2015 Andrey Cherepanov <cas@altlinux.org> 1:0.4.2-alt1
- New version