]> git.pld-linux.org Git - packages/apache.git/blob - apache.spec
- Release 28.
[packages/apache.git] / apache.spec
1 #
2 # Conditional build:
3 # mod_rewrite_ldap - enable ldap map supoort for mod_rewrite (alpha)
4 #
5 %include        /usr/lib/rpm/macros.perl
6 Summary:        The most widely used Web server on the Internet
7 Summary(de):    Leading World Wide Web-Server
8 Summary(fr):    Le serveur web le plus utilise sur Internet
9 Summary(pl):    Serwer WWW (World Wide Web)
10 Summary(tr):    Lider WWW tarayýcý
11 Name:           apache
12 Version:        1.3.12
13 Release:        28
14 License:        BSD-like
15 Group:          Networking/Daemons
16 Group(de):      Netzwerkwesen/Server
17 Group(pl):      Sieciowe/Serwery
18 Source0:        ftp://ftp.apache.org/dist/%{name}_%{version}.tar.gz
19 Source1:        %{name}.init
20 Source2:        %{name}.logrotate
21 Source3:        %{name}-icons.tar.gz
22 Source4:        %{name}.sysconfig
23 Source6:        %{name}-httpd.conf
24 Source8:        %{name}-mod_vhost_alias.conf
25 Source9:        %{name}-mod_status.conf
26 Source10:       %{name}-mod_proxy.conf
27 Patch0:         %{name}-PLD.patch
28 Patch1:         %{name}-suexec.patch
29 Patch2:         %{name}-htdocs.patch
30 Patch3:         %{name}-errordocs.patch
31 Patch4:         %{name}-apxs.patch
32 Patch5:         %{name}-EAPI.patch
33 Patch6:         %{name}-v6-PLD-3.patch.gz
34 Patch7:         %{name}-mm_conf.patch
35 Patch8:         %{name}-modules_symbols.patch
36 Patch9:         %{name}-apxs_force_rm_cp.patch
37 Patch10:        %{name}-db3.patch
38 Patch11:        %{name}-lookup_map_ldap.patch
39 Provides:       httpd
40 Provides:       webserver
41 Prereq:         /sbin/chkconfig
42 Prereq:         /usr/sbin/useradd
43 Prereq:         /usr/bin/getgid
44 Prereq:         /bin/id
45 Prereq:         sh-utils
46 BuildRequires:  db2-devel
47 BuildRequires:  mm-devel >= 1.1.3
48 %{?mod_rewrite_ldap:BuildRequires: openldap-devel}
49 Requires:       rc-scripts
50 Requires:       mailcap
51 Requires:       /etc/mime.types
52 URL:            http://www.apache.org/
53 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
54 PreReq:         mm
55 Provides:       %{name}(EAPI) = %{version}
56 Obsoletes:      apache-extra
57 Obsoletes:      apache6
58 Obsoletes:      apache-doc
59
60 %define         _sysconfdir     /etc/httpd
61 %define         _includedir     %{_prefix}/include/apache
62 %define         _datadir        /home/httpd
63 %define         _libexecdir     %{_prefix}/lib/apache
64
65 %description
66 Apache is a powerful, full-featured, efficient and freely-available
67 Web server. Apache is also the most popular Web server on the
68 Internet.
69
70 %description -l de
71 Apache ist ein voll funktionsfähiger Web-Server, der kostenlos
72 erhältlich und weit verbreitet ist.
73
74 %description -l fr
75 Apache est un serveur Web puissant, efficace, gratuit et complet.
76 Apache est aussi le serveur Web le plus populaire sur Internet.
77
78 %description -l pl
79 Apache jest serwerem WWW (World Wide Web). Instaluj±c ten pakiet
80 bêdziesz móg³ prezentowaæ w³asne strony WWW w sieci internet.
81
82 %description -l tr
83 Apache serbest daðýtýlan ve çok kullanýlan yetenekli bir web
84 sunucusudur.
85
86 %package suexec
87 Summary:        Apache suexec wrapper
88 Summary(pl):    Suexec wrapper do serwera www Apache
89 Group:          Development/Tools
90 Group(de):      Entwicklung/Werkzeuge
91 Group(fr):      Development/Outils
92 Group(pl):      Programowanie/Narzêdzia
93 Requires:       %{name}(EAPI) = %{version}
94
95 %description suexec
96 The suEXEC feature provides Apache users the ability to run CGI and
97 SSI programs under user IDs different from the user ID of the calling
98 web-server. Normally, when a CGI or SSI program executes, it runs as
99 the same user who is running the web server.
100
101 %description -l pl suexec
102 SuEXEC umo¿liwia serwerowi Apache uruchamianie programów CGI i SSI z
103 innym UID ni¿ wywo³uj±cy je serwer. Normalnie programy CGI i SSI s±
104 wykonywane jako taki sam u¿ytkownik jak serwer WWW.
105
106 %package devel
107 Summary:        Module development tools for the Apache web server
108 Summary(fr):    Les outils de developpement de modules pour le serveur web Apache
109 Summary(pl):    Pliki nag³ówkowe do tworzenai modu³ów rozszerzeñ do serwera www Apache
110 Group:          Networking/Utilities
111 Group(de):      Netzwerkwesen/Werkzeuge
112 Group(pl):      Sieciowe/Narzêdzia
113 Requires:       %{name}(EAPI) = %{version}
114 Provides:       %{name}(EAPI)-devel
115
116 %description devel
117 The apache-devel package contains the source code for the Apache Web
118 server and the APXS binary you'll need to build Dynamic Shared Objects
119 (DSOs) for Apache.
120
121 %description -l fr devel
122 Le package apache-devel contient le code source pour le serveur Web
123 Apache et le binaire APXS dont vous aurez besoin pour construire des
124 Objets Dynamiques Partages (DSOs) pour Apache.
125
126 %description -l pl devel
127 Pliki nag³ówkowe dla serwera WWW Apache.
128
129 %package mod_actions
130 Summary:        Apache module for run CGI whenever a file of a certain type is requested
131 Summary(pl):    Modu³ dla apache do uruchamiania skryptów cgi
132 Group:          Networking/Daemons
133 Group(de):      Netzwerkwesen/Server
134 Group(pl):      Sieciowe/Serwery
135 Prereq:         %{_sbindir}/apxs
136 Requires:       %{name}(EAPI) = %{version}
137
138 %description mod_actions
139 This package contains mod_actions module. This module lets you run CGI
140 scripts whenever a file of a certain type is requested. This makes it
141 much easier to execute scripts that process files.
142
143 %description -l pl mod_actions
144 Ten modu³ pozwala na uruchamianie skryptów w momencie gdy nadchodzi
145 ¿±danie pobrania pliku okre¶lonego typu.
146
147 %package mod_auth
148 Summary:        Apache module with user authentication using textual files
149 Group:          Networking/Daemons
150 Group(de):      Netzwerkwesen/Server
151 Group(pl):      Sieciowe/Serwery
152 Prereq:         %{_sbindir}/apxs
153 Requires:       %{name}(EAPI) = %{version}
154
155 %description mod_auth
156 This package contains mod_auth module. It provides for user
157 authentication using textual files.
158
159 %package mod_auth_anon
160 Summary:        Apache module with "anonymous" user access authentication
161 Summary(pl):    Modu³ apache oferuj±cy anonimow± autoryzacjê u¿ytkownia
162 Group:          Networking/Daemons
163 Group(de):      Netzwerkwesen/Server
164 Group(pl):      Sieciowe/Serwery
165 Prereq:         %{_sbindir}/apxs
166 Requires:       %{name}(EAPI) = %{version}
167
168 %description mod_auth_anon
169 This package contains mod_auth_anon module. It allows "anonymous" user
170 access to authenticated areas. It does access control in a manner
171 similar to anonymous-ftp sites; i.e. have a 'magic' user id
172 'anonymous' and the email address as a password. These email addresses
173 can be logged. Combined with other (database) access control methods,
174 this allows for effective user tracking and customization according to
175 a user profile while still keeping the site open for 'unregistered'
176 users. One advantage of using Auth-based user tracking is that, unlike
177 magic-cookies and funny URL pre/postfixes, it is completely browser
178 independent and it allows users to share URLs.
179
180 %description -l pl mod_auth_anon
181 Ten modu³ oferuje anonimow± autoryzacjê u¿ytkownia podobnie do
182 anonimowych serwerów ftp (u¿ytkownik ,,anonymous'' oraz has³o w
183 postaci adresu pocztowego u¿ytkownika).
184
185 %package mod_auth_db
186 Summary:        Apache module with user authentication which uses Berkeley DB files
187 Summary(pl):    Modu³ apache z mechanizmem autentykacji u¿ywaj±cym plików Berkeley DB
188 Group:          Networking/Daemons
189 Group(de):      Netzwerkwesen/Server
190 Group(pl):      Sieciowe/Serwery
191 Prereq:         %{_sbindir}/apxs
192 Requires:       %{name}(EAPI) = %{version}
193
194 %description mod_auth_db
195 This package contains mod_auth_db module. It provides for user
196 authentication using Berkeley DB files. It is an alternative to DBM
197 files for those systems which support DB and not DBM. It is only
198 available in Apache 1.1 and later.
199
200 %description -l pl mod_auth_db
201 Ten modu³ zawiera modu³ mod_auth_db. Modu³ ten s³u¿y do autentykacji
202 ale jako plików danych u¿ywa Berkeley DB.
203
204 %package mod_define
205 Summary:        Apache module - authentication variables for arbitrary directives
206 Summary(pl):    Modu³ apache do definiowania zmiennych
207 Group:          Networking/Daemons
208 Group(de):      Netzwerkwesen/Server
209 Group(pl):      Sieciowe/Serwery
210 Prereq:         %{_sbindir}/apxs
211 Requires:       %{name}(EAPI) = %{version}
212
213 %description mod_define
214 It provides the definition variables for arbitrary directives, i.e.
215 variables which can be expanded on any(!) directive line.
216
217 %description -l pl mod_define
218 Modu³ ten umo¿liwia definicjê zmiennych i dyrektyw.
219
220 %package mod_digest
221 Summary:        Apache user authentication module using MD5 Digest Authentication 
222 Summary(pl):    Modu³ apache do autoryzacji MD5
223 Group:          Networking/Daemons
224 Group(de):      Netzwerkwesen/Server
225 Group(pl):      Sieciowe/Serwery
226 Prereq:         %{_sbindir}/apxs
227 Requires:       %{name}(EAPI) = %{version}
228
229 %description mod_digest
230 This package contains mod_digest module. It provides user
231 authentication using MD5 Digest Authentication.
232
233 %description -l pl mod_digest
234 Modu³ ten dostarcza metodê autoryzacji bazuj±c± na MD5 Digest
235 Authentication.
236
237 %package mod_dir
238 Summary:        Apache module for "trailing slash" redirects and serving directory index files
239 Summary(pl):    Modu³ oferuj±cy przekierowania i serwowanie indeksu katalogu.
240 Group:          Networking/Daemons
241 Group(de):      Netzwerkwesen/Server
242 Group(pl):      Sieciowe/Serwery
243 Prereq:         %{_sbindir}/apxs
244 Requires:       %{name}(EAPI) = %{version}
245
246 %description mod_dir
247 This package contains mod_dir which provides "trailing slash"
248 redirects and serving directory index files.
249
250 %description -l pl mod_dir
251 Modu³ oferuj±cy przekierowania i serwowanie indeksu katalogu.
252
253 %package mod_headers
254 Summary:        Apache module allows for the customization of HTTP response headers
255 Summary(pl):    Modu³ pozwalaj±cy na modyfikacjê nag³ówków HTTP
256 Group:          Networking/Daemons
257 Group(de):      Netzwerkwesen/Server
258 Group(pl):      Sieciowe/Serwery
259 Prereq:         %{_sbindir}/apxs
260 Requires:       %{name}(EAPI) = %{version}
261
262 %description mod_headers
263 This package contains mod_headers module. The module allows for the
264 customization of HTTP response headers. Headers can be merged,
265 replaced or removed.
266
267 %description -l pl mod_headers
268 Modu³ pozwalaj±cy na ³±czenie, usuwania, zamianê nag³ówków HTTP
269 wysy³anych do przegl±darki.
270
271 %package mod_mmap_static
272 Summary:        Apache module for mmap()ing statically configured list files
273 Summary(pl):    Modu³ s³u¿±cy do mmap()owania plików.
274 Group:          Networking/Daemons
275 Group(de):      Netzwerkwesen/Server
276 Group(pl):      Sieciowe/Serwery
277 Prereq:         %{_sbindir}/apxs
278 Requires:       %{name}(EAPI) = %{version}
279
280 %description mod_mmap_static
281 This package contains mod_mmap_static module. It provides mmap()ing of
282 a statically configured list of frequently requested but not changed
283 files.
284
285 %description -l pl mod_mmap_static
286 Modu³ umo¿liwia mmap()owanie statycznie skonfigurowanych plików
287 (czêsto u¿ywanych ale nie ulegaj±cych zmianom).
288
289 %package mod_imap
290 Summary:        Apache module with imap-file handler
291 Summary(pl):    Modu³ z obs³ug± imap-file
292 Group:          Networking/Daemons
293 Group(de):      Netzwerkwesen/Server
294 Group(pl):      Sieciowe/Serwery
295 Prereq:         %{_sbindir}/apxs
296 Requires:       %{name}(EAPI) = %{version}
297
298 %description mod_imap
299 This package contains mod_imap module. It provides for .map files,
300 replacing the functionality of the imagemap CGI program. Any directory
301 or document type configured to use the handler imap-file.
302
303 %description -l pl mod_imap
304 Modu³ umozliwiaj±cy obs³ugê plików .map (imap-file handler)
305
306 %package mod_info
307 Summary:        Apache module with comprehensive overview of the server configuration
308 Summary(pl):    Modu³ dostarczaj±cy informacji na temat serwera.
309 Group:          Networking/Daemons
310 Group(de):      Netzwerkwesen/Server
311 Group(pl):      Sieciowe/Serwery
312 Prereq:         %{_sbindir}/apxs
313 Requires:       %{name}(EAPI) = %{version}
314
315 %description mod_info
316 This package contains mod_info module. It provides a comprehensive
317 overview of the server configuration including all installed modules
318 and directives in the configuration files.
319
320 %description -l pl mod_info
321 Modu³ dostarczaj±cy informacji o konfiguracji serwera, zainstalowanych
322 modu³ach itp.
323
324 %package mod_proxy
325 Summary:        Apache module with Web proxy
326 Summary(pl):    Modu³ dodaj±cy obs³ugê serwera proxy
327 Group:          Networking/Daemons
328 Group(de):      Netzwerkwesen/Server
329 Group(pl):      Sieciowe/Serwery
330 Prereq:         %{_sbindir}/apxs
331 Requires:       %{name}(EAPI) = %{version}
332
333 %description mod_proxy
334 This package contains module with implementation a proxy/cache for
335 Apache. It implements proxying capability for FTP, CONNECT (for SSL),
336 HTTP/0.9, and HTTP/1.0. The module can be configured to connect to
337 other proxy modules for these and other protocols.
338
339 %description -l pl mod_proxy
340 Modu³ zawiera implementacjê serwera proxy/cache dla Apache.
341 Iplementacja zawiera obs³ugê FTP, CONNECT (dla SSL), HTTP/0.9 i
342 HTTP/1.0.
343
344 %package mod_rewrite
345 Summary:        Apache module with rule-based engine for rewrite requested URLs on the fly
346 Summary(pl):    Modu³ do ,,przepisywania'' adresów URL w locie
347 Group:          Networking/Daemons
348 Group(de):      Netzwerkwesen/Server
349 Group(pl):      Sieciowe/Serwery
350 Prereq:         %{_sbindir}/apxs
351 Requires:       %{name}(EAPI) = %{version}
352
353 %description mod_rewrite
354 This package contains It provides a rule-based rewriting engine to
355 rewrite requested URLs on the fly.
356
357 %description -l pl mod_rewrite
358 Modu³ oferuj±cy mo¿liwo¶æ ,,przepisywania'' adresów URL w locie.
359
360 %package mod_status
361 Summary:        Server status report module for apache
362 Summary(pl):    Modu³ dostarczaj±cy informacje statystyczne o serwerze.
363 Group:          Networking/Daemons
364 Group(de):      Netzwerkwesen/Server
365 Group(pl):      Sieciowe/Serwery
366 Prereq:         %{_sbindir}/apxs
367 Requires:       %{name}(EAPI) = %{version}
368
369 %description mod_status
370 The Status module allows a server administrator to find out how well
371 their server is performing. A HTML page is presented that gives the
372 current server statistics in an easily readable form. If required this
373 page can be made to automatically refresh (given a compatible
374 browser).
375
376 %description -l pl mod_status
377 Modu³ pozwala administratorowi na przegl±danie statystyk dotycz±cych
378 pracy serwera apache (w postaci strony HTML).
379
380 %package mod_usertrack
381 Summary:        Apache module for user tracking using cookies
382 Summary(pl):    Modu³ s³u¿±cy do ¶ledzenia ,,ciasteczek''.
383 Group:          Networking/Daemons
384 Group(de):      Netzwerkwesen/Server
385 Group(pl):      Sieciowe/Serwery
386 Prereq:         %{_sbindir}/apxs
387 Requires:       %{name}(EAPI) = %{version}
388
389 %description mod_usertrack
390 This package contains the user tracking module which did its own
391 logging using CookieLog directory. This module allow multiple log
392 files.
393
394 %description -l pl mod_usertrack
395 Modu³ pozwalaj±cy na ¶ledzenie ,,ciasteczek''.
396
397 %package mod_vhost_alias
398 Summary:        Apache module for dynamically configured mass virtual hosting
399 Summary(pl):    Modu³ dodaj±cy obs³ugê hostów wirtualnych.
400 Group:          Networking/Daemons
401 Group(de):      Netzwerkwesen/Server
402 Group(pl):      Sieciowe/Serwery
403 Prereq:         %{_sbindir}/apxs
404 Requires:       %{name}(EAPI) = %{version}
405
406 %description mod_vhost_alias
407 This package contains the mod_vhost_alias. It provides support for
408 dynamically configured mass virtual hosting.
409
410 %description -l pl mod_vhost_alias
411 Modu³ umo¿liwia na dynamiczne konfigurowanie masowej ilo¶ci serwerów
412 wirtualnych.
413
414 %package mod_unique_id
415 Summary:        Apache module which provides a magic token for each request
416 Group:          Networking/Daemons
417 Group(de):      Netzwerkwesen/Server
418 Group(pl):      Sieciowe/Serwery
419 Prereq:         %{_sbindir}/apxs
420 Requires:       %{name}(EAPI) = %{version}
421
422 %description mod_unique_id
423 This package contains the mod_unique_id. This module provides a magic
424 token for each request which is guaranteed to be unique across "all"
425 requests under very specific conditions. The unique identifier is even
426 unique across multiple machines in a properly configured cluster of
427 machines. The environment variable UNIQUE_ID is set to the identifier
428 for each request. Unique identifiers are useful for various reasons
429 which are beyond the scope of this document.
430
431 %package mod_expires
432 Summary:        Apache module which provides .... 
433 Group:          Networking/Daemons
434 Group(de):      Netzwerkwesen/Server
435 Group(pl):      Sieciowe/Serwery
436 Prereq:         %{_sbindir}/apxs
437 Requires:       %{name}(EAPI) = %{version}
438
439 %description mod_expires
440
441 %prep 
442 %setup -q -n apache_%{version} -a3
443 %patch0 -p1
444 %patch1 -p1
445 %patch2 -p1
446 %patch3 -p1
447 %patch4 -p1
448 %patch5 -p1
449 %patch6 -p1
450 %patch7 -p1
451 %patch8 -p1
452 %patch9 -p1
453 %patch10 -p1
454 %{?mod_rewrite_ldap:%patch11 -p1}
455
456 %build
457 OPTIM="%{!?debug:$RPM_OPT_FLAGS}%{?debug:-O -g}" \
458 ./configure \
459         --prefix=%{_prefix} \
460         --sysconfdir=%{_sysconfdir} \
461         --includedir=%{_includedir} \
462         --sbindir=%{_sbindir} \
463         --libexecdir=%{_libexecdir} \
464         --datadir=%{_datadir} \
465         --localstatedir=/var \
466         --runtimedir=/var/run \
467         --logfiledir=/var/log/httpd \
468         --with-layout=PLD \
469         --without-confadjust \
470         --enable-module=all \
471         --disable-module=auth_dbm \
472         --enable-shared=max \
473         --proxycachedir=/var/cache/apache \
474         --with-perl=%{_bindir}/perl \
475         --enable-suexec \
476         --suexec-caller=http \
477         --suexec-uidmin=500 \
478         --suexec-gidmin=500 \
479         --suexec-docroot=%{_datadir} \
480         --disable-rule=WANTHSREGEX \
481         --enable-rule=EAPI \
482         --enable-rule=INET6
483 %{__make} LIBS1="-lm -lcrypt -lmm -ldl"
484
485 rm -f src/modules/standard/mod_auth_db.so
486 %{__make} -C src/modules/standard mod_auth_db.so LIBS_SHLIB="-ldb"
487
488 rm -f src/modules/standard/mod_rewrite.so
489 %{__make} -C src/modules/standard mod_rewrite.so LIBS_SHLIB="-lndbm %{?mod_rewrite_ldap:-lldap -llber}"
490
491 %install
492 rm -rf $RPM_BUILD_ROOT
493 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig} \
494         $RPM_BUILD_ROOT%{_datadir}/errordocs \
495         $RPM_BUILD_ROOT/var/{log/{httpd,archiv/httpd},lib/apache/mm}
496
497 %{__make} install-quiet root="$RPM_BUILD_ROOT"
498
499 mv -f $RPM_BUILD_ROOT%{_datadir}/html/manual $RPM_BUILD_ROOT%{_datadir}
500
501 install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache
502 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/httpd
503 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/apache
504
505 touch $RPM_BUILD_ROOT/var/log/httpd/{access,error,agent,referer}_log
506
507 install errordocs/* $RPM_BUILD_ROOT%{_datadir}/errordocs
508
509 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
510
511 install %{SOURCE8}  $RPM_BUILD_ROOT%{_sysconfdir}/mod_vhost_alias.conf
512 install %{SOURCE9}  $RPM_BUILD_ROOT%{_sysconfdir}/mod_status.conf
513 install %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/mod_proxy.conf
514
515 ln -sf index.html.en $RPM_BUILD_ROOT%{_datadir}/html/index.html
516
517 gzip -9nf ABOUT_APACHE src/CHANGES KEYS README
518
519 %pre
520 if [ -n "`getgid http`" ]; then
521         if [ "`getgid http`" != "51" ]; then
522                 echo "Warning:group http haven't gid=51. Corect this before install apache" 1>&2
523                 exit 1
524         fi
525 else
526         /usr/sbin/groupadd -g 51 -r -f http
527         if [ -f /var/db/group.db ]; then
528                 /usr/bin/update-db 1>&2
529         fi
530 fi
531 if [ -n "`id -u http 2>/dev/null`" ]; then
532         if [ "`id -u http`" != "51" ]; then
533                 echo "Warning:user http haven't uid=51. Corect this before install apache" 1>&2
534                 exit 1
535         fi
536 else
537         /usr/sbin/useradd -u 51 -r -d /home/httpd -s /bin/false -c "HTTP User" -g http http 1>&2
538         if [ -f /var/db/passwd.db ]; then
539                 /usr/bin/update-db 1>&2
540         fi
541 fi
542
543 %post
544 /sbin/chkconfig --add httpd
545 %{_sbindir}/apxs -e -a -n access %{_libexecdir}/mod_access.so 1>&2
546 %{_sbindir}/apxs -e -a -n alias %{_libexecdir}/mod_alias.so 1>&2
547 %{_sbindir}/apxs -e -a -n asis %{_libexecdir}/mod_asis.so 1>&2
548 %{_sbindir}/apxs -e -a -n autoindex %{_libexecdir}/mod_autoindex.so 1>&2
549 %{_sbindir}/apxs -e -a -n cern_meta %{_libexecdir}/mod_cern_meta.so 1>&2
550 %{_sbindir}/apxs -e -a -n cgi %{_libexecdir}/mod_cgi.so 1>&2
551 %{_sbindir}/apxs -e -a -n env %{_libexecdir}/mod_env.so 1>&2
552 %{_sbindir}/apxs -e -a -n include %{_libexecdir}/mod_include.so 1>&2
553 %{_sbindir}/apxs -e -a -n log_agent %{_libexecdir}/mod_log_agent.so 1>&2
554 %{_sbindir}/apxs -e -a -n log_config %{_libexecdir}/mod_log_config.so 1>&2
555 %{_sbindir}/apxs -e -a -n log_referer %{_libexecdir}/mod_log_referer.so 1>&2
556 %{_sbindir}/apxs -e -a -n mime_magic %{_libexecdir}/mod_mime_magic.so 1>&2
557 %{_sbindir}/apxs -e -a -n mime %{_libexecdir}/mod_mime.so 1>&2
558 %{_sbindir}/apxs -e -a -n negotiation %{_libexecdir}/mod_negotiation.so 1>&2
559 %{_sbindir}/apxs -e -a -n setenvif %{_libexecdir}/mod_setenvif.so 1>&2
560 %{_sbindir}/apxs -e -a -n speling %{_libexecdir}/mod_speling.so 1>&2
561 %{_sbindir}/apxs -e -a -n userdir %{_libexecdir}/mod_userdir.so 1>&2
562 umask 137
563 touch /var/log/httpd/{access,error,agent,referer}_log
564 if [ -f /var/lock/subsys/httpd ]; then
565         /etc/rc.d/init.d/httpd restart 1>&2
566 else
567         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
568 fi
569
570 %preun
571 if [ "$1" = "0" ]; then
572         %{_sbindir}/apxs -e -A -n access %{_libexecdir}/mod_access.so 1>&2
573         %{_sbindir}/apxs -e -A -n alias %{_libexecdir}/mod_alias.so 1>&2
574         %{_sbindir}/apxs -e -A -n asis %{_libexecdir}/mod_asis.so 1>&2
575         %{_sbindir}/apxs -e -A -n autoindex %{_libexecdir}/mod_autoindex.so 1>&2
576         %{_sbindir}/apxs -e -A -n cern_meta %{_libexecdir}/mod_cern_meta.so 1>&2
577         %{_sbindir}/apxs -e -A -n cgi %{_libexecdir}/mod_cgi.so 1>&2
578         %{_sbindir}/apxs -e -A -n env %{_libexecdir}/mod_env.so 1>&2
579         %{_sbindir}/apxs -e -A -n include %{_libexecdir}/mod_include.so 1>&2
580         %{_sbindir}/apxs -e -A -n log_agent %{_libexecdir}/mod_log_agent.so 1>&2
581         %{_sbindir}/apxs -e -A -n log_config %{_libexecdir}/mod_log_config.so 1>&2
582         %{_sbindir}/apxs -e -A -n log_referer %{_libexecdir}/mod_log_referer.so 1>&2
583         %{_sbindir}/apxs -e -A -n mime %{_libexecdir}/mod_mime.so 1>&2
584         %{_sbindir}/apxs -e -A -n mime_magic %{_libexecdir}/mod_mime_magic.so 1>&2
585         %{_sbindir}/apxs -e -A -n negotiation %{_libexecdir}/mod_negotiation.so 1>&2
586         %{_sbindir}/apxs -e -A -n setenvif %{_libexecdir}/mod_setenvif.so 1>&2
587         %{_sbindir}/apxs -e -A -n speling %{_libexecdir}/mod_speling.so 1>&2
588         %{_sbindir}/apxs -e -A -n userdir %{_libexecdir}/mod_userdir.so 1>&2
589         if [ -f /var/lock/subsys/httpd ]; then
590                 /etc/rc.d/init.d/httpd stop 1>&2
591         fi
592         /sbin/chkconfig --del httpd
593 fi
594
595 %postun
596 if [ "$1" = "0" ]; then
597         /usr/sbin/userdel http
598         if [ -f /var/db/passwd.db ]; then
599                 /usr/bin/update-db
600         fi
601         /usr/sbin/groupdel http
602         if [ -f /var/db/group.db ]; then
603                 /usr/bin/update-db
604         fi
605 fi
606
607 %post mod_actions
608 %{_sbindir}/apxs -e -a -n actions %{_libexecdir}/mod_actions.so 1>&2
609 if [ -f /var/lock/subsys/httpd ]; then
610         /etc/rc.d/init.d/httpd restart 1>&2
611 else
612         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
613 fi
614
615 %preun mod_actions
616 if [ "$1" = "0" ]; then
617         %{_sbindir}/apxs -e -A -n actions %{_libexecdir}/mod_actions.so 1>&2
618         if [ -f /var/lock/subsys/httpd ]; then
619                 /etc/rc.d/init.d/httpd restart 1>&2
620         fi
621 fi
622
623 %post mod_auth
624 %{_sbindir}/apxs -e -a -n auth %{_libexecdir}/mod_auth.so 1>&2
625 if [ -f /var/lock/subsys/httpd ]; then
626         /etc/rc.d/init.d/httpd restart 1>&2
627 else
628         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
629 fi
630
631 %preun mod_auth
632 if [ "$1" = "0" ]; then
633         %{_sbindir}/apxs -e -A -n auth %{_libexecdir}/mod_auth.so 1>&2
634         if [ -f /var/lock/subsys/httpd ]; then
635                 /etc/rc.d/init.d/httpd restart 1>&2
636         fi
637 fi
638
639 %post mod_auth_anon
640 %{_sbindir}/apxs -e -a -n auth_anon %{_libexecdir}/mod_auth_anon.so 1>&2
641 if [ -f /var/lock/subsys/httpd ]; then
642         /etc/rc.d/init.d/httpd restart 1>&2
643 else
644         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
645 fi
646
647 %preun mod_auth_anon
648 if [ "$1" = "0" ]; then
649         %{_sbindir}/apxs -e -A -n auth_anon %{_libexecdir}/mod_auth_anon.so 1>&2
650         if [ -f /var/lock/subsys/httpd ]; then
651                 /etc/rc.d/init.d/httpd restart 1>&2
652         fi
653 fi
654
655 %post mod_auth_db
656 %{_sbindir}/apxs -e -a -n auth_db %{_libexecdir}/mod_auth_db.so 1>&2
657 if [ -f /var/lock/subsys/httpd ]; then
658         /etc/rc.d/init.d/httpd restart 1>&2
659 else
660         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
661 fi
662
663 %preun mod_auth_db
664 if [ "$1" = "0" ]; then
665         %{_sbindir}/apxs -e -A -n auth_db %{_libexecdir}/mod_auth_db.so 1>&2
666         if [ -f /var/lock/subsys/httpd ]; then
667                 /etc/rc.d/init.d/httpd restart 1>&2
668         fi
669 fi
670
671 %post mod_define
672 %{_sbindir}/apxs -e -a -n define %{_libexecdir}/mod_define.so 1>&2
673 if [ -f /var/lock/subsys/httpd ]; then
674         /etc/rc.d/init.d/httpd restart 1>&2
675 else
676         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
677 fi
678
679 %preun mod_define
680 if [ "$1" = "0" ]; then
681         %{_sbindir}/apxs -e -A -n define %{_libexecdir}/mod_define.so 1>&2
682         if [ -f /var/lock/subsys/httpd ]; then
683                 /etc/rc.d/init.d/httpd restart 1>&2
684         fi
685 fi
686
687 %post mod_digest
688 %{_sbindir}/apxs -e -a -n digest %{_libexecdir}/mod_digest.so 1>&2
689 if [ -f /var/lock/subsys/httpd ]; then
690         /etc/rc.d/init.d/httpd restart 1>&2
691 else
692         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
693 fi
694
695 %preun mod_digest
696 if [ "$1" = "0" ]; then
697         %{_sbindir}/apxs -e -A -n digest %{_libexecdir}/mod_digest.so 1>&2
698         if [ -f /var/lock/subsys/httpd ]; then
699                 /etc/rc.d/init.d/httpd restart 1>&2
700         fi
701 fi
702
703 %post mod_dir
704 %{_sbindir}/apxs -e -a -n dir %{_libexecdir}/mod_dir.so 1>&2
705 if [ -f /var/lock/subsys/httpd ]; then
706         /etc/rc.d/init.d/httpd restart 1>&2
707 else
708         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
709 fi
710
711 %preun mod_dir
712 if [ "$1" = "0" ]; then
713         %{_sbindir}/apxs -e -A -n dir %{_libexecdir}/mod_dir.so 1>&2
714         if [ -f /var/lock/subsys/httpd ]; then
715                 /etc/rc.d/init.d/httpd restart 1>&2
716         fi
717 fi
718
719 %post mod_expires
720 %{_sbindir}/apxs -e -a -n expires %{_libexecdir}/mod_expires.so 1>&2
721 if [ -f /var/lock/subsys/httpd ]; then
722         /etc/rc.d/init.d/httpd restart 1>&2
723 else
724         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
725 fi
726
727 %preun mod_expires
728 if [ "$1" = "0" ]; then
729         %{_sbindir}/apxs -e -A -n expires %{_libexecdir}/mod_expires.so 1>&2
730         if [ -f /var/lock/subsys/httpd ]; then
731                 /etc/rc.d/init.d/httpd restart 1>&2
732         fi
733 fi
734
735 %post mod_headers
736 %{_sbindir}/apxs -e -a -n headers %{_libexecdir}/mod_headers.so 1>&2
737 if [ -f /var/lock/subsys/httpd ]; then
738         /etc/rc.d/init.d/httpd restart 1>&2
739 else
740         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
741 fi
742
743 %preun mod_headers
744 if [ "$1" = "0" ]; then
745         %{_sbindir}/apxs -e -A -n headers %{_libexecdir}/mod_headers.so 1>&2
746         if [ -f /var/lock/subsys/httpd ]; then
747                 /etc/rc.d/init.d/httpd restart 1>&2
748         fi
749 fi
750
751 %post mod_mmap_static
752 %{_sbindir}/apxs -e -a -n mmap_static %{_libexecdir}/mod_mmap_static.so 1>&2
753 if [ -f /var/lock/subsys/httpd ]; then
754         /etc/rc.d/init.d/httpd restart 1>&2
755 else
756         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
757 fi
758
759 %preun mod_mmap_static
760 if [ "$1" = "0" ]; then
761         %{_sbindir}/apxs -e -A -n mmap_static %{_libexecdir}/mod_mmap_static.so 1>&2
762         if [ -f /var/lock/subsys/httpd ]; then
763                 /etc/rc.d/init.d/httpd restart 1>&2
764         fi
765 fi
766
767 %post mod_imap
768 %{_sbindir}/apxs -e -a -n imap %{_libexecdir}/mod_imap.so 1>&2
769 if [ -f /var/lock/subsys/httpd ]; then
770         /etc/rc.d/init.d/httpd restart 1>&2
771 else
772         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
773 fi
774
775 %preun mod_imap
776 if [ "$1" = "0" ]; then
777         %{_sbindir}/apxs -e -A -n imap %{_libexecdir}/mod_imap.so 1>&2
778         if [ -f /var/lock/subsys/httpd ]; then
779                 /etc/rc.d/init.d/httpd restart 1>&2
780         fi
781 fi
782
783 %post mod_info
784 %{_sbindir}/apxs -e -a -n info %{_libexecdir}/mod_info.so 1>&2
785 if [ -f /var/lock/subsys/httpd ]; then
786         /etc/rc.d/init.d/httpd restart 1>&2
787 else
788         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
789 fi
790
791 %preun mod_info
792 if [ "$1" = "0" ]; then
793         %{_sbindir}/apxs -e -A -n info %{_libexecdir}/mod_info.so 1>&2
794         if [ -f /var/lock/subsys/httpd ]; then
795                 /etc/rc.d/init.d/httpd restart 1>&2
796         fi
797 fi
798
799 %post mod_proxy
800 %{_sbindir}/apxs -e -a -n proxy %{_libexecdir}/libproxy.so 1>&2
801 if [ -f /etc/httpd/httpd.conf ] && ! grep -q "^Include.*mod_proxy.conf" /etc/httpd/httpd.conf; then
802         echo "Include /etc/httpd/mod_proxy.conf" >> /etc/httpd/httpd.conf
803 fi
804 if [ -f /var/lock/subsys/httpd ]; then
805         /etc/rc.d/init.d/httpd restart 1>&2
806 else
807         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
808 fi
809
810 %preun mod_proxy
811 if [ "$1" = "0" ]; then
812         %{_sbindir}/apxs -e -A -n proxy %{_libexecdir}/libproxy.so 1>&2
813         grep -v -q "^Include.*mod_proxy.conf" /etc/httpd/httpd.conf > \
814                 /etc/httpd/httpd.conf.tmp
815         mv -f /etc/httpd/httpd.conf.tmp /etc/httpd/httpd.conf
816         if [ -f /var/lock/subsys/httpd ]; then
817                 /etc/rc.d/init.d/httpd restart 1>&2
818         fi
819 fi
820
821 %post mod_rewrite
822 %{_sbindir}/apxs -e -a -n rewrite %{_libexecdir}/mod_rewrite.so 1>&2
823 if [ -f /var/lock/subsys/httpd ]; then
824         /etc/rc.d/init.d/httpd restart 1>&2
825 else
826         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
827 fi
828
829 %preun mod_rewrite
830 if [ "$1" = "0" ]; then
831         %{_sbindir}/apxs -e -A -n rewrite %{_libexecdir}/mod_rewrite.so 1>&2
832         if [ -f /var/lock/subsys/httpd ]; then
833                 /etc/rc.d/init.d/httpd restart 1>&2
834         fi
835 fi
836
837 %post mod_status
838 %{_sbindir}/apxs -e -a -n status %{_libexecdir}/mod_status.so 1>&2
839 if [ -f /etc/httpd/httpd.conf ] && ! grep -q "^Include.*mod_status.conf" /etc/httpd/httpd.conf; then
840         echo "Include /etc/httpd/mod_status.conf" >> /etc/httpd/httpd.conf
841 fi
842 if [ -f /var/lock/subsys/httpd ]; then
843         /etc/rc.d/init.d/httpd restart 1>&2
844 else
845         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
846 fi
847
848 %preun mod_status
849 if [ "$1" = "0" ]; then
850         %{_sbindir}/apxs -e -A -n status %{_libexecdir}/mod_status.so 1>&2
851         grep -v -q "^Include.*mod_status.conf" /etc/httpd/httpd.conf > \
852                 /etc/httpd/httpd.conf.tmp
853         mv -f /etc/httpd/httpd.conf.tmp /etc/httpd/httpd.conf
854         if [ -f /var/lock/subsys/httpd ]; then
855                 /etc/rc.d/init.d/httpd restart 1>&2
856         fi
857 fi
858
859 %post mod_usertrack
860 %{_sbindir}/apxs -e -a -n usertrack %{_libexecdir}/mod_usertrack.so 1>&2
861 if [ -f /var/lock/subsys/httpd ]; then
862         /etc/rc.d/init.d/httpd restart 1>&2
863 else
864         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
865 fi
866
867 %preun mod_usertrack
868 if [ "$1" = "0" ]; then
869         %{_sbindir}/apxs -e -A -n usertrack %{_libexecdir}/mod_usertrack.so 1>&2
870         if [ -f /var/lock/subsys/httpd ]; then
871                 /etc/rc.d/init.d/httpd restart 1>&2
872         fi
873 fi
874
875 %post mod_unique_id
876 %{_sbindir}/apxs -e -a -n unique_id %{_libexecdir}/mod_unique_id.so 1>&2
877 if [ -f /var/lock/subsys/httpd ]; then
878         /etc/rc.d/init.d/httpd restart 1>&2
879 else
880         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
881 fi
882
883 %preun mod_unique_id
884 if [ "$1" = "0" ]; then
885         %{_sbindir}/apxs -e -A -n unique_id %{_libexecdir}/mod_unique_id.so 1>&2
886         if [ -f /var/lock/subsys/httpd ]; then
887                 /etc/rc.d/init.d/httpd restart 1>&2
888         fi
889 fi
890
891 %post mod_vhost_alias
892 %{_sbindir}/apxs -e -a -n vhost_alias %{_libexecdir}/mod_vhost_alias.so 1>&2
893 if [ -f /etc/httpd/httpd.conf ] && ! grep -q "^Include.*mod_vhost_alias.conf" /etc/httpd/httpd.conf; then
894         echo "Include /etc/httpd/mod_vhost_alias.conf" >> /etc/httpd/httpd.conf
895 fi
896 if [ -f /var/lock/subsys/httpd ]; then
897         /etc/rc.d/init.d/httpd restart 1>&2
898 else
899         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
900 fi
901
902 %preun mod_vhost_alias
903 if [ "$1" = "0" ]; then
904         %{_sbindir}/apxs -e -A -n vhost_alias %{_libexecdir}/mod_vhost_alias.so 1>&2
905         grep -v -q "^Include.*mod_vhost_alias.conf" /etc/httpd/httpd.conf > \
906                 /etc/httpd/httpd.conf.tmp
907         mv -f /etc/httpd/httpd.conf.tmp /etc/httpd/httpd.conf
908         if [ -f /var/lock/subsys/httpd ]; then
909                 /etc/rc.d/init.d/httpd restart 1>&2
910         fi
911 fi
912
913 %clean
914 rm -rf $RPM_BUILD_ROOT
915
916 %files
917 %defattr(644,root,root,755)
918 %doc ABOUT_APACHE.gz src/CHANGES.gz KEYS.gz README.gz
919 %doc conf/mime.types
920
921 %dir %{_datadir}/manual
922 %dir %{_datadir}/manual/images/
923 %{_datadir}/manual/images/sub.gif
924 %{_datadir}/manual/images/index.gif
925 %{_datadir}/manual/images/home.gif 
926 %{_datadir}/manual/misc
927 %dir %{_datadir}/manual/search
928 %attr(755,root,root) %{_datadir}/manual/search/manual-index.cgi
929 %{_datadir}/manual/vhosts
930 %{_datadir}/manual/LICENSE
931 %{_datadir}/manual/bind.html
932 %{_datadir}/manual/cgi_path.html
933 %{_datadir}/manual/content-negotiation.html
934 %{_datadir}/manual/custom-error.html
935 %{_datadir}/manual/dns-caveats.html
936 %{_datadir}/manual/dso.html
937 %{_datadir}/manual/env.html
938 %{_datadir}/manual/footer.html
939 %{_datadir}/manual/handler.html
940 %{_datadir}/manual/header.html
941 %{_datadir}/manual/index.html
942 %{_datadir}/manual/install.html
943 %{_datadir}/manual/invoking.html
944 %{_datadir}/manual/keepalive.html
945 %{_datadir}/manual/location.html
946 %{_datadir}/manual/multilogs.html
947 %{_datadir}/manual/new_features_1_3.html
948 %{_datadir}/manual/process-model.html
949 %{_datadir}/manual/sections.html
950 %{_datadir}/manual/sourcereorg.html
951 %{_datadir}/manual/suexec.html
952 %{_datadir}/manual/upgrading_to_1_3.html
953 %dir %{_datadir}/manual/mod
954 %{_datadir}/manual/mod/core.html
955 %{_datadir}/manual/mod/directive-dict.html
956 %{_datadir}/manual/mod/directives.html
957 %{_datadir}/manual/mod/footer.html
958 %{_datadir}/manual/mod/header.html
959 %{_datadir}/manual/mod/index.html
960 %{_datadir}/manual/mod/mod_access.html
961 %{_datadir}/manual/mod/mod_alias.html
962 %{_datadir}/manual/mod/mod_asis.html
963 %{_datadir}/manual/mod/mod_autoindex.html
964 %{_datadir}/manual/mod/mod_cgi.html
965 %{_datadir}/manual/mod/mod_cookies.html
966 %{_datadir}/manual/mod/mod_env.html
967 %{_datadir}/manual/mod/mod_include.html
968 %{_datadir}/manual/mod/mod_log_agent.html
969 %{_datadir}/manual/mod/mod_log_config.html
970 %{_datadir}/manual/mod/mod_log_referer.html
971 %{_datadir}/manual/mod/mod_mime.html
972 %{_datadir}/manual/mod/mod_mime_magic.html
973 %{_datadir}/manual/mod/mod_negotiation.html
974 %{_datadir}/manual/mod/mod_setenvif.html
975 %{_datadir}/manual/mod/mod_speling.html
976 %{_datadir}/manual/mod/mod_userdir.html
977
978 %attr(754,root,root) /etc/rc.d/init.d/httpd
979
980 %attr(750,root,root) %dir %{_sysconfdir}
981 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf
982 %attr(640,root,root) %{_sysconfdir}/magic
983
984 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/*
985 %attr(640,root,root) %config(noreplace) /etc/logrotate.d/*
986
987 %attr(755,root,root) %dir %{_datadir}/html
988 %config(noreplace) %{_datadir}/html/index.html
989 %lang(ca) %{_datadir}/html/index.html.ca
990 %lang(cz) %{_datadir}/html/index.html.cz
991 %lang(de) %{_datadir}/html/index.html.de
992 %lang(dk) %{_datadir}/html/index.html.dk
993 %lang(ee) %{_datadir}/html/index.html.ee
994 %lang(en) %{_datadir}/html/index.html.en
995 %lang(es) %{_datadir}/html/index.html.es
996 %lang(fr) %{_datadir}/html/index.html.fr
997 %lang(it) %{_datadir}/html/index.html.it
998 %lang(lu) %{_datadir}/html/index.html.lu
999 %lang(nl) %{_datadir}/html/index.html.nl
1000 %lang(pt) %{_datadir}/html/index.html.pt
1001 %lang(se) %{_datadir}/html/index.html.se
1002
1003 %{_datadir}/html/*.gif
1004 %{_datadir}/errordocs
1005 %dir %{_datadir}/icons
1006 %{_datadir}/icons/*.gif
1007 %dir %{_datadir}/icons/small
1008 %{_datadir}/icons/small/*.gif
1009 %attr(755,root,root) %{_datadir}/cgi-bin
1010
1011 %dir %{_libexecdir}
1012 %attr(755,root,root) %{_libexecdir}/mod_access.so
1013 %attr(755,root,root) %{_libexecdir}/mod_alias.so
1014 %attr(755,root,root) %{_libexecdir}/mod_asis.so
1015 %attr(755,root,root) %{_libexecdir}/mod_autoindex.so
1016 %attr(755,root,root) %{_libexecdir}/mod_cern_meta.so
1017 %attr(755,root,root) %{_libexecdir}/mod_cgi.so
1018 %attr(755,root,root) %{_libexecdir}/mod_env.so
1019 %attr(755,root,root) %{_libexecdir}/mod_include.so
1020 %attr(755,root,root) %{_libexecdir}/mod_log_agent.so
1021 %attr(755,root,root) %{_libexecdir}/mod_log_config.so
1022 %attr(755,root,root) %{_libexecdir}/mod_log_referer.so
1023 %attr(755,root,root) %{_libexecdir}/mod_mime.so
1024 %attr(755,root,root) %{_libexecdir}/mod_mime_magic.so
1025 %attr(755,root,root) %{_libexecdir}/mod_negotiation.so
1026 %attr(755,root,root) %{_libexecdir}/mod_setenvif.so
1027 %attr(755,root,root) %{_libexecdir}/mod_speling.so
1028 %attr(755,root,root) %{_libexecdir}/mod_userdir.so
1029
1030 %attr(755,root,root) %{_bindir}/htdigest
1031
1032 %attr(755,root,root) %{_sbindir}/ab
1033 %attr(755,root,root) %{_sbindir}/apachectl
1034 %attr(755,root,root) %{_sbindir}/apxs
1035 %attr(755,root,root) %{_sbindir}/httpd
1036 %attr(755,root,root) %{_sbindir}/logresolve
1037 %attr(755,root,root) %{_sbindir}/rotatelogs
1038
1039 %dir %attr(750,http,http) /var/lib/apache
1040
1041 %{_mandir}/man1/htdigest.1*
1042 %{_mandir}/man8/*
1043
1044 %attr(750,root,root) %dir /var/log/httpd
1045 %attr(750,root,root) %dir /var/log/archiv/httpd
1046 %attr(640,root,root) %ghost /var/log/httpd/*
1047
1048 %files suexec
1049 %defattr(644,root,root,755)
1050 %attr(4755,root,root) %{_sbindir}/suexec
1051
1052 %files devel
1053 %defattr(644,root,root,755)
1054 %{_includedir}
1055
1056 %files mod_actions
1057 %defattr(644,root,root,755)
1058 %attr(755,root,root) %{_libexecdir}/mod_actions.so
1059 %{_datadir}/manual/mod/mod_actions.html
1060
1061 %files mod_auth
1062 %defattr(644,root,root,755)
1063 %attr(755,root,root) %{_libexecdir}/mod_auth.so
1064 %{_datadir}/manual/mod/mod_auth.html
1065
1066 %files mod_auth_anon
1067 %defattr(644,root,root,755)
1068 %attr(755,root,root) %{_libexecdir}/mod_auth_anon.so
1069 %{_datadir}/manual/mod/mod_auth_anon.html
1070
1071 %files mod_auth_db
1072 %defattr(644,root,root,755)
1073 %attr(755,root,root) %{_libexecdir}/mod_auth_db.so
1074 %attr(755,root,root) %{_bindir}/dbmmanage 
1075 %attr(755,root,root) %{_bindir}/htpasswd
1076 %{_datadir}/manual/mod/mod_auth_db.html
1077 %{_mandir}/man1/dbmmanage.1*
1078 %{_mandir}/man1/htpasswd.1*
1079
1080 %files mod_define
1081 %defattr(644,root,root,755)
1082 %attr(755,root,root) %{_libexecdir}/mod_define.so
1083 %{_datadir}/manual/mod/mod_define.html
1084
1085 %files mod_digest
1086 %defattr(644,root,root,755)
1087 %attr(755,root,root) %{_libexecdir}/mod_digest.so
1088 %{_datadir}/manual/mod/mod_digest.html
1089
1090 %files mod_dir
1091 %defattr(644,root,root,755)
1092 %attr(755,root,root) %{_libexecdir}/mod_dir.so
1093 %{_datadir}/manual/mod/mod_dir.html
1094
1095 %files mod_expires
1096 %defattr(644,root,root,755)
1097 %attr(755,root,root) %{_libexecdir}/mod_expires.so
1098 %{_datadir}/manual/mod/mod_expires.html
1099
1100 %files mod_headers
1101 %defattr(644,root,root,755)
1102 %attr(755,root,root) %{_libexecdir}/mod_headers.so
1103 %{_datadir}/manual/mod/mod_headers.html
1104
1105 %files mod_mmap_static
1106 %defattr(644,root,root,755)
1107 %attr(755,root,root) %{_libexecdir}/mod_mmap_static.so
1108 %{_datadir}/manual/mod/mod_mmap_static.html
1109
1110 %files mod_imap
1111 %defattr(644,root,root,755)
1112 %attr(755,root,root) %{_libexecdir}/mod_imap.so
1113 %{_datadir}/manual/mod/mod_imap.html
1114
1115 %files mod_info
1116 %defattr(644,root,root,755)
1117 %attr(755,root,root) %{_libexecdir}/mod_info.so
1118 %{_datadir}/manual/mod/mod_info.html
1119
1120 %files mod_proxy
1121 %defattr(644,root,root,755)
1122 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mod_proxy.conf
1123 %attr(755,root,root) %{_libexecdir}/libproxy.so
1124 %{_datadir}/manual/mod/mod_proxy.html
1125 %dir %attr(750,http,http) /var/cache/apache
1126
1127 %files mod_rewrite
1128 %defattr(644,root,root,755)
1129 %attr(755,root,root) %{_libexecdir}/mod_rewrite.so
1130 %{_datadir}/manual/mod/mod_rewrite.html
1131
1132 %files mod_status
1133 %defattr(644,root,root,755)
1134 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mod_status.conf
1135 %attr(755,root,root) %{_libexecdir}/mod_status.so
1136 %{_datadir}/manual/mod/mod_status.html
1137
1138 %files mod_usertrack
1139 %defattr(644,root,root,755)
1140 %attr(755,root,root) %{_libexecdir}/mod_usertrack.so
1141 %{_datadir}/manual/mod/mod_usertrack.html
1142
1143 %files mod_unique_id
1144 %defattr(644,root,root,755)
1145 %attr(755,root,root) %{_libexecdir}/mod_unique_id.so
1146 %{_datadir}/manual/mod/mod_unique_id.html
1147
1148 %files mod_vhost_alias
1149 %defattr(644,root,root,755)
1150 %attr(755,root,root) %{_libexecdir}/mod_vhost_alias.so
1151 %{_datadir}/manual/mod/mod_vhost_alias.html
1152 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mod_vhost_alias.conf
This page took 0.373196 seconds and 4 git commands to generate.