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