/[smecontribs]/rpms/mod_bw/contribs8/mod_bw.spec
ViewVC logotype

Contents of /rpms/mod_bw/contribs8/mod_bw.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Thu Mar 13 21:11:47 2008 UTC (16 years, 2 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Remove buggy module

1 Summary: Bandwidth administration module for the Apache Web server
2 Name: mod_bw
3 Version: 0.8
4 Release: 1%{?dist}
5 License: Apache Software License
6 Group: System Environment/Daemons
7 URL: http://www.ivn.cl/apache/
8 Source0: http://www.ivn.cl/apache/files/source/%{name}-%{version}.tgz
9 Source1: %{name}-0.8.conf
10 Requires: httpd >= 2.0.0
11 BuildRequires: httpd-devel
12 BuildRoot: %{_tmppath}/%{name}-%{version}-root
13
14 %description
15 %{name} is a bandwidth administration module for the Apache Web server.
16 The module has the following features:
17
18 - Restrict the number of simultaneous connections per vhost/dir
19 - Limit the bandwidth for files on vhost/dir
20
21 %prep
22 %setup -q -n %{name}
23
24 %build
25 %{_sbindir}/apxs -c %{name}.c
26
27 %install
28 [ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot}
29
30 %{__install} -d %{buildroot}%{_libdir}/httpd/modules
31 %{__install} -d %{buildroot}%{_sysconfdir}/httpd/conf.d
32 %{__install} -m 0755 -p .libs/%{name}.so %{buildroot}%{_libdir}/httpd/modules/
33 %{__install} -m 0644 -p %{SOURCE1} %{buildroot}%{_sysconfdir}/httpd/conf.d/%{name}.conf
34
35 %clean
36 [ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot}
37
38 %files
39 %defattr(-,root,root)
40 %doc ChangeLog LICENSE TODO mod_bw.txt
41 %{_libdir}/httpd/modules/%{name}.so
42 %config(noreplace) %{_sysconfdir}/httpd/conf.d/%{name}.conf
43
44 %changelog
45 * Sun Jul 29 2007 Shad L. Lords <slords@mail.com> 0.8-1
46 - Initial release
47

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed