Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37048071
en ru br
ALT Linux repos
S:1.1.1-alt2.1
5.0: 1.0.4-alt1
4.1: 1.0.4-alt1

Group :: System/Servers
RPM: polipo

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: polipo
Version: 1.1.1
Release: alt2.1
Summary: Single-threaded non blocking HTTP proxy
License: %mit
Group: System/Servers
URL: http://www.pps.jussieu.fr/~jch/software/%name/
Source0: http://www.pps.jussieu.fr/~jch/software/files/%name/%name-%version.tar.bz2
Source1: %name.init
Source2: %name.service

# Automatically added by buildreq on Sat Sep 01 2007 (-bi)

BuildRequires: symlinks

BuildRequires: rpm-build-licenses
# explicitly added texinfo for info files
BuildRequires: texinfo

%description
Polipo is single-threaded, non blocking HTTP proxy. It listens to
requests for web pages from your browser and forwards them to web
servers, and forwards the servers' replies to your browser. In the
process, it optimises and cleans up the network traffic.


%prep
%setup


%build
%define _optlevel s
%add_optflags -fno-strict-aliasing
%make_build CDEBUGFLAGS="%optflags"


%install
%make_install TARGET=%buildroot PREFIX=%_prefix MANDIR=%_mandir INFODIR=%_infodir install
install -d -m 0755 %buildroot{{%_sysconfdir,%_cachedir}/%name,%_docdir/%name-%version}
touch %buildroot%_sysconfdir/%name/{config,forbidden}
bzip2 --best --stdout CHANGES > %buildroot%_docdir/%name-%version/CHANGES.bz2
install -m 0644 README %buildroot%_docdir/%name-%version/
ln -sf %buildroot{%_datadir/%name/www/doc,%_docdir/%name-%version/html}
symlinks -c %buildroot%_docdir/%name-%version
symlinks -cs %buildroot%_docdir/%name-%version
install -pD -m 0755 %SOURCE1 %buildroot%_initdir/%name

install -d %buildroot%_unitdir
install -p -m644 %SOURCE2 %buildroot%_unitdir/

%post
%post_service %name ||:


%preun
%preun_service %name ||:


%files
%_docdir/%name-%version/*
%_bindir/*
%_man1dir/*
%_infodir/*
%_datadir/%name
%dir %_cachedir/%name
%dir %_sysconfdir/%name
%config(noreplace) %_sysconfdir/%name/*
%_initdir/*
# The package does not own its own docdir subdirectory.
# The line below is added by repocop to fix this bug in a straightforward way.
# Another way is to rewrite the spec to use relative doc paths.
%dir %_docdir/polipo-%version
%_unitdir/*


%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin