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