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