%define module Net-Proxy %define name perl-%{module} %define version 0.08 %define rel 1 Name: %{name} Version: %{version} Release: %mkrel %{rel} License: GPL or Artistic Group: Development/Perl Summary: Framework for proxying network connections in many ways Url: http://search.cpan.org/dist/%{module}/ Source: http://www.cpan.org/modules/by-module/Net/%{module}-%{version}.tar.bz2 %if %{mdkversion} < 1010 BuildRequires: perl-devel %endif BuildRequires: perl(Test::Pod) BuildRequires: perl(LWP::UserAgent) BuildRequires: perl(IO::Socket::SSL) BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version} %description A Net::Proxy object represents a proxy that accepts connections and then relays the data transfered between the source and the destination. The goal of this module is to abstract the different methods used to connect from the proxy to the destination. A proxy is a program that transfer data across a network boundary between a client and a server. Net::Proxy introduces the concept of "connectors" (implemented as Net::Proxy::Connector subclasses), which abstract the server part (connected to the client) and the client part (connected to the server) of the proxy. This architecture makes it easy to implement specific techniques to cross a given network boundary, possibly by using a proxy on one side of the network fence, and a reverse-proxy on the other side of the fence. This package also contains utilities such as connect-tunnel and sslh. %prep %setup -q -n %{module}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %{__make} test %install rm -rf %{buildroot} %makeinstall_std %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc README Changes %{perl_vendorlib}/Net %{_mandir}/*/* %{_bindir}/* %changelog * Tue May 01 2007 Michael Scherer <misc@mandriva.org> 0.08-1mdv2008.0 + Revision: 19962 - add missing BuildRequires - update to 0.08 + Mandriva <devel@mandriva.com> * Wed May 31 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.06-1mdv2007.0 - New release 0.06 - spec cleanup - fix directory ownership * Fri Apr 28 2006 Nicolas Lécureuil <neoclust@mandriva.org> 0.05-2mdk - Fix SPEC according to Perl Policy - BuildRequires - Source URL * Tue Apr 18 2006 Michael Scherer <misc@mandriva.org> 0.05-1mdk - New release 0.05 * Tue Mar 21 2006 Nicolas Lécureuil <neoclust@mandriva.org> 0.04-2mdk - Add BuildRequires * Fri Feb 03 2006 Michael Scherer <misc@mandriva.org> 0.04-1mdk - First Mandriva package