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