]> git.pld-linux.org Git - packages/apache.git/blob - apache.spec
- metuxmpm incompatible because of API changes
[packages/apache.git] / apache.spec
1 # TODO:
2 # - distcache.spec
3 # - mod_case_filter
4 # - mod_case_filter_in
5 # - mod_optional_fn_{export,import}
6 # - mod_optional_hook_{export,import}
7 # - mod_ext_filter
8 # - mod_echo
9 # - config examples for mod_*
10 # - find smart way to deregister module if its moved from main package
11 #   to subpackage (maybe test -f ?)
12 # - add %%post/%%postun to suexec
13 # - --with-suexec-gidmin=500 or =100 ?
14 # - --with-suexec-uidmin=500 or =1000 ?
15 # - subpackages for MPMs
16 # - check if all modules (*.so) are exactly the same for different MPMs
17 # - install stage fails with distcc (make -jN)
18 # - /var/run/apache is also owned by apache1.spec, so rename it to /var/run/httpd spec here (NOTE: if you fix this also adjust apache-mod_fastcgi.spec)
19 #
20 #
21 #  /home/services/httpd/manual/convenience.map
22 #  /home/services/httpd/manual/faq/all_in_one.html.ja.euc-jp
23 #  /home/services/httpd/manual/faq/error.html.ja.euc-jp
24 #  /home/services/httpd/manual/faq/index.html.ja.euc-jp
25 #  /home/services/httpd/manual/faq/support.html.ja.euc-jp
26 #  /home/services/httpd/manual/howto/htaccess.html.pt-br
27 #  /home/services/httpd/manual/images/mod_filter_new.gif
28 #  /home/services/httpd/manual/images/mod_filter_new.png
29 #  /home/services/httpd/manual/images/mod_filter_old.gif
30 #  /home/services/httpd/manual/index.html.pt-br
31 #  /home/services/httpd/manual/mod/beos.html.de
32 #  /home/services/httpd/manual/mod/beos.html.en
33 #  /home/services/httpd/manual/mod/beos.html.es
34 #  /home/services/httpd/manual/mod/beos.html.ko.euc-kr
35 #  /home/services/httpd/manual/mod/event.html.en
36 #  /home/services/httpd/manual/mod/mod_actions.html.de
37 #  /home/services/httpd/manual/mod/mod_auth_basic.html.en
38 #  /home/services/httpd/manual/mod/mod_auth_basic.html.ja.euc-jp
39 #  /home/services/httpd/manual/mod/mod_auth_basic.html.ko.euc-kr
40 #  /home/services/httpd/manual/mod/mod_auth_digest.html.en
41 #  /home/services/httpd/manual/mod/mod_authn_alias.html.en
42 #  /home/services/httpd/manual/mod/mod_authn_anon.html.en
43 #  /home/services/httpd/manual/mod/mod_authn_anon.html.ja.euc-jp
44 #  /home/services/httpd/manual/mod/mod_authn_anon.html.ko.euc-kr
45 #  /home/services/httpd/manual/mod/mod_authn_dbd.html.en
46 #  /home/services/httpd/manual/mod/mod_authn_dbm.html.en
47 #  /home/services/httpd/manual/mod/mod_authn_dbm.html.ja.euc-jp
48 #  /home/services/httpd/manual/mod/mod_authn_dbm.html.ko.euc-kr
49 #  /home/services/httpd/manual/mod/mod_authn_default.html.en
50 #  /home/services/httpd/manual/mod/mod_authn_default.html.ja.euc-jp
51 #  /home/services/httpd/manual/mod/mod_authn_default.html.ko.euc-kr
52 #  /home/services/httpd/manual/mod/mod_authn_file.html.en
53 #  /home/services/httpd/manual/mod/mod_authn_file.html.ja.euc-jp
54 #  /home/services/httpd/manual/mod/mod_authn_file.html.ko.euc-kr
55 #  /home/services/httpd/manual/mod/mod_authnz_ldap.html.en
56 #  /home/services/httpd/manual/mod/mod_authz_dbm.html.en
57 #  /home/services/httpd/manual/mod/mod_authz_dbm.html.ko.euc-kr
58 #  /home/services/httpd/manual/mod/mod_authz_default.html.en
59 #  /home/services/httpd/manual/mod/mod_authz_default.html.ja.euc-jp
60 #  /home/services/httpd/manual/mod/mod_authz_default.html.ko.euc-kr
61 #  /home/services/httpd/manual/mod/mod_authz_groupfile.html.en
62 #  /home/services/httpd/manual/mod/mod_authz_groupfile.html.ja.euc-jp
63 #  /home/services/httpd/manual/mod/mod_authz_groupfile.html.ko.euc-kr
64 #  /home/services/httpd/manual/mod/mod_authz_host.html.en
65 #  /home/services/httpd/manual/mod/mod_authz_host.html.ja.euc-jp
66 #  /home/services/httpd/manual/mod/mod_authz_host.html.ko.euc-kr
67 #  /home/services/httpd/manual/mod/mod_authz_owner.html.en
68 #  /home/services/httpd/manual/mod/mod_authz_owner.html.ja.euc-jp
69 #  /home/services/httpd/manual/mod/mod_authz_owner.html.ko.euc-kr
70 #  /home/services/httpd/manual/mod/mod_authz_user.html.en
71 #  /home/services/httpd/manual/mod/mod_authz_user.html.ja.euc-jp
72 #  /home/services/httpd/manual/mod/mod_authz_user.html.ko.euc-kr
73 #  /home/services/httpd/manual/mod/mod_cache.html.ja.euc-jp
74 #  /home/services/httpd/manual/mod/mod_dbd.html.en
75 #  /home/services/httpd/manual/mod/mod_disk_cache.html.ja.euc-jp
76 #  /home/services/httpd/manual/mod/mod_dumpio.html.en
77 #  /home/services/httpd/manual/mod/mod_dumpio.html.ja.euc-jp
78 #  /home/services/httpd/manual/mod/mod_example.html.en
79 #  /home/services/httpd/manual/mod/mod_example.html.ko.euc-kr
80 #  /home/services/httpd/manual/mod/mod_ext_filter.html.ja.euc-jp
81 #  /home/services/httpd/manual/mod/mod_filter.html.en
82 #  /home/services/httpd/manual/mod/mod_headers.html.ja.euc-jp
83 #  /home/services/httpd/manual/mod/mod_ident.html.en
84 #  /home/services/httpd/manual/mod/mod_ident.html.ko.euc-kr
85 #  /home/services/httpd/manual/mod/mod_imagemap.html.en
86 #  /home/services/httpd/manual/mod/mod_imagemap.html.ko.euc-kr
87 #  /home/services/httpd/manual/mod/mod_isapi.html.en
88 #  /home/services/httpd/manual/mod/mod_isapi.html.ko.euc-kr
89 #  /home/services/httpd/manual/mod/mod_log_forensic.html.ja.euc-jp
90 #  /home/services/httpd/manual/mod/mod_logio.html.en
91 #  /home/services/httpd/manual/mod/mod_logio.html.ja.euc-jp
92 #  /home/services/httpd/manual/mod/mod_logio.html.ko.euc-kr
93 #  /home/services/httpd/manual/mod/mod_mem_cache.html.ja.euc-jp
94 #  /home/services/httpd/manual/mod/mod_nw_ssl.html.en
95 #  /home/services/httpd/manual/mod/mod_proxy.html.ja.euc-jp
96 #  /home/services/httpd/manual/mod/mod_proxy_ajp.html.ja.euc-jp
97 #  /home/services/httpd/manual/mod/mod_proxy_balancer.html.ja.euc-jp
98 #  /home/services/httpd/manual/mod/mod_version.html.en
99 #  /home/services/httpd/manual/mod/mod_version.html.ja.euc-jp
100 #  /home/services/httpd/manual/mod/mod_version.html.ko.euc-kr
101 #  /home/services/httpd/manual/mod/mpm_netware.html.en
102 #  /home/services/httpd/manual/mod/mpm_winnt.html.de
103 #  /home/services/httpd/manual/mod/mpm_winnt.html.en
104 #  /home/services/httpd/manual/mod/mpm_winnt.html.ja.euc-jp
105 #  /home/services/httpd/manual/mod/mpmt_os2.html.en
106 #  /home/services/httpd/manual/new_features_2_0.html.pt-br
107 #  /home/services/httpd/manual/new_features_2_2.html.pt-br
108 #  /home/services/httpd/manual/platform/ebcdic.html.en
109 #  /home/services/httpd/manual/platform/ebcdic.html.ko.euc-kr
110 #  /home/services/httpd/manual/platform/index.html.en
111 #  /home/services/httpd/manual/platform/index.html.ko.euc-kr
112 #  /home/services/httpd/manual/platform/netware.html.en
113 #  /home/services/httpd/manual/platform/netware.html.ko.euc-kr
114 #  /home/services/httpd/manual/platform/perf-hp.html.en
115 #  /home/services/httpd/manual/platform/perf-hp.html.ko.euc-kr
116 #  /home/services/httpd/manual/platform/win_compiling.html.en
117 #  /home/services/httpd/manual/platform/win_compiling.html.ko.euc-kr
118 #  /home/services/httpd/manual/platform/windows.html.en
119 #  /home/services/httpd/manual/platform/windows.html.ko.euc-kr
120 #  /home/services/httpd/manual/style/build.properties
121 #  /home/services/httpd/manual/style/common.dtd
122 #  /home/services/httpd/manual/style/faq.dtd
123 #  /home/services/httpd/manual/style/lang.dtd
124 #  /home/services/httpd/manual/style/latex/atbeginend.sty
125 #  /home/services/httpd/manual/style/latex/common.xsl
126 #  /home/services/httpd/manual/style/latex/directiveindex.xsl
127 #  /home/services/httpd/manual/style/latex/faq.xsl
128 #  /home/services/httpd/manual/style/latex/html.xsl
129 #  /home/services/httpd/manual/style/latex/latex.xsl
130 #  /home/services/httpd/manual/style/latex/manualpage.xsl
131 #  /home/services/httpd/manual/style/latex/moduleindex.xsl
132 #  /home/services/httpd/manual/style/latex/quickreference.xsl
133 #  /home/services/httpd/manual/style/latex/synopsis.xsl
134 #  /home/services/httpd/manual/style/manual.de.xsl
135 #  /home/services/httpd/manual/style/manual.en.xsl
136 #  /home/services/httpd/manual/style/manual.es.xsl
137 #  /home/services/httpd/manual/style/manual.fr.xsl
138 #  /home/services/httpd/manual/style/manual.ja.xsl
139 #  /home/services/httpd/manual/style/manual.ko.xsl
140 #  /home/services/httpd/manual/style/manual.pt-br.xsl
141 #  /home/services/httpd/manual/style/manual.ru.xsl
142 #  /home/services/httpd/manual/style/manualpage.dtd
143 #  /home/services/httpd/manual/style/modulesynopsis.dtd
144 #  /home/services/httpd/manual/style/sitemap.dtd
145 #  /home/services/httpd/manual/style/version.ent
146 #  /home/services/httpd/manual/style/xsl/common.xsl
147 #  /home/services/httpd/manual/style/xsl/convmap.xsl
148 #  /home/services/httpd/manual/style/xsl/directiveindex.xsl
149 #  /home/services/httpd/manual/style/xsl/faq.xsl
150 #  /home/services/httpd/manual/style/xsl/hhc.xsl
151 #  /home/services/httpd/manual/style/xsl/hhp.xsl
152 #  /home/services/httpd/manual/style/xsl/indexpage.xsl
153 #  /home/services/httpd/manual/style/xsl/language.xsl
154 #  /home/services/httpd/manual/style/xsl/maf.xsl
155 #  /home/services/httpd/manual/style/xsl/manualpage.xsl
156 #  /home/services/httpd/manual/style/xsl/moduleindex.xsl
157 #  /home/services/httpd/manual/style/xsl/nroff.xsl
158 #  /home/services/httpd/manual/style/xsl/quickreference.xsl
159 #  /home/services/httpd/manual/style/xsl/sitemap.xsl
160 #  /home/services/httpd/manual/style/xsl/synopsis.xsl
161 #  /home/services/httpd/manual/style/xsl/typemap.xsl
162 #  /home/services/httpd/manual/style/xsl/util/modtrans.xsl
163 #  /home/services/httpd/manual/upgrading.html.pt-br
164 #  /home/services/httpd/manual/vhosts/details.html.fr
165 #  /home/services/httpd/manual/vhosts/examples.html.fr
166 #  /home/services/httpd/manual/vhosts/fd-limits.html.fr
167 #  /home/services/httpd/manual/vhosts/index.html.fr
168 #  /home/services/httpd/manual/vhosts/ip-based.html.fr
169 #  /home/services/httpd/manual/vhosts/name-based.html.fr
170 #  /usr/lib64/apache/build/config.nice
171 #  /usr/lib64/apache/mod_auth_basic.so
172 #  /usr/lib64/apache/mod_authn_alias.so
173 #  /usr/lib64/apache/mod_authn_anon.so
174 #  /usr/lib64/apache/mod_authn_dbd.so
175 #  /usr/lib64/apache/mod_authn_dbm.so
176 #  /usr/lib64/apache/mod_authn_default.so
177 #  /usr/lib64/apache/mod_authn_file.so
178 #  /usr/lib64/apache/mod_authnz_ldap.so
179 #  /usr/lib64/apache/mod_authz_dbm.so
180 #  /usr/lib64/apache/mod_authz_default.so
181 #  /usr/lib64/apache/mod_authz_groupfile.so
182 #  /usr/lib64/apache/mod_authz_host.so
183 #  /usr/lib64/apache/mod_authz_owner.so
184 #  /usr/lib64/apache/mod_authz_user.so
185 #  /usr/lib64/apache/mod_bucketeer.so
186 #  /usr/lib64/apache/mod_dbd.so
187 #  /usr/lib64/apache/mod_dumpio.so
188 #  /usr/lib64/apache/mod_filter.so
189 #  /usr/lib64/apache/mod_ident.so
190 #  /usr/lib64/apache/mod_imagemap.so
191 #  /usr/lib64/apache/mod_logio.so
192 #  /usr/lib64/apache/mod_version.so
193 #  /usr/sbin/htcacheclean
194 #  /usr/sbin/httxt2dbm
195 #  /usr/share/man/man8/htcacheclean.8.gz
196
197 #
198 # Conditional build:
199 %bcond_without  ssl             # build without SSL support
200 %bcond_without  ldap            # build without LDAP support
201 %bcond_with     metuxmpm
202 %bcond_without  peruser
203 %bcond_with     distcache
204 #
205 %include        /usr/lib/rpm/macros.perl
206 # this is internal macro, don't change to %%apache_modules_api
207 %define         _apache_modules_api 20051115
208 Summary:        The most widely used Web server on the Internet
209 Summary(de):    Leading World Wide Web-Server
210 Summary(es):    Servidor HTTPD para proveer servicios WWW
211 Summary(fr):    Le serveur web le plus utilise sur Internet
212 Summary(pl):    Serwer WWW (World Wide Web)
213 Summary(pt_BR): Servidor HTTPD para prover serviços WWW
214 Summary(ru):    óÁÍÙÊ ÐÏÐÕÌÑÒÎÙÊ ×ÅÂ-ÓÅÒ×ÅÒ
215 Summary(tr):    Lider WWW tarayýcý
216 Name:           apache
217 Version:        2.2.0
218 Release:        0.1
219 License:        Apache Group License
220 Group:          Networking/Daemons
221 Source0:        http://www.apache.org/dist/httpd/httpd-%{version}.tar.gz
222 # Source0-md5:  760aecf26a071e15141170636af43456
223 Source1:        %{name}.init
224 Source2:        %{name}.logrotate
225 Source3:        %{name}-icons.tar.gz
226 # Source3-md5:  2b085cbc19fd28536dc883f0b864cd83
227 Source4:        %{name}.sysconfig
228 Source5:        %{name}.monitrc
229 Source6:        %{name}-httpd.conf
230 Source8:        %{name}-mod_vhost_alias.conf
231 Source9:        %{name}-mod_status.conf
232 Source10:       %{name}-mod_proxy.conf
233 Source11:       %{name}-mod_info.conf
234 Source12:       %{name}-mod_ssl.conf
235 Source13:       %{name}-mod_dav.conf
236 Source14:       %{name}-mod_dir.conf
237 Source15:       %{name}-mod_suexec.conf
238 Source16:       %{name}-mod_deflate.conf
239 Source17:       %{name}-mod_autoindex.conf
240 Source20:       %{name}-server.crt
241 Source21:       %{name}-server.key
242 Patch0:         %{name}-configdir_skip_backups.patch
243 Patch1:         %{name}-layout.patch
244 Patch2:         %{name}-suexec.patch
245 Patch4:         %{name}-apr.patch
246 # project homepage http://www.metux.de/mpm/en/?patpage=index
247 # http://www.sannes.org/metuxmpm/
248 Patch5:         httpd-2.0.48-metuxmpm-r8.patch
249 # what about this? it isn't applied...
250 Patch6:         httpd-2.0.40-xfsz.patch
251 Patch8:         httpd-2.0.45-encode.patch
252 Patch10:        httpd-2.0.46-dav401dest.patch
253 Patch12:        httpd-2.0.46-sslmutex.patch
254 Patch14:        httpd-2.0.48-corelimit.patch
255 Patch15:        httpd-2.0.48-debuglog.patch
256 Patch18:        %{name}-v6only-ENOPROTOOPT.patch
257 Patch19:        %{name}-conffile-path.patch
258 Patch20:        %{name}-apxs.patch
259 # http://www.telana.com/peruser.php
260 Patch21:        httpd-2.0.52-peruser-0.1.6.patch
261 URL:            http://httpd.apache.org/
262 BuildRequires:  automake
263 BuildRequires:  apr-devel >= 1:1.0.0
264 BuildRequires:  apr-util-devel >= 1:1.0.0
265 BuildRequires:  db-devel
266 %{?with_distcache:BuildRequires:        distcache-libs-devel or distcache-devel}
267 BuildRequires:  expat-devel
268 BuildRequires:  gdbm-devel >= 1.8.3
269 BuildRequires:  libtool >= 2:1.5
270 %{?with_ldap:BuildRequires:     openldap-devel}
271 %{?with_ssl:BuildRequires:      openssl-devel >= 0.9.7d}
272 %{?with_ssl:BuildRequires:      openssl-tools >= 0.9.7d}
273 BuildRequires:  pcre-devel
274 BuildRequires:  perl-devel >= 1:5.6
275 BuildRequires:  rpm-build >= 4.4.0
276 BuildRequires:  rpm-perlprov >= 4.1-13
277 BuildRequires:  rpmbuild(macros) >= 1.228
278 BuildRequires:  zlib-devel
279 PreReq:         perl-base
280 PreReq:         rc-scripts >= 0.4.0.15
281 Requires(pre):  /bin/id
282 Requires(pre):  /usr/bin/getgid
283 Requires(pre):  /usr/sbin/groupadd
284 Requires(pre):  /usr/sbin/useradd
285 Requires(postun):       /usr/sbin/userdel
286 Requires(postun):       /usr/sbin/groupdel
287 Requires(post,preun):   /sbin/chkconfig
288 Requires(post): fileutils
289 Requires:       /sbin/chkconfig
290 Requires:       /etc/mime.types
291 Requires:       apr >= 1:1.0.0-2
292 Requires:       mailcap
293 Requires:       psmisc >= 20.1
294 Provides:       apache(modules-api) = %{_apache_modules_api}
295 #Provides:      apache(mod_access)
296 Provides:       apache(mod_alias)
297 Provides:       apache(mod_asis)
298 Provides:       apache(mod_autoindex)
299 Provides:       apache(mod_cern_meta)
300 Provides:       apache(mod_cgi)
301 Provides:       apache(mod_env)
302 Provides:       apache(mod_include)
303 Provides:       apache(mod_log_config)
304 Provides:       apache(mod_mime)
305 Provides:       apache(mod_mime_magic)
306 Provides:       apache(mod_negotiation)
307 Provides:       apache(mod_setenvif)
308 Provides:       apache(mod_speling)
309 Provides:       apache(mod_userdir)
310 Provides:       group(http)
311 Provides:       httpd = %{version}
312 Provides:       user(http)
313 Provides:       webserver = apache
314 Obsoletes:      apache-extra
315 Obsoletes:      apache6
316 # for the posttrans scriptlet, conflicts because in vserver environment rpm package is not installed.
317 Conflicts:      rpm < 4.4.2-0.2
318 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
319
320 %define         _sysconfdir     /etc/httpd
321 %define         _includedir     %{_prefix}/include/apache
322 %define         _datadir        /home/services/httpd
323 %define         _libexecdir     %{_libdir}/apache
324 %define         _cgibindir      %{_prefix}/lib/cgi-bin/%{name}
325
326 %description
327 Apache is a powerful, full-featured, efficient and freely-available
328 Web server. Apache is also the most popular Web server on the
329 Internet.
330
331 %description -l de
332 Apache ist ein voll funktionsfähiger Web-Server, der kostenlos
333 erhältlich und weit verbreitet ist.
334
335 %description -l es
336 El servidor web Apache es el mejor servidor gratuito disponible en el
337 mundo UNIX hoy. Usa HTTP (HyperText Transfer Protocol) para permitir
338 que navegadores vean documentos y sometan datos remotamente. Puede
339 ejecutar varias funciones diferentes, incluyendo funciones de proxy y
340 caché, y nos ofrece características como monitor de estado, conversión
341 dinámica de tipo, y otras más.
342
343 %description -l fr
344 Apache est un serveur Web puissant, efficace, gratuit et complet.
345 Apache est aussi le serveur Web le plus populaire sur Internet.
346
347 %description -l pl
348 Apache jest serwerem WWW (World Wide Web). Instaluj±c ten pakiet
349 bêdziesz móg³ prezentowaæ w³asne strony WWW w sieci Internet.
350
351 %description -l pt_BR
352 O servidor web Apache é o melhor servidor gratuito disponível no mundo
353 UNIX hoje. Ele usa HTTP (HyperText Transfer Protocol) para permitir
354 que browsers web vejam documentos e submetam dados remotamente. Ele
355 pode executar várias funções diferentes, incluindo funções de proxy e
356 cache, e oferece características como monitor de status, conversão
357 dinâmica de tipo, e mais.
358
359 %description -l ru
360 Apache - ÍÏÝÎÙÊ, ÆÕÎËÃÉÏÎÁÌØÎÙÊ, ×ÙÓÏËÏÐÒÏÉÚ×ÏÄÉÔÅÌØÎÙÊ É Ó×ÏÂÏÄÎÏ
361 ÒÁÓÐÒÏÓÔÒÁÎÑÅÍÙÊ ×ÅÂ-ÓÅÒ×ÅÒ.
362
363 %description -l tr
364 Apache serbest daðýtýlan ve çok kullanýlan yetenekli bir web
365 sunucusudur.
366
367 %package suexec
368 Summary:        Apache suexec wrapper
369 Summary(pl):    Wrapper suexec do serwera WWW Apache
370 Group:          Networking/Daemons
371 Requires:       %{name} = %{version}-%{release}
372
373 %description suexec
374 The suEXEC feature provides Apache users the ability to run CGI and
375 SSI programs under user IDs different from the user ID of the calling
376 web-server. Normally, when a CGI or SSI program executes, it runs as
377 the same user who is running the web server.
378
379 %description suexec -l pl
380 SuEXEC umo¿liwia serwerowi Apache uruchamianie programów CGI i SSI z
381 innym UID ni¿ wywo³uj±cy je serwer. Normalnie programy CGI i SSI s±
382 wykonywane jako taki sam u¿ytkownik jak serwer WWW.
383
384 %package index
385 Summary:        Apache index.html* files
386 Summary(pl):    Pliki Apache index.html*
387 Group:          Documentation
388 Requires:       %{name} = %{version}-%{release}
389 Obsoletes:      indexhtml
390
391 %description index
392 Apache index.html* files.
393
394 %description index -l pl
395 Pliki index.html* Apache'a.
396
397 %package doc
398 Summary:        Apache manual
399 Summary(pl):    Podrêcznik Apache'a
400 Group:          Documentation
401 Requires:       %{name} = %{version}-%{release}
402
403 %description doc
404 Apache manual.
405
406 %description doc -l pl
407 Podrêcznik Apache'a.
408
409 %package apxs
410 Summary:        APache eXtenSion tool
411 Summary(pl):    Narzêdzie do rozszerzania Apache'a
412 Group:          Development/Tools
413
414 %description apxs
415 APache eXtenSion tool.
416
417 %description apxs -l pl
418 Narzêdzie do rozszerzania Apache'a.
419
420 %package devel
421 Summary:        Module development tools for the Apache web server
422 Summary(es):    Archivos de inclusión del Apache para desarrollo de módulos
423 Summary(fr):    Les outils de developpement de modules pour le serveur web Apache
424 Summary(pl):    Pliki nag³ówkowe do tworzenia modu³ów rozszerzeñ do serwera WWW Apache
425 Summary(pt_BR): Arquivos de inclusão do Apache para desenvolvimento de módulos
426 Summary(ru):    óÒÅÄÓÔ×Á ÒÁÚÒÁÂÏÔËÉ ÍÏÄÕÌÅÊ ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache
427 Group:          Networking/Utilities
428 Requires:       %{name}-apxs = %{version}-%{release}
429 Requires:       apr-util-devel >= 1:1.0.0
430 Requires:       libtool
431 Obsoletes:      apache-static
432
433 %description devel
434 The apache-devel package contains header files for Apache.
435
436 %description devel -l es
437 Este paquete contiene los archivos de inclusión para el Apache, bien
438 como el utilitario apxs para la construcción de objetos compartidos
439 dinámicos (DSOs). Ha ce falta instalar este paquete si deseas compilar
440 o desarrollar módulos adicionales para Apache.
441
442 %description devel -l fr
443 Le package apache-devel contient le code source pour le serveur Web
444 Apache et le binaire APXS dont vous aurez besoin pour construire des
445 Objets Dynamiques Partages (DSOs) pour Apache.
446
447 %description devel -l pl
448 Pliki nag³ówkowe i inne zasoby niezbêdne przy budowaniu modu³ów DSO
449 (Dynamic Shared Objects) dla Apache'a.
450
451 %description devel -l ru
452 óÒÅÄÓÔ×Á ÒÁÚÒÁÂÏÔËÉ ÍÏÄÕÌÅÊ ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache.
453
454 %description devel -l pt_BR
455 Este pacote contem os arquivos de inclusão para o Apache, bem como o
456 utilitário apxs para a construção de objetos compartilhados dinâmicos
457 (DSOs). Este pacote precisa ser instalado se você deseja compilar ou
458 desenvolver módulos adicionais para o Apache.
459
460 %package mod_actions
461 Summary:        Apache module for run CGI whenever a file of a certain type is requested
462 Summary(pl):    Modu³ Apache'a do uruchamiania skryptów CGI
463 Group:          Networking/Daemons
464 Provides:       apache(mod_actions) = %{version}-%{release}
465 Requires:       %{name} = %{version}-%{release}
466
467 %description mod_actions
468 This package contains mod_actions module. This module lets you run CGI
469 scripts whenever a file of a certain type is requested. This makes it
470 much easier to execute scripts that process files.
471
472 %description mod_actions -l pl
473 Ten modu³ pozwala na uruchamianie skryptów w momencie gdy nadchodzi
474 ¿±danie pobrania pliku okre¶lonego typu.
475
476 %package mod_auth
477 Summary:        Apache module with user authentication using textual files
478 Summary(pl):    Modu³ Apache'a identyfikuj±cy u¿ytkowników na podstawie plików tekstowych
479 Group:          Networking/Daemons
480 Provides:       apache(mod_auth) = %{version}-%{release}
481 Requires:       %{name} = %{version}-%{release}
482 Requires:       htpasswd
483
484 %description mod_auth
485 This package contains mod_auth module. It provides for user
486 authentication using textual files.
487
488 %description mod_auth -l pl
489 Ten pakiet zawiera modu³ mod_auth. S³u¿y on do sprawdzania to¿samo¶ci
490 u¿ytkowników na podstawie plików tekstowych.
491
492 %package mod_auth_anon
493 Summary:        Apache module with "anonymous" user access authentication
494 Summary(pl):    Modu³ Apache'a oferuj±cy autoryzacjê u¿ytkownika "anonimowego"
495 Group:          Networking/Daemons
496 Provides:       apache(mod_auth_anon) = %{version}-%{release}
497 Requires:       %{name} = %{version}-%{release}
498
499 %description mod_auth_anon
500 This package contains mod_auth_anon module. It allows "anonymous" user
501 access to authenticated areas. It does access control in a manner
502 similar to anonymous FTP sites; i.e. have a 'magic' user id
503 'anonymous' and the email address as a password. These email addresses
504 can be logged. Combined with other (database) access control methods,
505 this allows for effective user tracking and customization according to
506 a user profile while still keeping the site open for 'unregistered'
507 users. One advantage of using Auth-based user tracking is that, unlike
508 magic-cookies and funny URL pre/postfixes, it is completely browser
509 independent and it allows users to share URLs.
510
511 %description mod_auth_anon -l pl
512 Ten modu³ oferuje autoryzacjê u¿ytkownika "anonimowego" podobnie do
513 anonimowych serwerów FTP (u¿ytkownik "anonymous" oraz has³o w postaci
514 adresu pocztowego u¿ytkownika).
515
516 %package mod_auth_ldap
517 Summary:        Apache module with LDAP user access authentication
518 Summary(pl):    Modu³ Apache'a oferuj±cy autoryzacjê u¿ytkowników poprzez LDAP
519 Group:          Networking/Daemons
520 Provides:       apache(mod_auth_ldap) = %{version}-%{release}
521 Requires:       %{name} = %{version}-%{release}
522 Requires:       %{name}-mod_ldap = %{version}-%{release}
523
524 %description mod_auth_ldap
525 Apache module with LDAP user access authentication.
526
527 %description mod_auth_ldap -l pl
528 Modu³ Apache'a oferuj±cy autoryzacjê u¿ytkowników poprzez LDAP.
529
530 %package mod_auth_dbm
531 Summary:        Apache module with user authentication which uses DBM files
532 Summary(pl):    Modu³ Apache'a z mechanizmem identyfikacji korzystaj±cym z plików DBM
533 Group:          Networking/Daemons
534 Obsoletes:      apache-mod_auth_db
535 Provides:       apache(mod_auth_dbm) = %{version}-%{release}
536 Requires:       %{name} = %{version}-%{release}
537
538 %description mod_auth_dbm
539 This module provides for HTTP Basic Authentication, where the
540 usernames and passwords are stored in DBM type database files. It is
541 an alternative to the plain text password files provided by mod_auth.
542
543 %description mod_auth_dbm -l pl
544 Ten modu³ udostêpnia Prost± Autoryzacjê HTTP, gdzie u¿ytkownicy oraz
545 ich has³a s± trzymane w plikach bazy typu DBM.
546
547 %package mod_auth_digest
548 Summary:        Apache user authentication module using MD5 Digest Authentication
549 Summary(pl):    Modu³ Apache'a do autoryzacji MD5
550 Group:          Networking/Daemons
551 Obsoletes:      apache-mod_digest
552 Provides:       apache(mod_auth_digest) = %{version}-%{release}
553 Requires:       %{name} = %{version}-%{release}
554
555 %description mod_auth_digest
556 This package contains mod_digest module. It provides user
557 authentication using MD5 Digest Authentication.
558
559 %description mod_auth_digest -l pl
560 Modu³ ten dostarcza metodê autoryzacji bazuj±c± na MD5 Digest
561 Authentication.
562
563 %package mod_autoindex
564 Summary:        Apache module - display index of files
565 Summary(pl):    Modu³ apache do wy¶wietlania indeksu plików
566 Group:          Networking/Daemons
567 Provides:       apache(mod_autoindex) = %{version}-%{release}
568 Requires:       %{name} = %{version}-%{release}
569
570 %description mod_autoindex
571 This package contains mod_autoindex module. It provides
572 generation index of files.
573
574 %description mod_autoindex -l pl
575 Ten pakiet dostarcza modu³ autoindex, który generuje indeks plików.
576
577 %package mod_cache
578 Summary:        Content cache keyed to URIs
579 Summary(pl):    Pamiêæ podrêczna wg klucza URI
580 Group:          Networking/Daemons
581 Provides:       apache(mod_cache) = %{version}-%{release}
582 Requires:       %{name} = %{version}-%{release}
583
584 %description mod_cache
585 mod_cache implements an RFC 2616 compliant HTTP content cache that can
586 be used to cache either local or proxied content. Two storage
587 management modules are included in the base Apache distribution:
588 mod_disk_cache implements a disk based storage manager (generally used
589 for proxy caching) and mod_mem_cache implements an in-memory based
590 storage manager (primarily useful for caching local content).
591
592 %description mod_cache -l pl
593 Implementacja zgodnej z RFC 2616 pamiêci podrêcznej, która mo¿e byæ
594 u¿ywana do zapamiêtywania zawarto¶ci lokalnej lub dostêpnej przez
595 proxy. Do³±czono dwa modu³y pozwalaj±ce magazynowaæ dane w pamiêci
596 (g³ównie u¿yteczne przy cache'owaniu lokalnej zawarto¶ci) oraz na
597 dysku (u¿ywane do cache'owania proxy).
598
599 %package mod_cgid
600 Summary:        Execution of CGI scripts using an external CGI daemon
601 Summary(pl):    Uruchamianie zewnêtrznych skryptów CGI za pomoc± daemona CGI
602 Group:          Networking/Daemons
603 Provides:       apache(mod_cgid) = %{version}-%{release}
604 Requires:       %{name} = %{version}-%{release}
605
606 %description mod_cgid
607 Execution of CGI scripts using an external CGI daemon.
608
609 %description mod_cgid -l pl
610 Uruchamianie zewnêtrznych skryptów CGI za pomoc± demona CGI.
611
612 %package mod_charset_lite
613 Summary:        Specify character set translation or recoding
614 Summary(pl):    Translacja lub przekodowywanie znaków
615 Group:          Networking/Daemons
616 Provides:       apache(mod_charset_lite) = %{version}-%{release}
617 Requires:       %{name} = %{version}-%{release}
618
619 %description mod_charset_lite
620 Specify character set translation or recoding.
621
622 %description mod_charset_lite -l pl
623 Translacja lub przekodowywanie znaków.
624
625 %package mod_dav
626 Summary:        Apache module - Distributed Authoring and Versioning
627 Summary(pl):    Modu³ Apache'a - rozproszone autorstwo i wersjonowanie
628 Group:          Networking/Daemons
629 Provides:       apache(mod_dav) = %{version}-%{release}
630 Requires:       %{name} = %{version}-%{release}
631
632 %description mod_dav
633 This module provides class 1 and class 2 WebDAV ('Web-based
634 Distributed Authoring and Versioning') functionality for Apache. This
635 extension to the HTTP protocol allows creating, moving, copying, and
636 deleting resources and collections on a remote web server.
637
638 %description mod_dav -l pl
639 Modu³ udostêpnia klasê 1 oraz klasê 2 WebDAV (Bazuj±cego na WWW
640 rozproszonego autorstwa i wersjonowania). To rozszerzenie HTTP pozwala
641 na tworzenie, przesuwanie, kopiowanie oraz kasowanie zasobów na
642 zdalnym serwerze WWW.
643
644 %package mod_deflate
645 Summary:        Apache module: Compress content before it is delivered to the client
646 Summary(pl):    Modu³ Apache'a kompresuj±cy dane przed przes³aniem ich do klienta
647 Group:          Networking/Daemons
648 Provides:       apache(mod_deflate) = %{version}-%{release}
649 Requires:       %{name} = %{version}-%{release}
650 Requires:       %{name}-mod_headers = %{version}-%{release}
651
652 %description mod_deflate
653 Compress content before it is delivered to the client.
654
655 %description mod_deflate -l pl
656 Modu³ kompresuj±cy dane przed przes³aniem ich do klienta.
657
658 %package mod_dir
659 Summary:        Apache module for "trailing slash" redirects and serving directory index files
660 Summary(pl):    Modu³ Apache'a oferuj±cy przekierowania i udostêpnianie informacji o zawarto¶ci katalogu
661 Group:          Networking/Daemons
662 Provides:       apache(mod_dir) = %{version}-%{release}
663 Requires:       %{name} = %{version}-%{release}
664
665 %description mod_dir
666 This package contains mod_dir which provides "trailing slash"
667 redirects and serving directory index files.
668
669 %description mod_dir -l pl
670 Modu³ oferuj±cy przekierowania i udostêpnianie informacji o zawarto¶ci
671 katalogu.
672
673 %package mod_headers
674 Summary:        Apache module allows for the customization of HTTP response headers
675 Summary(pl):    Modu³ Apache'a pozwalaj±cy na modyfikacjê nag³ówków HTTP
676 Group:          Networking/Daemons
677 Provides:       apache(mod_headers) = %{version}-%{release}
678 Requires:       %{name} = %{version}-%{release}
679
680 %description mod_headers
681 This package contains mod_headers module. The module allows for the
682 customization of HTTP response headers. Headers can be merged,
683 replaced or removed.
684
685 %description mod_headers -l pl
686 Modu³ pozwalaj±cy na ³±czenie, usuwanie oraz zamianê nag³ówków HTTP
687 wysy³anych do przegl±darki.
688
689 %package mod_imap
690 Summary:        Apache module with imap-file handler
691 Summary(pl):    Modu³ Apache'a z obs³ug± imap-file
692 Group:          Networking/Daemons
693 Provides:       apache(mod_imap) = %{version}-%{release}
694 Requires:       %{name} = %{version}-%{release}
695
696 %description mod_imap
697 This package contains mod_imap module. It provides for .map files,
698 replacing the functionality of the imagemap CGI program. Any directory
699 or document type configured to use the handler imap-file.
700
701 %description mod_imap -l pl
702 Modu³ umo¿liwiaj±cy obs³ugê plików .map (imap-file handler).
703
704 %package mod_info
705 Summary:        Apache module with comprehensive overview of the server configuration
706 Summary(pl):    Modu³ Apache'a udostêpniaj±cy informacje o serwerze
707 Group:          Networking/Daemons
708 Provides:       apache(mod_info) = %{version}-%{release}
709 Requires:       %{name} = %{version}-%{release}
710
711 %description mod_info
712 This package contains mod_info module. It provides a comprehensive
713 overview of the server configuration including all installed modules
714 and directives in the configuration files.
715
716 %description mod_info -l pl
717 Modu³ udostêpniaj±cy informacje o konfiguracji serwera,
718 zainstalowanych modu³ach itp.
719
720 %package mod_ldap
721 Summary:        Apache module to use LDAP connections
722 Summary(pl):    Modu³ Apache'a umo¿liwiaj±cy korzystanie z po³±czeñ LDAP
723 Group:          Networking/Daemons
724 Provides:       apache(mod_ldap) = %{version}-%{release}
725 Requires:       %{name} = %{version}-%{release}
726
727 %description mod_ldap
728 Apache module to use LDAP connections.
729
730 %description mod_ldap -l pl
731 Modu³ Apache'a umo¿liwiaj±cy korzystanie z po³±czeñ LDAP.
732
733 %package mod_proxy
734 Summary:        Apache module with Web proxy
735 Summary(pl):    Modu³ Apache'a dodaj±cy obs³ugê serwera proxy
736 Group:          Networking/Daemons
737 Provides:       apache(mod_proxy) = %{version}-%{release}
738 Requires:       %{name} = %{version}-%{release}
739
740 %description mod_proxy
741 This package contains module with implementation a proxy/cache for
742 Apache. It implements proxying capability for FTP, CONNECT (for SSL),
743 HTTP/0.9, HTTP/1.0 and HTTP/1.1. The module can be configured to
744 connect to other proxy modules for these and other protocols.
745
746 %description mod_proxy -l pl
747 Modu³ zawiera implementacjê serwera proxy/cache dla Apache.
748 Implementacja zawiera obs³ugê FTP, CONNECT (dla SSL), HTTP/0.9,
749 HTTP/1.0 i HTTP/1.1.
750
751 %package mod_rewrite
752 Summary:        Apache module with rule-based engine for rewrite requested URLs on the fly
753 Summary(pl):    Modu³ Apache'a do "przepisywania" adresów URL w locie
754 Group:          Networking/Daemons
755 Provides:       apache(mod_rewrite) = %{version}-%{release}
756 Requires:       %{name} = %{version}-%{release}
757
758 %description mod_rewrite
759 This package contains It provides a rule-based rewriting engine to
760 rewrite requested URLs on the fly.
761
762 %description mod_rewrite -l pl
763 Modu³ oferuj±cy mo¿liwo¶æ "przepisywania" adresów URL w locie.
764
765 %package mod_ssl
766 Summary:        SSL/TLS module for the Apache HTTP server
767 Summary(pl):    Modu³ SSL/TSL dla serwera Apache
768 Summary(ru):    íÏÄÕÌØ SSL/TLS ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache
769 Group:          Networking/Daemons
770 Epoch:          1
771 Provides:       apache(mod_ssl) = 1:%{version}-%{release}
772 Requires:       %{name} = %{version}-%{release}
773
774 %description mod_ssl
775 The mod_ssl module provides strong cryptography for the Apache Web
776 server via the Secure Sockets Layer (SSL) and Transport Layer Security
777 (TLS) protocols.
778
779 %description mod_ssl -l pl
780 Modu³ mod_ssl udostêpnia wsparcie do silnej kryptografii dla serwera
781 Apache poprzez protoko³y SSL/TSL (Secure Sockets Layer/Transport Layer
782 Security).
783
784 %description mod_ssl -l ru
785 íÏÄÕÌØ mod_ssl ÏÂÅÓÐÅÞÉ×ÁÅÔ ÐÏÄÄÅÒÖËÕ × ×ÅÂ-ÓÅÒ×ÅÒÅ Apache ÎÁÄÅÖÎÏÇÏ
786 ÛÉÆÒÏ×ÁÎÉÑ ÓÒÅÄÓÔ×ÁÍÉ Secure Sockets Layer (SSL) É Transport Layer
787
788 %package mod_status
789 Summary:        Server status report module for Apache
790 Summary(pl):    Modu³ udostêpniaj±cy informacje statystyczne z serwera Apache
791 Group:          Networking/Daemons
792 Provides:       apache(mod_status) = %{version}-%{release}
793 Requires:       %{name} = %{version}-%{release}
794
795 %description mod_status
796 The Status module allows a server administrator to find out how well
797 their server is performing. A HTML page is presented that gives the
798 current server statistics in an easily readable form. If required this
799 page can be made to automatically refresh (given a compatible
800 browser).
801
802 %description mod_status -l pl
803 Modu³ pozwala administratorowi na przegl±danie statystyk dotycz±cych
804 pracy serwera Apache (w postaci strony HTML).
805
806 %package mod_usertrack
807 Summary:        Apache module for user tracking using cookies
808 Summary(pl):    Modu³ Apache'a s³u¿±cy do ¶ledzenia "ciasteczek"
809 Group:          Networking/Daemons
810 Provides:       apache(mod_usertrack) = %{version}-%{release}
811 Requires:       %{name} = %{version}-%{release}
812
813 %description mod_usertrack
814 This package contains the user tracking module which did its own
815 logging using CookieLog directory. This module allow multiple log
816 files.
817
818 %description mod_usertrack -l pl
819 Modu³ pozwalaj±cy na ¶ledzenie "ciasteczek".
820
821 %package mod_vhost_alias
822 Summary:        Apache module for dynamically configured mass virtual hosting
823 Summary(pl):    Modu³ Apache'a dodaj±cy obs³ugê hostów wirtualnych
824 Group:          Networking/Daemons
825 Provides:       apache(mod_vhost_alias) = %{version}-%{release}
826 Requires:       %{name} = %{version}-%{release}
827
828 %description mod_vhost_alias
829 This package contains the mod_vhost_alias. It provides support for
830 dynamically configured mass virtual hosting.
831
832 %description mod_vhost_alias -l pl
833 Modu³ umo¿liwia na dynamiczne konfigurowanie masowej ilo¶ci serwerów
834 wirtualnych.
835
836 %package mod_unique_id
837 Summary:        Apache module which provides a magic token for each request
838 Summary(pl):    Modu³ Apache'a nadaj±cy ka¿demu zapytaniu unikalny token
839 Group:          Networking/Daemons
840 Provides:       apache(mod_unique_id) = %{version}-%{release}
841 Requires:       %{name} = %{version}-%{release}
842
843 %description mod_unique_id
844 This package contains the mod_unique_id. This module provides a magic
845 token for each request which is guaranteed to be unique across "all"
846 requests under very specific conditions. The unique identifier is even
847 unique across multiple machines in a properly configured cluster of
848 machines. The environment variable UNIQUE_ID is set to the identifier
849 for each request. Unique identifiers are useful for various reasons
850 which are beyond the scope of this document.
851
852 %description mod_unique_id -l pl
853 Modu³ nadaje ka¿demu zapytaniu token unikalny w ramach wszystkich
854 zapytañ, nawet w ramach poprawnie skonfigurowanego klastra z wielu
855 maszyn. Modu³ ustawia przy ka¿dym zapytaniu zmienn± ¶rodowiskow±
856 UNIQUE_ID.
857
858 %package mod_expires
859 Summary:        Apache module which generates Expires HTTP headers
860 Summary(pl):    Modu³ Apache'a generuj±cy nag³ówki HTTP Expires
861 Group:          Networking/Daemons
862 Provides:       apache(mod_expires) = %{version}-%{release}
863 Requires:       %{name} = %{version}-%{release}
864
865 %description mod_expires
866 This module controls the setting of the Expires HTTP header in server
867 responses. The expiration date can set to be relative to either the
868 time the source file was last modified, or to the time of the client
869 access.
870
871 %description mod_expires -l pl
872 Modu³ kontroluje ustawianie nag³ówka HTTP Expires. Data wyga¶niêcia
873 wa¿no¶ci mo¿e byæ ustalana w zale¿no¶ci od czasu modyfikacji plików
874 ¼ród³owych lub odwo³ania klienta.
875
876 %package mod_file_cache
877 Summary:        Apache module: caches a static list of files in memory
878 Summary(pl):    Modu³ Apache'a cache'uj±cy statyczn± listê plików w pamiêci
879 Group:          Networking/Daemons
880 Obsoletes:      apache-mmap_static
881 Provides:       apache(mod_file_cache) = %{version}-%{release}
882 Requires:       %{name} = %{version}-%{release}
883
884 %description mod_file_cache
885 Caches a static list of files in memory.
886
887 %description mod_file_cache -l pl
888 Modu³ cache'uj±cy statyczn± listê plików w pamiêci.
889
890 %package -n htpasswd-%{name}
891 Summary:        Apache 2 htpasswd utility: manage user files for basic authentication
892 Summary(pl):    Narzêdzie htpasswd z Apache'a 2 do zarz±dzania plikami uwierzytelnienia basic
893 Group:          Networking/Utilities
894 Provides:       htpasswd
895 Obsoletes:      htpasswd
896
897 %description -n htpasswd-%{name}
898 htpasswd is used to create and update the flat-files used to store
899 usernames and password for basic authentication of HTTP users. This
900 package contains htpasswd from Apache 2; this version supports
901 plaintext passwords and CRYPT (default), MD5 and SHA1 encryptions.
902
903 %description -n htpasswd-%{name} -l pl
904 htpasswd s³u¿y do tworzenia i uaktualniania plików tekstowych
905 s³u¿±cych do przechowywania nazw u¿ytkowników i hase³ do podstawowego
906 uwierzytelnienia u¿ytkowników HTTP. Ten pakiet zawiera htpasswd z
907 Apache'a 2; ta wersja obs³uguje has³a zapisane czystym tekstem oraz
908 zakodowane algorytmami CRYPT (domy¶lnym), MD5 i SHA1.
909
910 %package cgi_test
911 Summary:        cgi test/demo programs
912 Summary(pl):    Programy testowe/przyk³adowe cgi
913 Group:          Networking/Utilities
914 Requires:       %{name} = %{version}-%{release}
915 Requires:       FHS >= 2.3-12
916
917 %description cgi_test
918 Two cgi test/demo programs: test-cgi and print-env.
919
920 %description cgi_test -l pl
921 Dwa programy testowe/przyk³adowe cgi: test-cgi and print-env.
922
923 %prep
924 %setup -q -n httpd-%{version}
925 %patch0 -p1
926 %patch1 -p1
927 %patch2 -p1
928 %patch4 -p1
929 %patch5 -p1
930 %patch8 -p1
931 %patch10 -p1
932 %patch12 -p1
933 %patch14 -p1
934 %patch15 -p1
935 %patch18 -p1
936 %patch19 -p1
937 %patch20 -p1
938 %patch21 -p1
939
940 %{__perl} -pi -e "s@/usr/local/bin/perl@%{__perl}@" $(grep -rl "/usr/local/bin/perl" *)
941 %{__perl} -pi -e "s@BUILD_SUBDIRS.*@BUILD_SUBDIRS =@g" srclib/Makefile.in
942 %{__perl} -pi -e "s@CLEAN_SUBDIRS.*@CLEAN_SUBDIRS =@g" srclib/Makefile.in
943
944 %build
945 # sanity check
946 MODULES_API=`awk '/#define MODULE_MAGIC_NUMBER_MAJOR/ {print $3}' include/ap_mmn.h`
947 if [ "$MODULES_API" != "%_apache_modules_api" ]; then
948         echo "Set %%_apache_modules_api to $MODULES_API and rerun."
949         exit 1
950 fi
951 ./buildconf
952 rm -rf srclib/apr*
953 # Before configure; fix location of build dir in generated apxs
954 %{__perl} -pi -e "s:\@exp_installbuilddir\@:%{_libdir}/apache/build:g" \
955         support/apxs.in
956 %{__perl} -pi -e "s:apr-config:apr-1-config:g" support/apxs.in
957 %{__perl} -pi -e "s:apu-config:apu-1-config:g" support/apxs.in
958 install /usr/share/automake/config.* build/
959 CPPFLAGS="-DMAX_SERVER_LIMIT=200000 -DBIG_SECURITY_HOLE=1"
960 for mpm in %{?with_metuxmpm:metuxmpm} %{?with_peruser:peruser} prefork worker; do
961 install -d "buildmpm-${mpm}"; cd "buildmpm-${mpm}"
962 ../%configure \
963         --prefix=%{_sysconfdir} \
964         --exec-prefix=%{_libexecdir} \
965         --with-installbuilddir=%{_libdir}/apache/build \
966         --disable-v4-mapped \
967         --enable-layout=PLD \
968         --enable-modules=all \
969         --enable-mods-shared=all \
970         --enable-auth-anon \
971         --enable-auth-dbm \
972         --enable-authn-dbd \
973         --enable-authn-alias \
974         --enable-authz-dbm \
975         --enable-authz-owner \
976         %{?with_ldap:--enable-authnz-ldap} \
977         --enable-auth-digest \
978         --enable-file-cache \
979         --enable-cache \
980         --enable-disk-cache \
981         --enable-mem-cache \
982         --enable-dbd \
983         --enable-bucketeer \
984         --enable-dumpio \
985         --enable-echo \
986         --enable-charset-lite \
987         --enable-deflate \
988         %{?with_ldap:--enable-ldap} \
989         --enable-ext-filter \
990         --enable-case-filter \
991         --enable-case-filter-in \
992         --enable-log-forensic \
993         --enable-logio \
994         --with-z=%{_prefix} \
995         --enable-mime-magic \
996         --enable-cern-meta \
997         --enable-expires \
998         --enable-headers \
999         --enable-ident \
1000         --enable-usertrack \
1001         --enable-unique-id \
1002         --enable-proxy \
1003         --enable-proxy-connect \
1004         --enable-proxy-ftp \
1005         --enable-proxy-http \
1006         --enable-proxy-ajp \
1007         --enable-proxy-balancer \
1008         %{?with_ssl:--enable-ssl %{?with_distcache:--enable-distcache}} \
1009         --enable-optional-hook-export \
1010         --enable-optional-hook-import \
1011         --enable-optional-fn-import \
1012         --enable-optional-fn-export \
1013         --enable-http \
1014         --enable-dav \
1015         --enable-info \
1016         --enable-suexec \
1017         --enable-cgi \
1018         --enable-cgid \
1019         --enable-dav-fs \
1020         --enable-dav-lock \
1021         --enable-vhost-alias \
1022         --enable-imagemap \
1023         --enable-speling \
1024         --enable-rewrite \
1025         --enable-so \
1026         --with-program-name=httpd.${mpm} \
1027         --with-mpm=${mpm} \
1028 %ifarch %{ix86}
1029 %ifnarch i386 i486
1030         $( [ "${mpm}" = "leader" ] && echo "--enable-nonportable-atomics=yes" ) \
1031 %endif
1032 %endif
1033         --with-suexec-bin=%{_sbindir}/suexec \
1034         --with-suexec-caller=http \
1035         --with-suexec-docroot=%{_datadir} \
1036         --with-suexec-logfile=/var/log/httpd/suexec_log \
1037         --with-suexec-uidmin=500 \
1038         --with-suexec-gidmin=500 \
1039         --with-suexec-umask=077 \
1040         --with-apr=%{_bindir}/apr-1-config \
1041         --with-apr-util=%{_bindir}/apu-1-config \
1042         --with-pcre
1043
1044 %{__make}
1045 ./httpd.${mpm} -l | grep -v "${mpm}" > modules-inside
1046
1047 find include -name '*.h' | xargs perl -pi -e "s#/httpd\.(.*?)\.conf#/etc/httpd/httpd.conf#"
1048
1049 cd ..
1050 done
1051
1052 for mpm in %{?with_metuxmpm:metuxmpm} %{?with_peruser:peruser} worker; do
1053         if ! cmp -s buildmpm-prefork/modules-inside buildmpm-${mpm}/modules-inside; then
1054                 echo "List of compiled modules is different between prefork-MPM and ${mpm}-MPM!"
1055                 echo "Build failed."
1056                 exit 1
1057         fi
1058 done
1059
1060 %install
1061 rm -rf $RPM_BUILD_ROOT
1062 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig,monit} \
1063         $RPM_BUILD_ROOT%{_var}/{log/{httpd,archiv/httpd},{run,cache}/apache,lock/mod_dav} \
1064         $RPM_BUILD_ROOT%{_sysconfdir}/{webapps.d,conf.d} \
1065         $RPM_BUILD_ROOT%{_datadir}/cgi-bin
1066
1067 # prefork is default one
1068 %{__make} -C buildmpm-prefork install \
1069         DESTDIR=$RPM_BUILD_ROOT \
1070         installbuilddir=%{_sysconfdir}/build \
1071         prefix=%{_sysconfdir}/httpd \
1072         libexecdir=%{_libdir}/%{name} \
1073         iconsdir=%{_datadir}/icons \
1074         errordir=%{_datadir}/error \
1075         htdocsdir=%{_datadir}/html \
1076         manualdir=%{_datadir}/manual \
1077         cgidir=%{_cgibindir} \
1078         runtimedir=%{_var}/run \
1079         logdir=%{_var}/log/httpd \
1080         proxycachedir=%{_var}/cache/httpd
1081
1082 for mpm in %{?with_metuxmpm:metuxmpm} %{?with_peruser:peruser} worker; do
1083         install buildmpm-${mpm}/httpd.${mpm} $RPM_BUILD_ROOT%{_sbindir}/httpd.${mpm}
1084         ln -s httpd.conf $RPM_BUILD_ROOT%{_sysconfdir}/httpd.${mpm}.conf
1085 done
1086
1087 ln -s httpd.prefork $RPM_BUILD_ROOT%{_sbindir}/httpd
1088
1089 ln -s %{_libdir}/apache $RPM_BUILD_ROOT%{_sysconfdir}/modules
1090 ln -s %{_localstatedir}/run/apache $RPM_BUILD_ROOT%{_sysconfdir}/run
1091 ln -s %{_libdir}/apache/build $RPM_BUILD_ROOT%{_sysconfdir}/build
1092
1093 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
1094 install -d $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
1095
1096 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/build \
1097         $RPM_BUILD_ROOT%{_libexecdir}/build
1098
1099 %{__perl} -pi -e "s#$RPM_BUILD_ROOT##g" $RPM_BUILD_ROOT%{_libexecdir}/build/*
1100 %{__perl} -pi -e "s#$RPM_BUILD_DIR#%{_usrsrc}#g" $RPM_BUILD_ROOT%{_libexecdir}/build/*
1101 %{__perl} -pi -e "s#-pthread#-lpthread#g" $RPM_BUILD_ROOT%{_libdir}/lib*.la
1102 %{__perl} -pi -e 's#/etc/httpd/build#%{_libexecdir}/build#g' $RPM_BUILD_ROOT%{_libexecdir}/build/*
1103 ln -sf %{_bindir}/libtool $RPM_BUILD_ROOT%{_libexecdir}/build/libtool
1104 ln -sf %{_libexecdir}/build $RPM_BUILD_ROOT%{_sysconfdir}/build
1105
1106 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/httpd
1107 install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache
1108 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/httpd
1109 install %{SOURCE5} $RPM_BUILD_ROOT/etc/monit/httpd.monitrc
1110
1111 touch $RPM_BUILD_ROOT/var/log/httpd/{access,error,agent,referer,suexec}_log
1112
1113 %if %{with ssl}
1114 install -d $RPM_BUILD_ROOT%{_sysconfdir}/ssl
1115 install %{SOURCE20} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.crt
1116 install %{SOURCE21} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.key
1117 %endif
1118
1119 CFG="$RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/"
1120
1121 install %{SOURCE6} $CFG/10_httpd.conf
1122 install %{SOURCE8} $CFG/20_mod_vhost_alias.conf
1123 install %{SOURCE9} $CFG/25_mod_status.conf
1124 install %{SOURCE10} $CFG/30_mod_proxy.conf
1125 install %{SOURCE11} $CFG/35_mod_info.conf
1126 install %{SOURCE12} $CFG/40_mod_ssl.conf
1127 install %{SOURCE13} $CFG/45_mod_dav.conf
1128 install %{SOURCE14} $CFG/59_mod_dir.conf
1129 install %{SOURCE15} $CFG/13_mod_suexec.conf
1130 install %{SOURCE16} $CFG/58_mod_deflate.conf
1131 install %{SOURCE17} $CFG/57_mod_autoindex.conf
1132
1133 echo "LoadModule ldap_module    %{_libexecdir}/mod_ldap.so" > $CFG/49_mod_ldap.conf
1134 echo "LoadModule actions_module %{_libexecdir}/mod_actions.so" > $CFG/50_mod_actions.conf
1135 echo "LoadModule auth_module    %{_libexecdir}/mod_auth.so" > $CFG/51_mod_auth.conf
1136 echo "LoadModule auth_anon_module       %{_libexecdir}/mod_auth_anon.so" > $CFG/52_mod_auth_anon.conf
1137 echo "LoadModule auth_dbm_module        %{_libexecdir}/mod_auth_dbm.so" > $CFG/53_mod_auth_dbm.conf
1138 echo "LoadModule auth_digest_module     %{_libexecdir}/mod_auth_digest.so" > $CFG/54_mod_auth_digest.conf
1139 echo "LoadModule cache_module   %{_libexecdir}/mod_cache.so
1140 LoadModule mem_cache_module     %{_libexecdir}/mod_mem_cache.so
1141 LoadModule disk_cache_module    %{_libexecdir}/mod_disk_cache.so" > $CFG/55_mod_cache.conf
1142 echo "LoadModule cgid_module    %{_libexecdir}/mod_cgid.so" > $CFG/56_mod_cgid.conf
1143 echo "LoadModule charset_lite_module    %{_libexecdir}/mod_charset_lite.so" > $CFG/57_mod_charset_lite.conf
1144 echo "LoadModule auth_ldap_module       %{_libexecdir}/mod_auth_ldap.so" > $CFG/59_mod_auth_ldap.conf
1145 echo "LoadModule expires_module %{_libexecdir}/mod_expires.so" > $CFG/60_mod_expires.conf
1146 echo "LoadModule file_cache_module      %{_libexecdir}/mod_file_cache.so" > $CFG/61_mod_file_cache.conf
1147 echo "LoadModule headers_module %{_libexecdir}/mod_headers.so" > $CFG/62_mod_headers.conf
1148 echo "LoadModule imap_module    %{_libexecdir}/mod_imap.so" > $CFG/63_mod_imap.conf
1149 echo "LoadModule rewrite_module %{_libexecdir}/mod_rewrite.so" > $CFG/64_mod_rewrite.conf
1150 echo "LoadModule usertrack_module       %{_libexecdir}/mod_usertrack.so" > $CFG/65_mod_usertrack.conf
1151 echo "LoadModule unique_id_module       %{_libexecdir}/mod_unique_id.so" > $CFG/66_mod_unique_id.conf
1152
1153 ln -sf index.html.en $RPM_BUILD_ROOT%{_datadir}/html/index.html
1154 # let's remove trash (yes, *.html without lang suffix also contain trash)
1155 find $RPM_BUILD_ROOT%{_datadir}/manual -type f \
1156         -name '*.xml' -o -name '*.xml.*' -o -name '*.html' \
1157         | xargs rm -f
1158
1159 # htpasswd goes to %{_bindir}
1160 mv $RPM_BUILD_ROOT%{_sbindir}/htpasswd $RPM_BUILD_ROOT%{_bindir}/
1161 ln -sf %{_bindir}/htpasswd $RPM_BUILD_ROOT%{_sbindir}/
1162
1163 # cgi_test: create config file with ScriptAlias
1164 cat << EOF > $CFG/09_cgi_test.conf
1165 ScriptAlias /cgi-bin/printenv %{_cgibindir}/printenv
1166 ScriptAlias /cgi-bin/test-cgi %{_cgibindir}/test-cgi
1167 EOF
1168
1169 %clean
1170 rm -rf $RPM_BUILD_ROOT
1171
1172 %pre
1173 %groupadd -g 51 http
1174 %useradd -u 51 -r -d /home/services/httpd -s /bin/false -c "HTTP User" -g http http
1175
1176 %post
1177 /sbin/chkconfig --add httpd
1178 umask 137
1179 touch /var/log/httpd/{access,error,agent,referer}_log
1180
1181 %preun
1182 if [ "$1" = "0" ]; then
1183         if [ -f /var/lock/subsys/httpd ]; then
1184                 /etc/rc.d/init.d/httpd stop 1>&2
1185         fi
1186         # see http://thread.gmane.org/gmane.linux.pld.devel.english/712
1187         [ ! -x /sbin/chkconfig ] || /sbin/chkconfig --del httpd
1188 fi
1189
1190 %postun
1191 if [ "$1" = "0" ]; then
1192         %userremove http
1193         %groupremove http
1194 fi
1195
1196 %triggerpostun -- %{name} <= 2.0.50-6
1197 %banner %{name}-2.0.50-6 << EOF
1198 WARNING!!!
1199 Since apache-2.0.50-6 autoindex module has been separated to package
1200 %{name}-mod_autoindex If you want to have the same functionality do:
1201 poldek -Uv %{name}-mod_autoindex
1202 EOF
1203
1204 %triggerpostun -- %{name} < 2.0.54-4
1205 %banner %{name}-2.0.54-2 << EOF
1206 WARNING!!!
1207 CGI demo/test programs - printenv and test-cgi, have been released
1208 from package apache into separate subpackage apache-cgi_test. If you
1209 need printenv and/or test-cgi, please install apache-cgi_test package,
1210 e.g. by running poldek -Uv apache-cgi_test
1211 EOF
1212
1213 # update /etc/sysconfig/apache -> httpd rename
1214 if [ -f /etc/sysconfig/apache.rpmsave ]; then
1215         cp -f /etc/sysconfig/httpd{,.rpmnew}
1216         mv -f /etc/sysconfig/{apache.rpmsave,httpd}
1217 fi
1218
1219 %triggerpostun -- %{name} < 2.0.55-3.1
1220 if ! grep -q 'Include webapps.d/' /etc/httpd/httpd.conf/10_httpd.conf; then
1221 # make sure webapps.d is included
1222 cp -f /etc/httpd/httpd.conf/10_httpd.conf{,.rpmsave}
1223 # this file is ugly, so just append new lines
1224 cat <<EOF >> /etc/httpd/httpd.conf/10_httpd.conf
1225 # Include webapps config
1226 Include webapps.d/*.conf
1227 EOF
1228 fi
1229
1230 # rename monitrc to be service name like other files
1231 if [ -f /etc/monit/apache.monitrc.rpmsave ]; then
1232         mv -f /etc/monit/httpd.monitrc{,.rpmnew}
1233         mv -f /etc/monit/{apache.monitrc.rpmsave,httpd.monitrc}
1234 fi
1235
1236 %posttrans
1237 # minimizing apache restarts logics. we restart webserver:
1238 #
1239 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
1240 # 2. first install of module (post: $1 = 1)
1241 # 2. uninstall of module (postun: $1 == 0)
1242 #
1243 # the strict internal deps between apache modules and
1244 # main package are very important for all this to work.
1245
1246 # restart webserver at the end of transaction
1247 %service httpd restart
1248
1249 # macro called at module post scriptlet
1250 %define module_post \
1251 if [ "$1" = "1" ]; then \
1252         %service -q httpd restart \
1253 fi
1254
1255 # macro called at module postun scriptlet
1256 %define module_postun \
1257 if [ "$1" = "0" ]; then \
1258         %service -q httpd restart \
1259 fi
1260
1261 %post mod_actions
1262 %module_post
1263
1264 %postun mod_actions
1265 %module_postun
1266
1267 %post mod_auth
1268 %module_post
1269
1270 %postun mod_auth
1271 %module_postun
1272
1273 %post mod_auth_anon
1274 %module_post
1275
1276 %postun mod_auth_anon
1277 %module_postun
1278
1279 %post mod_auth_dbm
1280 %module_post
1281
1282 %postun mod_auth_dbm
1283 %module_postun
1284
1285 %post mod_autoindex
1286 %module_post
1287
1288 %postun mod_autoindex
1289 %module_postun
1290
1291 %post mod_cache
1292 %module_post
1293
1294 %postun mod_cache
1295 %module_postun
1296
1297 %post mod_cgid
1298 %module_post
1299
1300 %postun mod_cgid
1301 %module_postun
1302
1303 %post mod_charset_lite
1304 %module_post
1305
1306 %postun mod_charset_lite
1307 %module_postun
1308
1309 %post mod_dav
1310 %module_post
1311
1312 %postun mod_dav
1313 %module_postun
1314
1315 %post mod_auth_digest
1316 %module_post
1317
1318 %postun mod_auth_digest
1319 %module_postun
1320
1321 %post mod_deflate
1322 %module_post
1323
1324 %postun mod_deflate
1325 %module_postun
1326
1327 %post mod_dir
1328 %module_post
1329
1330 %postun mod_dir
1331 %module_postun
1332
1333 %post mod_expires
1334 %module_post
1335
1336 %postun mod_expires
1337 %module_postun
1338
1339 %post mod_file_cache
1340 %module_post
1341
1342 %postun mod_file_cache
1343 %module_postun
1344
1345 %post mod_headers
1346 %module_post
1347
1348 %postun mod_headers
1349 %module_postun
1350
1351 %post mod_imap
1352 %module_post
1353
1354 %postun mod_imap
1355 %module_postun
1356
1357 %post mod_info
1358 %module_post
1359
1360 %postun mod_info
1361 %module_postun
1362
1363 %post mod_proxy
1364 %module_post
1365
1366 %postun mod_proxy
1367 %module_postun
1368
1369 %post mod_rewrite
1370 %module_post
1371
1372 %postun mod_rewrite
1373 %module_postun
1374
1375 %post mod_ssl
1376 %module_post
1377
1378 %postun mod_ssl
1379 %module_postun
1380
1381 %post mod_status
1382 %module_post
1383
1384 %postun mod_status
1385 %module_postun
1386
1387 %post mod_usertrack
1388 %module_post
1389
1390 %postun mod_usertrack
1391 %module_postun
1392
1393 %post mod_unique_id
1394 %module_post
1395
1396 %postun mod_unique_id
1397 %module_postun
1398
1399 %post mod_vhost_alias
1400 %module_post
1401
1402 %postun mod_vhost_alias
1403 %module_postun
1404
1405 %post cgi_test
1406 if [ "$1" = "1" ]; then
1407         %service -q httpd reload
1408 fi
1409
1410 %postun cgi_test
1411 if [ "$1" = "0" ]; then
1412         %service -q httpd reload
1413 fi
1414
1415 %files
1416 %defattr(644,root,root,755)
1417 %doc ABOUT_APACHE CHANGES README
1418 %doc docs/conf/mime.types
1419
1420 %attr(754,root,root) /etc/rc.d/init.d/httpd
1421
1422 # TODO: switch to conf.d, instead of confusing *dir* httpd.conf
1423 %attr(750,root,root) %dir %{_sysconfdir}/httpd.conf
1424 %attr(750,root,root) %dir %{_sysconfdir}/webapps.d
1425 %attr(750,root,root) %dir %{_sysconfdir}/modules
1426 %attr(750,root,root) %dir %{_sysconfdir}/run
1427 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_httpd.conf
1428 %attr(640,root,root) %{_sysconfdir}/magic
1429 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/httpd
1430 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/*
1431 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/monit/*.monitrc
1432
1433 #%attr(755,root,root) %{_libexecdir}/mod_access.so
1434 %attr(755,root,root) %{_libexecdir}/mod_alias.so
1435 %attr(755,root,root) %{_libexecdir}/mod_asis.so
1436 %attr(755,root,root) %{_libexecdir}/mod_cern_meta.so
1437 %attr(755,root,root) %{_libexecdir}/mod_cgi.so
1438 %attr(755,root,root) %{_libexecdir}/mod_env.so
1439 %attr(755,root,root) %{_libexecdir}/mod_include.so
1440 %attr(755,root,root) %{_libexecdir}/mod_log_config.so
1441 %attr(755,root,root) %{_libexecdir}/mod_log_forensic.so
1442 %attr(755,root,root) %{_libexecdir}/mod_mime.so
1443 %attr(755,root,root) %{_libexecdir}/mod_mime_magic.so
1444 %attr(755,root,root) %{_libexecdir}/mod_negotiation.so
1445 %attr(755,root,root) %{_libexecdir}/mod_setenvif.so
1446 %attr(755,root,root) %{_libexecdir}/mod_speling.so
1447 %attr(755,root,root) %{_libexecdir}/mod_userdir.so
1448
1449 # look at TODO on top
1450 %attr(755,root,root) %{_libexecdir}/mod_case_filter.so
1451 %attr(755,root,root) %{_libexecdir}/mod_case_filter_in.so
1452 %attr(755,root,root) %{_libexecdir}/mod_echo.so
1453 %attr(755,root,root) %{_libexecdir}/mod_ext_filter.so
1454 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_export.so
1455 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_import.so
1456 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_export.so
1457 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_import.so
1458
1459 %attr(755,root,root) %{_sbindir}/htdigest
1460
1461 %attr(755,root,root) %{_sbindir}/ab
1462 %attr(755,root,root) %{_sbindir}/apachectl
1463 %attr(755,root,root) %{_sbindir}/checkgid
1464 %attr(755,root,root) %{_sbindir}/httpd
1465 %attr(755,root,root) %{_sbindir}/httpd.*
1466 %attr(755,root,root) %{_sbindir}/logresolve
1467 %attr(755,root,root) %{_sbindir}/rotatelogs
1468
1469 %dir %attr(770,root,http) /var/run/apache
1470 %dir %attr(770,root,http) /var/cache/apache
1471
1472 %{_mandir}/man1/htdigest.1*
1473 %{_mandir}/man8/ab.8*
1474 %{_mandir}/man8/apachectl.8*
1475 %{_mandir}/man8/httpd.8*
1476 %{_mandir}/man8/logresolve.8*
1477 %{_mandir}/man8/rotatelogs.8*
1478
1479 %attr(2750,root,logs) %dir /var/log/httpd
1480 %attr(2750,root,logs) %dir /var/log/archiv/httpd
1481 %attr(640,root,logs) %ghost /var/log/httpd/*
1482
1483 %dir %{_datadir}
1484
1485 %dir %{_datadir}/cgi-bin
1486 %dir %{_datadir}/html
1487 %{_datadir}/icons
1488 %{_datadir}/error
1489
1490 %files doc
1491 %defattr(644,root,root,755)
1492 %dir %{_datadir}/manual
1493 %{_datadir}/manual/LICENSE
1494 %{_datadir}/manual/*.html.en
1495 %lang(de) %{_datadir}/manual/*.html.de
1496 %lang(es) %{_datadir}/manual/*.html.es
1497 %lang(fr) %{_datadir}/manual/*.html.fr
1498 %lang(ja) %{_datadir}/manual/*.html.ja*
1499 %lang(ko) %{_datadir}/manual/*.html.ko.euc-kr
1500 %lang(ru) %{_datadir}/manual/*.html.ru.koi8-r
1501 %dir %{_datadir}/manual/developer
1502 %{_datadir}/manual/developer/*.html.en
1503 %lang(ja) %{_datadir}/manual/developer/*.html.ja*
1504 %dir %{_datadir}/manual/faq
1505 %{_datadir}/manual/faq/*.html.en
1506 %lang(ko) %{_datadir}/manual/faq/*.html.ko.euc-kr
1507 %dir %{_datadir}/manual/howto
1508 %{_datadir}/manual/howto/*.html.en
1509 %lang(ja) %{_datadir}/manual/howto/*.html.ja*
1510 %lang(ko) %{_datadir}/manual/howto/*.html.ko.euc-kr
1511 %dir %{_datadir}/manual/images
1512 %{_datadir}/manual/images/[!m]*
1513 %dir %{_datadir}/manual/misc
1514 %{_datadir}/manual/misc/*.html.en
1515 %lang(ko) %{_datadir}/manual/misc/*.html.ko.euc-kr
1516 %dir %{_datadir}/manual/mod
1517 %{_datadir}/manual/mod/[cdfhilpqtw]*.html.en
1518 %lang(de) %{_datadir}/manual/mod/[cdfhilpqtw]*.html.de
1519 %lang(es) %{_datadir}/manual/mod/[cdfhilpqtw]*.html.es
1520 %lang(ja) %{_datadir}/manual/mod/[cdfhilpqtw]*.html.ja*
1521 %lang(ko) %{_datadir}/manual/mod/[cdfhilpqtw]*.html.ko.euc-kr
1522 #%lang(ru) %{_datadir}/manual/mod/[cdfhilpqtw]*.html.ru.koi8-r
1523 %{_datadir}/manual/mod/module-dict.html.en
1524 %lang(ja) %{_datadir}/manual/mod/module-dict.html.ja*
1525 %lang(ko) %{_datadir}/manual/mod/module-dict.html.ko.euc-kr
1526 %{_datadir}/manual/mod/mpm_common.html.en
1527 %lang(de) %{_datadir}/manual/mod/mpm_common.html.de
1528 #%lang(es) %{_datadir}/manual/mod/mpm_common.html.es
1529 %lang(ja) %{_datadir}/manual/mod/mpm_common.html.ja*
1530 #%{_datadir}/manual/mod/mod_access.html.en
1531 #%lang(ja) %{_datadir}/manual/mod/mod_access.html.ja*
1532 %{_datadir}/manual/mod/mod_alias.html.en
1533 %lang(ja) %{_datadir}/manual/mod/mod_alias.html.ja*
1534 %lang(ko) %{_datadir}/manual/mod/mod_alias.html.ko.euc-kr
1535 %{_datadir}/manual/mod/mod_asis.html.en
1536 %lang(ja) %{_datadir}/manual/mod/mod_asis.html.ja*
1537 %lang(ko) %{_datadir}/manual/mod/mod_asis.html.ko.euc-kr
1538 %{_datadir}/manual/mod/mod_autoindex.html.en
1539 %lang(ja) %{_datadir}/manual/mod/mod_autoindex.html.ja*
1540 %lang(ko) %{_datadir}/manual/mod/mod_autoindex.html.ko.euc-kr
1541 %{_datadir}/manual/mod/mod_cern_meta.html.en
1542 %lang(ko) %{_datadir}/manual/mod/mod_cern_meta.html.ko.euc-kr
1543 %{_datadir}/manual/mod/mod_cgi.html.en
1544 %lang(ja) %{_datadir}/manual/mod/mod_cgi.html.ja*
1545 %lang(ko) %{_datadir}/manual/mod/mod_cgi.html.ko.euc-kr
1546 %{_datadir}/manual/mod/mod_echo.html.en
1547 %lang(ja) %{_datadir}/manual/mod/mod_echo.html.ja*
1548 %lang(ko) %{_datadir}/manual/mod/mod_echo.html.ko.euc-kr
1549 %{_datadir}/manual/mod/mod_env.html.en
1550 %lang(ja) %{_datadir}/manual/mod/mod_env.html.ja*
1551 %lang(ko) %{_datadir}/manual/mod/mod_env.html.ko.euc-kr
1552 %{_datadir}/manual/mod/mod_ext_filter.html.en
1553 %lang(ko) %{_datadir}/manual/mod/mod_ext_filter.html.ko.euc-kr
1554 %{_datadir}/manual/mod/mod_include.html.en
1555 %lang(ja) %{_datadir}/manual/mod/mod_include.html.ja*
1556 %{_datadir}/manual/mod/mod_log_config.html.en
1557 %lang(ja) %{_datadir}/manual/mod/mod_log_config.html.ja.euc-jp
1558 %lang(ko) %{_datadir}/manual/mod/mod_log_config.html.ko.euc-kr
1559 %{_datadir}/manual/mod/mod_log_forensic.html.en
1560 %{_datadir}/manual/mod/mod_mime*.html.en
1561 %lang(ja) %{_datadir}/manual/mod/mod_mime*.html.ja*
1562 %{_datadir}/manual/mod/mod_negotiation.html.en
1563 %lang(ja) %{_datadir}/manual/mod/mod_negotiation.html.ja*
1564 %{_datadir}/manual/mod/mod_setenvif.html.en
1565 %lang(ja) %{_datadir}/manual/mod/mod_setenvif.html.ja*
1566 %lang(ko) %{_datadir}/manual/mod/mod_setenvif.html.ko.euc-kr
1567 %{_datadir}/manual/mod/mod_speling.html.en
1568 %lang(ja) %{_datadir}/manual/mod/mod_speling.html.ja*
1569 %lang(ko) %{_datadir}/manual/mod/mod_speling.html.ko.euc-kr
1570 %{_datadir}/manual/mod/mod_userdir.html.en
1571 %lang(ja) %{_datadir}/manual/mod/mod_userdir.html.ja*
1572 %lang(ko) %{_datadir}/manual/mod/mod_userdir.html.ko.euc-kr
1573 %dir %{_datadir}/manual/programs
1574 %{_datadir}/manual/programs/*.html.en
1575 %lang(es) %{_datadir}/manual/programs/*.html.es
1576 %lang(ko) %{_datadir}/manual/programs/*.html.ko.euc-kr
1577 #%lang(ru) %{_datadir}/manual/programs/*.html.ru.koi8-r
1578 %dir %{_datadir}/manual/style
1579 %{_datadir}/manual/style/css
1580
1581 %{_datadir}/manual/mod/mod_suexec.html.en
1582 %lang(ja) %{_datadir}/manual/mod/mod_suexec.html.ja*
1583 %lang(ko) %{_datadir}/manual/mod/mod_suexec.html.ko.euc-kr
1584 %{_datadir}/manual/mod/mod_actions.html.en
1585 %lang(ja) %{_datadir}/manual/mod/mod_actions.html.ja*
1586 %lang(ko) %{_datadir}/manual/mod/mod_actions.html.ko.euc-kr
1587 #%{_datadir}/manual/mod/mod_auth.html.en
1588 #%lang(ja) %{_datadir}/manual/mod/mod_auth.html.ja*
1589 #%{_datadir}/manual/mod/mod_auth_anon.html.en
1590 #%{_datadir}/manual/mod/mod_auth_ldap.html.en
1591 %{_datadir}/manual/mod/mod_ldap.html.en
1592 #%{_datadir}/manual/mod/mod_auth_dbm.html.en
1593 #%{_datadir}/manual/mod/mod_auth_digest.html.en
1594 %lang(ko) %{_datadir}/manual/mod/mod_auth_digest.html.ko.euc-kr
1595 %{_datadir}/manual/mod/mod_cache.html.en
1596 %lang(ko) %{_datadir}/manual/mod/mod_cache.html.ko.euc-kr
1597 %{_datadir}/manual/mod/mod_disk_cache.html.en
1598 %lang(ko) %{_datadir}/manual/mod/mod_disk_cache.html.ko.euc-kr
1599 %{_datadir}/manual/mod/mod_mem_cache.html.en
1600 %lang(ko) %{_datadir}/manual/mod/mod_mem_cache.html.ko.euc-kr
1601 %{_datadir}/manual/mod/mod_cgid.html.en
1602 %lang(ja) %{_datadir}/manual/mod/mod_cgid.html.ja.euc-jp
1603 %lang(ko) %{_datadir}/manual/mod/mod_cgid.html.ko.euc-kr
1604 %{_datadir}/manual/mod/mod_charset_lite.html.en
1605 %lang(ko) %{_datadir}/manual/mod/mod_charset_lite.html.ko.euc-kr
1606 %{_datadir}/manual/mod/mod_dav*.html.en
1607 %lang(ja) %{_datadir}/manual/mod/mod_dav*.html.ja*
1608 %lang(ko) %{_datadir}/manual/mod/mod_dav*.html.ko.euc-kr
1609 %{_datadir}/manual/mod/mod_deflate.html.en
1610 %lang(ja) %{_datadir}/manual/mod/mod_deflate.html.ja*
1611 %lang(ko) %{_datadir}/manual/mod/mod_deflate.html.ko.euc-kr
1612 %{_datadir}/manual/mod/mod_dir.html.en
1613 %lang(ja) %{_datadir}/manual/mod/mod_dir.html.ja*
1614 %lang(ko) %{_datadir}/manual/mod/mod_dir.html.ko.euc-kr
1615 %{_datadir}/manual/mod/mod_expires.html.en
1616 %lang(ja) %{_datadir}/manual/mod/mod_expires.html.ja.euc-jp
1617 %lang(ko) %{_datadir}/manual/mod/mod_expires.html.ko.euc-kr
1618 %{_datadir}/manual/mod/mod_file_cache.html.en
1619 %lang(ko) %{_datadir}/manual/mod/mod_file_cache.html.ko.euc-kr
1620 %{_datadir}/manual/mod/mod_headers.html.en
1621 %lang(ko) %{_datadir}/manual/mod/mod_headers.html.ko.euc-kr
1622 #%{_datadir}/manual/mod/mod_imap.html.en
1623 #%lang(ko) %{_datadir}/manual/mod/mod_imap.html.ko.euc-kr
1624 %{_datadir}/manual/mod/mod_info.html.en
1625 %lang(ja) %{_datadir}/manual/mod/mod_info.html.ja*
1626 %lang(ko) %{_datadir}/manual/mod/mod_info.html.ko.euc-kr
1627 %{_datadir}/manual/mod/mod_proxy*.html.en
1628 %{_datadir}/manual/mod/mod_rewrite.html.en
1629 %{_datadir}/manual/mod/mod_so.html.en
1630 %lang(ja) %{_datadir}/manual/mod/mod_so.html.ja.euc-jp
1631 %lang(ko) %{_datadir}/manual/mod/mod_so.html.ko.euc-kr
1632 %{_datadir}/manual/images/mod_rewrite*
1633 %dir %{_datadir}/manual/rewrite
1634 %{_datadir}/manual/rewrite/index.html.en
1635 %{_datadir}/manual/rewrite/rewrite_guide.html.en
1636 %{_datadir}/manual/rewrite/rewrite_guide_advanced.html.en
1637 %{_datadir}/manual/rewrite/rewrite_intro.html.en
1638 %{_datadir}/manual/rewrite/rewrite_tech.html.en
1639 %dir %{_datadir}/manual/ssl
1640 %{_datadir}/manual/ssl/*.html.en
1641 %lang(ja) %{_datadir}/manual/ssl/*.html.ja*
1642 %{_datadir}/manual/mod/mod_ssl.html.en
1643 %{_datadir}/manual/mod/mod_status.html.en
1644 %lang(ja) %{_datadir}/manual/mod/mod_status.html.ja.euc-jp
1645 %lang(ko) %{_datadir}/manual/mod/mod_status.html.ko.euc-kr
1646 %{_datadir}/manual/mod/mod_usertrack.html.en
1647 %{_datadir}/manual/mod/mod_unique_id.html.en
1648 %lang(ja) %{_datadir}/manual/mod/mod_unique_id.html.ja*
1649 %lang(ko) %{_datadir}/manual/mod/mod_unique_id.html.ko.euc-kr
1650 %{_datadir}/manual/mod/mod_vhost_alias.html.en
1651 %dir %{_datadir}/manual/vhosts
1652 %{_datadir}/manual/vhosts/*.html.en
1653 %lang(de) %{_datadir}/manual/vhosts/*.html.de
1654 #%lang(es) %{_datadir}/manual/vhosts/*.html.es
1655 %lang(ja) %{_datadir}/manual/vhosts/*.html.ja*
1656 %lang(ko) %{_datadir}/manual/vhosts/*.html.ko.euc-kr
1657 #%lang(ru) %{_datadir}/manual/vhosts/*.html.ru.koi8-r
1658
1659 %files suexec
1660 %defattr(644,root,root,755)
1661 %attr(4755,root,root) %{_sbindir}/suexec
1662 %attr(755,root,root) %{_libexecdir}/mod_suexec.so
1663 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_suexec.conf
1664 %{_mandir}/man8/suexec.8*
1665
1666 %files index
1667 %defattr(644,root,root,755)
1668 %config(noreplace,missingok) %{_datadir}/html/index.html*
1669 %{_datadir}/html/*.gif
1670 %{_datadir}/html/*.png
1671
1672 %files apxs
1673 %defattr(644,root,root,755)
1674 %attr(755,root,root) %{_sbindir}/apxs
1675 %attr(755,root,root) %{_sbindir}/envvars*
1676 %attr(751,root,root) %dir %{_sysconfdir}
1677 %dir %{_libexecdir}
1678 %dir %{_libexecdir}/build
1679 %{_libexecdir}/build/config_vars.mk
1680 %{_mandir}/man8/apxs.8*
1681
1682 %files devel
1683 %defattr(644,root,root,755)
1684 %{_includedir}
1685 %{_libexecdir}/*.exp
1686 %attr(750,root,root) %dir %{_sysconfdir}/build
1687 %{_libexecdir}/build/[lprs]*.mk
1688 %attr(755,root,root) %{_libexecdir}/build/*.sh
1689 %attr(755,root,root) %{_libexecdir}/build/libtool
1690
1691 %files mod_actions
1692 %defattr(644,root,root,755)
1693 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_actions.conf
1694 %attr(755,root,root) %{_libexecdir}/mod_actions.so
1695
1696 %files mod_auth
1697 %defattr(644,root,root,755)
1698 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_auth.conf
1699 #%attr(755,root,root) %{_libexecdir}/mod_auth.so
1700
1701 %files mod_auth_anon
1702 %defattr(644,root,root,755)
1703 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_auth_anon.conf
1704 #%attr(755,root,root) %{_libexecdir}/mod_auth_anon.so
1705
1706 %if %{with ldap}
1707 %files mod_auth_ldap
1708 %defattr(644,root,root,755)
1709 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_auth_ldap.conf
1710 #%attr(755,root,root) %{_libexecdir}/mod_auth_ldap.so
1711 %endif
1712
1713 %if %{with ldap}
1714 %files mod_ldap
1715 %defattr(644,root,root,755)
1716 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_ldap.conf
1717 %attr(755,root,root) %{_libexecdir}/mod_ldap.so
1718 %endif
1719
1720 %files mod_auth_dbm
1721 %defattr(644,root,root,755)
1722 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_auth_dbm.conf
1723 #%attr(755,root,root) %{_libexecdir}/mod_auth_dbm.so
1724 %attr(755,root,root) %{_sbindir}/dbmmanage
1725 %attr(755,root,root) %{_sbindir}/htdbm
1726 %{_mandir}/man1/dbmmanage.1*
1727 %{_mandir}/man1/htdbm.1*
1728
1729 %files mod_auth_digest
1730 %defattr(644,root,root,755)
1731 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_auth_digest.conf
1732 %attr(755,root,root) %{_libexecdir}/mod_auth_digest.so
1733
1734 %files mod_autoindex
1735 %defattr(644,root,root,755)
1736 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_autoindex.conf
1737 %attr(755,root,root) %{_libexecdir}/mod_autoindex.so
1738
1739 %files mod_cache
1740 %defattr(644,root,root,755)
1741 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_cache.conf
1742 %attr(755,root,root) %{_libexecdir}/mod_cache.so
1743 %attr(755,root,root) %{_libexecdir}/mod_disk_cache.so
1744 %attr(755,root,root) %{_libexecdir}/mod_mem_cache.so
1745
1746 %files mod_cgid
1747 %defattr(644,root,root,755)
1748 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_cgid.conf
1749 %attr(755,root,root) %{_libexecdir}/mod_cgid.so
1750
1751 %files mod_charset_lite
1752 %defattr(644,root,root,755)
1753 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_charset_lite.conf
1754 %attr(755,root,root) %{_libexecdir}/mod_charset_lite.so
1755
1756 %files mod_dav
1757 %defattr(644,root,root,755)
1758 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_dav.conf
1759 %attr(755,root,root) %{_libexecdir}/mod_dav*.so
1760 %dir %attr(770,root,http) /var/lock/mod_dav
1761
1762 %files mod_deflate
1763 %defattr(644,root,root,755)
1764 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_deflate.conf
1765 %attr(755,root,root) %{_libexecdir}/mod_deflate.so
1766
1767 %files mod_dir
1768 %defattr(644,root,root,755)
1769 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_dir.conf
1770 %attr(755,root,root) %{_libexecdir}/mod_dir.so
1771
1772 %files mod_expires
1773 %defattr(644,root,root,755)
1774 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_expires.conf
1775 %attr(755,root,root) %{_libexecdir}/mod_expires.so
1776
1777 %files mod_file_cache
1778 %defattr(644,root,root,755)
1779 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_file_cache.conf
1780 %attr(755,root,root) %{_libexecdir}/mod_file_cache.so
1781
1782 %files mod_headers
1783 %defattr(644,root,root,755)
1784 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_headers.conf
1785 %attr(755,root,root) %{_libexecdir}/mod_headers.so
1786
1787 %files mod_imap
1788 %defattr(644,root,root,755)
1789 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_imap.conf
1790 #%attr(755,root,root) %{_libexecdir}/mod_imap.so
1791
1792 %files mod_info
1793 %defattr(644,root,root,755)
1794 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_info.conf
1795 %attr(755,root,root) %{_libexecdir}/mod_info.so
1796
1797 %files mod_proxy
1798 %defattr(644,root,root,755)
1799 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_proxy.conf
1800 %attr(755,root,root) %{_libexecdir}/mod_proxy*.so
1801
1802 %files mod_rewrite
1803 %defattr(644,root,root,755)
1804 %attr(755,root,root) %{_libexecdir}/mod_rewrite.so
1805 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_rewrite.conf
1806
1807 %if %{with ssl}
1808 %files mod_ssl
1809 %defattr(644,root,root,755)
1810 %attr(750,root,root) %dir %{_sysconfdir}/ssl
1811 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ssl/server.*
1812 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_ssl.conf
1813 %attr(755,root,root) %{_libexecdir}/mod_ssl.so
1814 %endif
1815
1816 %files mod_status
1817 %defattr(644,root,root,755)
1818 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_status.conf
1819 %attr(755,root,root) %{_libexecdir}/mod_status.so
1820
1821 %files mod_usertrack
1822 %defattr(644,root,root,755)
1823 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_usertrack.conf
1824 %attr(755,root,root) %{_libexecdir}/mod_usertrack.so
1825
1826 %files mod_unique_id
1827 %defattr(644,root,root,755)
1828 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_unique_id.conf
1829 %attr(755,root,root) %{_libexecdir}/mod_unique_id.so
1830
1831 %files mod_vhost_alias
1832 %defattr(644,root,root,755)
1833 %attr(755,root,root) %{_libexecdir}/mod_vhost_alias.so
1834 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_vhost_alias.conf
1835
1836 %files -n htpasswd-%{name}
1837 %defattr(644,root,root,755)
1838 %attr(755,root,root) %{_bindir}/htpasswd
1839 %{_sbindir}/htpasswd
1840 %{_mandir}/man1/htpasswd.1*
1841
1842 %files cgi_test
1843 %defattr(644,root,root,755)
1844 %dir %{_cgibindir}
1845 %attr(755,root,root) %{_cgibindir}/*
1846 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/09_cgi_test.conf
This page took 0.259901 seconds and 4 git commands to generate.