Hits : 3093


This is my custom rpm spec file for privoxy


http://www.privoxy.org/


Name:           privoxy
Version:        3.0.19
Release:        1%{?dist}
Summary:        Privacy enhancing HTTP proxy
 
Group:          Networking/Other
License:        GPLv2
URL:            http://www.privoxy.org/
Source0:        http://prdownloads.sf.net/ijbswa/%{name}-%{version}-stable-src.tar.gz
 
BuildRequires:  man BuildRequires:  pcre-devel
BuildRequires:  zlib-devel
 
%description
Privoxy is a web proxy with advanced filtering capabilities for protecting
privacy, filtering web page content, managing cookies, controlling access, and removing ads, banners, pop-ups and other obnoxious Internet Junk. Privoxy has a very flexible configuration and can be customized to suit individual needs and tastes. Privoxy has application for both stand-alone systems and multi-user
networks.
 
Privoxy was previously called Internet Junkbuster.
 
To configure privoxy, go to http://config.privoxy.org/
 
Privoxy proxy is running on port 8118
 
%prep
%setup -n %{name}-%{version}-stable -q
 
%build
autoheader
autoconf
 
%configure \
        --sysconfdir=/etc/privoxy \
        --with-user=daemon \
        --with-group=daemon
 
make %{?_smp_mflags}
 
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
 
%clean
rm -rf $RPM_BUILD_ROOT
 
%files
%defattr(-,root,root,-)
%config /etc/%{name}
%doc /usr/share/doc/%{name}
%{_sbindir}/%{name}
%{_mandir}/man1/%{name}.1.gz
%{_localstatedir}/log/%{name}/logfile
 
%changelog
 
* Wed Apr 25 2012 Evaggelos Balaskas <ebalaskas@ebalaskas.gr> 3.0.19-1 
- *** Version 3.0.19 Stable ***