File naviserver-mod_revproxy.spec of Package naviserver-mod_revproxy

# spec file for package naviserver revproxy module

Summary:        NaviServer revproxy module
Name:           naviserver-mod_revproxy
Version:        0.11
Release:        0
License:        MPL-1.1
Group:          Productivity/Networking/Web/Servers
BuildRequires:  make
BuildRequires:  naviserver
BuildRequires:  naviserver-devel
Requires:       naviserver
Requires:       nsf
Source0:        %{name}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

This is a NaviServer module that implements a reverse proxy for
NaviServer based on the ns_connchan command. The modules provides
NaviServer filter procs, which can be registered for all or selected
urls via wildcards, that will redirect the incoming requests to some
backend service.

%setup -q %{name}-%{version}


mkdir -p %buildroot/var/lib/naviserver/tcl/revproxy
make DESTDIR=%buildroot install NAVISERVER=/var/lib/naviserver

rm -rf %buildroot