Sophie

Sophie

distrib > Mandriva > cooker > i586 > by-pkgid > 44fb95a17684806df7bb977318b69290 > files > 2

netpolice-filter-2.0-2.src.rpm

Name:	 	netpolice-filter
Version:	2.0
Release:	2

Summary:	url filter for c-icap server
License:	BSD
Group:		System/Servers
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot
Url:		http://www.netpolice.ru/

Source0:	%{name}-%{version}.tar.gz

BuildRequires:	gcc-c++
BuildRequires:	c-icap-devel
BuildRequires:	libmemcache-devel
BuildRequires:	opendbx-devel
BuildRequires: 	zlib-devel

Requires(pre):	shadow-utils

Requires:	%{name} = %{version}-%{release}
Requires:	opendbx
Requires:	opendbx-sqlite3

Provides:	c-icap-url-filter

%description
ICAP module for checking URL against blacklist.

%prep
%setup -q

%build
libtoolize --copy --force
aclocal
autoconf
autoheader
automake --foreign --add-missing --copy
cp INSTALL INSTALL.txt

%configure cicapincdir=/usr/include/c_icap 
make

%install

mkdir -p  %{buildroot}/etc
%makeinstall_std CONFIGDIR=/etc

%files
%defattr(-,root,root)
%doc AUTHORS README INSTALL.txt TODO
%{_libdir}/c_icap/*.so
%{_libdir}/c_icap/*.la
%config(noreplace) %{_sysconfdir}/*.conf*

%clean
make clean
rm -rf %{buildroot}



%changelog
* Fri Nov 11 2011 Pischulin Anton <apischulin@mandriva.org> 2.0-2
+ Revision: 729993
- del libclamav-devel dep
- correct gcc-c++ build deps
- change gcc-c++ to 4.6
- new 2.0 version of url_filter

  + Alex Burmashev <burmashev@mandriva.org>
    - import netpolice-filter