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