Group :: System/Servers
RPM: apache2-mod_vhost_limit
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
#Module-Specific definitions
%define apache_version 2.2.6
%define mod_name mod_vhost_limit
%define mod_conf B22_%mod_name
%define mod_so %mod_name.so
Summary: Restrict the number of simultaneous connections per vhost
Name: apache2-mod_vhost_limit
Version: 0.2
Release: alt2
Group: System/Servers
License: Apache License
Url: http://apache.ivn.cl/
Packager: Boris Savelev <boris at altlinux.org>
Source: http://apache.ivn.cl/files/source/%mod_name-%version.tgz
Source1: %mod_conf.conf
Source2: %mod_conf.load
Patch1: mod_vhost_limit-apache24.patch
# Automatically added by buildreq on Mon Feb 09 2009
BuildRequires: apache2-devel
%description
Restrict the number of simultaneous connections per vhost.
%prep
%setup -q -n %mod_name-%version
%patch1 -p1
%build
%apache2_apxs -c %mod_name.c
%install
mkdir -p %buildroot%apache2_moduledir
mkdir -p %buildroot%apache2_mods_available
install -m 644 .libs/%mod_name.so %buildroot%apache2_moduledir/%mod_name.so
install -m 644 %SOURCE1 %buildroot%apache2_mods_available
install -m 644 %SOURCE2 %buildroot%apache2_mods_available
%files
%apache2_mods_available/*.load
%config %apache2_mods_available/*.conf
%apache2_moduledir/*.so
%changelog
…
Full changelog you can see here
%define apache_version 2.2.6
%define mod_name mod_vhost_limit
%define mod_conf B22_%mod_name
%define mod_so %mod_name.so
Summary: Restrict the number of simultaneous connections per vhost
Name: apache2-mod_vhost_limit
Version: 0.2
Release: alt2
Group: System/Servers
License: Apache License
Url: http://apache.ivn.cl/
Packager: Boris Savelev <boris at altlinux.org>
Source: http://apache.ivn.cl/files/source/%mod_name-%version.tgz
Source1: %mod_conf.conf
Source2: %mod_conf.load
Patch1: mod_vhost_limit-apache24.patch
# Automatically added by buildreq on Mon Feb 09 2009
BuildRequires: apache2-devel
%description
Restrict the number of simultaneous connections per vhost.
%prep
%setup -q -n %mod_name-%version
%patch1 -p1
%build
%apache2_apxs -c %mod_name.c
%install
mkdir -p %buildroot%apache2_moduledir
mkdir -p %buildroot%apache2_mods_available
install -m 644 .libs/%mod_name.so %buildroot%apache2_moduledir/%mod_name.so
install -m 644 %SOURCE1 %buildroot%apache2_mods_available
install -m 644 %SOURCE2 %buildroot%apache2_mods_available
%files
%apache2_mods_available/*.load
%config %apache2_mods_available/*.conf
%apache2_moduledir/*.so
%changelog
…
Full changelog you can see here