1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
Name: urlredir Version: 2.03 Release: alt3 Summary: A redirector for Squid License: GPL Group: System/Servers URL: ftp://seldon.ormond.unimelb.edu.au/pub/linux/debian/%name/ Source: %url/%name-%version.tar.bz2 Requires: squid-server # Automatically added by buildreq on Fri Jul 01 2005 BuildRequires: flex %description urlredir is a utility that can be used with the squid proxy cache to perform URL redirection. It is written in C for speed, and it has a structured configuration system which allows great control over URL redirection. %prep %setup %build %configure --sysconfdir=%_sysconfdir/squid %make_build %install mkdir -p $RPM_BUILD_ROOT%_libdir/squid mkdir -p $RPM_BUILD_ROOT%_sysconfdir/squid/ mkdir -p $RPM_BUILD_ROOT%_mandir/man1 mkdir -p $RPM_BUILD_ROOT%_mandir/man5 mkdir -p $RPM_BUILD_ROOT%_docdir/%name-%version/examples install -p -m755 %name $RPM_BUILD_ROOT%_libdir/squid install -p -m644 %name.conf $RPM_BUILD_ROOT%_sysconfdir/squid install -p -m644 %name.1 $RPM_BUILD_ROOT%_mandir/man1 install -p -m644 %name.conf.5 $RPM_BUILD_ROOT%_mandir/man5 cp -R examples/* $RPM_BUILD_ROOT%_docdir/%name-%version/examples %files %_libdir/squid//%name %config(noreplace) %_sysconfdir/squid/%name.conf %_mandir/man?/* %doc README TODO %doc examples %changelog * Fri Jul 01 2005 Nazar Yurpeak <phoenix@altlinux.ru> 2.03-alt3 - updated Requires (fixed #7239) * Tue Sep 16 2003 Nazar Yurpeak <phoenix@altlinux.ru> 2.03-alt2 - rebuild with hasher * Sat Nov 16 2002 Nazar Yurpeak <phoenix@altlinux.ru> 2.03-alt1 - 2.03