]> git.pld-linux.org Git - packages/apache1-mod_throttle.git/blob - apache1-mod_throttle.spec
- added summaries/descriptions from KSI/RH
[packages/apache1-mod_throttle.git] / apache1-mod_throttle.spec
1 Summary:        Bandwidth & Request Throttling for Apache
2 Summary(cs):    Omezení sí»ového provozu pro Apache
3 Summary(de):    Ein Modul, das die Bandbreiten- und Anforderungseinschränkung für Apache implementiert
4 Summary(es):    Módulo que implementa la gestión de ancho de banda y peticiones para Apache
5 Summary(fr):    Module qui met en oeuvre la bande passante et l'étranglement requis pour Apache
6 Summary(it):    Modulo che implementa la larghezza di banda e la richiesta di throttling per Apache
7 Summary(ja):    Apache ÍÑÂÓ°èÉý¤ª¤è¤ÓÍ׵᥹¥í¥Ã¥È¥ë¤ò¼ÂÁõ¤¹¤ë¥â¥¸¥å¡¼¥ë
8 Summary(pl):    T³umienie przepustowo¶ci i zapytañ dla Apache'a
9 Summary(sv):    En modul som implementerar bandvidd- och begäranbegränsningar i Apache
10 Summary():      
11 Name:           apache-mod_throttle
12 Version:        3.1.2
13 Release:        1
14 License:        Anthony Howe
15 Group:          Networking/Daemons
16 Group(cs):      Sí»ové/Démoni
17 Group(da):      Netværks/Dæmoner
18 Group(de):      Netzwerkwesen/Server
19 Group(es):      Red/Servidores
20 Group(fr):      Réseau/Serveurs
21 Group(is):      Net/Púkar
22 Group(it):      Rete/Demoni
23 Group(no):      Nettverks/Daemoner
24 Group(pl):      Sieciowe/Serwery
25 Group(pt):      Rede/Servidores
26 Group(ru):      óÅÔØ/äÅÍÏÎÙ
27 Group(sl):      Omre¾ni/Stre¾niki
28 Group(sv):      Nätverk/Demoner
29 Group(uk):      íÅÒÅÖÁ/äÅÍÏÎÉ
30 Source0:        http://www.snert.com/Software/mod_throttle/mod_throttle312.tgz
31 URL:            http://www.snert.com/Software/mod_throttle/
32 BuildRequires:  apache-devel
33 Requires:       apache >= 1.3.1
34 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36 %define         _libexecdir     %{_libdir}/apache
37 %define         _htmldocdir     /home/httpd/manual/mod
38
39 %description
40 This Apache module is intended to reduce the load on your server &
41 bandwidth generated by popular virtual hosts, directories, locations,
42 or users according to supported polices (see below) that decide when
43 to delay or refuse requests. Also mod_throttle can track and throttle
44 incoming connections by IP address or by authenticated remote user.
45
46 %description -l cs
47 Balíèek mod_throttle obsahuje modul, který umo¾òuje omezit prùtok dat,
48 která odcházejí z WWW serveru Apache. Limity mohou být nastaveny pro
49 jednotlivé virtuální weby, adresáøe, umístìní nebo autentizované
50 u¾ivatele.
51
52 %description -l de
53 Mod_throttle kann verwendet werden, um die Datenmenge zu beschränken,
54 die Ihr Web-Server behandelt. Diese Einschränkungen können für
55 einzelne virtuelle Rechner, Verzeichnisse, Speicherstellen oder
56 authentifizierte Benutzer eingestellt werden.
57
58 %description -l es
59 Mod_throttle puede usarse para limitar la cantidad de datos que su
60 servidor web va a servir. Estos límites se pueden configurar para
61 hosts virtuales individuales, directorios, lug<res o usuarios
62 autenticados.
63
64 %description -l fr
65 Mod_throttle peut être utilisé pour limiter la quantité de données
66 servies par votre serveur Web. Ces limites peuvent être définies pour
67 des hôtes virtuels individuels, répertoires, emplacements ou
68 utilisateurs authentifiés.
69
70 %description -l it
71 Mod_throttle può essere usato per limitare la quantità di dati che il
72 server Web dovrà servire. Queste limitazioni possono essere
73 configurate per singoli host virtuali, directory, indirizzi o utenti
74 autenticati.
75
76 %description -l ja
77 Mod_throttle ¤Ë¤è¤Ã¤Æ Web ¥µ¡¼¥Ð¡¼¤¬½èÍý¤¹¤ë¥Ç¡¼¥¿Î̤òÀ©¸Â¤Ç¤­¤Þ¤¹
78 ¤³¤ì¤é¤ÎÀ©¸Â¤Ï¡¢¸Ä¡¹¤Î²¾ÁÛ¥Û¥¹¥È¡¢¥Ç¥£¥ì¥¯¥È¥ê¡¢¾ì½ê¡¢¤Þ¤¿¤Ï
79 ǧ¾Ú¥æ¡¼¥¶¡¼ÍѤˤĤ¤¤ÆÀßÄê¤Ç¤­¤Þ¤¹¡£
80
81 %description -l pl
82 Ten modu³ Apache ma s³u¿yæ do zmniejsszania obci±¿enia serwera i ruchu
83 generowanego przez popularne hosty wirtualne, katalogi, pliki lub
84 u¿ytkowników zgodnie z obs³ugiwanymi polisami, które decyduj± kiedy
85 opó¼niæ lub odrzuciæ zapytanie. mod_throttle mo¿e tak¿e ¶ledziæ i
86 t³umiæ po³±czenia przychodz±ce z danego adresu IP lub danego,
87 autentykuj±cego siê, u¿ytkownika.
88
89 %description -l sv
90 Mod_throttle kan användas för att begränsa mängden data som din
91 webbserver skickar. Dessa gränser kan sättas för enskilda virtuella
92 värdar, kataloger, platser eller autenticerade användare.
93
94 %prep
95 %setup -q -n mod_throttle-%{version}
96
97 %build
98 /usr/sbin/apxs -DSUEXEC_BIN="\"\\\"%{_sbindir}/suexec\\\"\"" -o mod_throttle.so -c *.c
99 # to don't bother about ssi counter inside
100 mv -f index.shtml index.html
101
102 %install
103 rm -rf $RPM_BUILD_ROOT
104 install -d $RPM_BUILD_ROOT{%{_libexecdir},%{_htmldocdir}}
105
106 install mod_throttle.so $RPM_BUILD_ROOT%{_libexecdir}
107 install *.html $RPM_BUILD_ROOT%{_htmldocdir}
108
109 gzip -9nf *.txt
110
111 %clean
112 rm -rf $RPM_BUILD_ROOT
113
114 %post
115 %{_sbindir}/apxs -e -a -n throttle %{_libexecdir}/mod_throttle.so 1>&2
116 if [ -f /var/lock/subsys/httpd ]; then
117         /etc/rc.d/init.d/httpd restart 1>&2
118 else
119         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
120 fi
121
122 %preun
123 if [ "$1" = "0" ]; then
124         %{_sbindir}/apxs -e -A -n throttle %{_libexecdir}/mod_throttle.so 1>&2
125         if [ -f /var/lock/subsys/httpd ]; then
126                 /etc/rc.d/init.d/httpd restart 1>&2
127         fi
128 fi
129
130 %files
131 %defattr(644,root,root,755)
132 %doc *.gz
133 %doc %{_htmldocdir}/index.html
134 %attr(755,root,root) %{_libexecdir}/*
This page took 0.083569 seconds and 3 git commands to generate.