]> git.pld-linux.org Git - packages/apache.git/blob - apache.spec
- manual/howto/ssi.html is localized now
[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.19
14 Release:        6
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}-v6-PLD-7.patch.gz
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 %{!?bcond_off_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 %{?bcond_off_apache_ipv6:%patch20 -p1}
513 %build
514 OPTIM="%{rpmcflags}" \
515 ./configure \
516         --prefix=%{_prefix} \
517         --sysconfdir=%{_sysconfdir} \
518         --includedir=%{_includedir} \
519         --sbindir=%{_sbindir} \
520         --libexecdir=%{_libexecdir} \
521         --datadir=%{_datadir} \
522         --localstatedir=/var \
523         --runtimedir=/var/run \
524         --logfiledir=/var/log/httpd \
525         --with-layout=PLD \
526         --without-confadjust \
527         --enable-module=all \
528         --enable-shared=max \
529         --proxycachedir=/var/cache/apache \
530         --with-perl=%{_bindir}/perl \
531         --enable-suexec \
532         --suexec-caller=http \
533         --suexec-uidmin=500 \
534         --suexec-gidmin=500 \
535         --suexec-docroot=%{_datadir} \
536         --disable-rule=WANTHSREGEX \
537         --enable-rule=EAPI \
538         %{!?bcond_off_apache_ipv6:--enable-rule=INET6}
539
540 %{__make} LIBS1="-lm -lcrypt -lmm -ldl"
541
542 rm -f src/modules/standard/mod_auth_db.so
543 %{__make} -C src/modules/standard mod_auth_db.so LIBS_SHLIB="-ldb"
544
545 rm -f src/modules/standard/mod_auth_dbm.so
546 %{__make} -C src/modules/standard mod_auth_dbm.so LIBS_SHLIB="-lndbm"
547
548 rm -f src/modules/standard/mod_rewrite.so
549 %{__make} -C src/modules/standard mod_rewrite.so LIBS_SHLIB="-lndbm %{?mod_rewrite_ldap:-lldap -llber}"
550
551 %install
552 rm -rf $RPM_BUILD_ROOT
553 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig} \
554         $RPM_BUILD_ROOT%{_datadir}/errordocs \
555         $RPM_BUILD_ROOT/var/{log/{httpd,archiv/httpd},run/apache}
556
557 %{__make} install-quiet root="$RPM_BUILD_ROOT"
558
559 mv -f $RPM_BUILD_ROOT%{_datadir}/html/manual $RPM_BUILD_ROOT%{_datadir}
560
561 install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache
562 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/httpd
563 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/apache
564
565 touch $RPM_BUILD_ROOT/var/log/httpd/{access,error,agent,referer}_log
566
567 install errordocs/* $RPM_BUILD_ROOT%{_datadir}/errordocs
568
569 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
570
571 install %{SOURCE8}  $RPM_BUILD_ROOT%{_sysconfdir}/mod_vhost_alias.conf
572 install %{SOURCE9}  $RPM_BUILD_ROOT%{_sysconfdir}/mod_status.conf
573 install %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/mod_proxy.conf
574
575 ln -sf index.html.en $RPM_BUILD_ROOT%{_datadir}/html/index.html
576
577 gzip -9nf ABOUT_APACHE src/CHANGES KEYS README
578
579 %pre
580 if [ -n "`getgid http`" ]; then
581         if [ "`getgid http`" != "51" ]; then
582                 echo "Warning: group http haven't gid=51. Correct this before installing apache" 1>&2
583                 exit 1
584         fi
585 else
586         /usr/sbin/groupadd -g 51 -r -f http
587 fi
588 if [ -n "`id -u http 2>/dev/null`" ]; then
589         if [ "`id -u http`" != "51" ]; then
590                 echo "Warning: user http haven't uid=51. Correct this before installing apache" 1>&2
591                 exit 1
592         fi
593 else
594         /usr/sbin/useradd -u 51 -r -d /home/httpd -s /bin/false -c "HTTP User" -g http http 1>&2
595 fi
596
597 %post
598 /sbin/chkconfig --add httpd
599 %{_sbindir}/apxs -e -a -n access %{_libexecdir}/mod_access.so 1>&2
600 %{_sbindir}/apxs -e -a -n alias %{_libexecdir}/mod_alias.so 1>&2
601 %{_sbindir}/apxs -e -a -n asis %{_libexecdir}/mod_asis.so 1>&2
602 %{_sbindir}/apxs -e -a -n autoindex %{_libexecdir}/mod_autoindex.so 1>&2
603 %{_sbindir}/apxs -e -a -n cern_meta %{_libexecdir}/mod_cern_meta.so 1>&2
604 %{_sbindir}/apxs -e -a -n cgi %{_libexecdir}/mod_cgi.so 1>&2
605 %{_sbindir}/apxs -e -a -n env %{_libexecdir}/mod_env.so 1>&2
606 %{_sbindir}/apxs -e -a -n include %{_libexecdir}/mod_include.so 1>&2
607 %{_sbindir}/apxs -e -a -n log_agent %{_libexecdir}/mod_log_agent.so 1>&2
608 %{_sbindir}/apxs -e -a -n log_config %{_libexecdir}/mod_log_config.so 1>&2
609 %{_sbindir}/apxs -e -a -n log_referer %{_libexecdir}/mod_log_referer.so 1>&2
610 %{_sbindir}/apxs -e -a -n mime_magic %{_libexecdir}/mod_mime_magic.so 1>&2
611 %{_sbindir}/apxs -e -a -n mime %{_libexecdir}/mod_mime.so 1>&2
612 %{_sbindir}/apxs -e -a -n negotiation %{_libexecdir}/mod_negotiation.so 1>&2
613 %{_sbindir}/apxs -e -a -n setenvif %{_libexecdir}/mod_setenvif.so 1>&2
614 %{_sbindir}/apxs -e -a -n speling %{_libexecdir}/mod_speling.so 1>&2
615 %{_sbindir}/apxs -e -a -n userdir %{_libexecdir}/mod_userdir.so 1>&2
616 umask 137
617 touch /var/log/httpd/{access,error,agent,referer}_log
618 if [ -f /var/lock/subsys/httpd ]; then
619         /etc/rc.d/init.d/httpd restart 1>&2
620 else
621         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
622 fi
623
624 %preun
625 if [ "$1" = "0" ]; then
626         %{_sbindir}/apxs -e -A -n access %{_libexecdir}/mod_access.so 1>&2
627         %{_sbindir}/apxs -e -A -n alias %{_libexecdir}/mod_alias.so 1>&2
628         %{_sbindir}/apxs -e -A -n asis %{_libexecdir}/mod_asis.so 1>&2
629         %{_sbindir}/apxs -e -A -n autoindex %{_libexecdir}/mod_autoindex.so 1>&2
630         %{_sbindir}/apxs -e -A -n cern_meta %{_libexecdir}/mod_cern_meta.so 1>&2
631         %{_sbindir}/apxs -e -A -n cgi %{_libexecdir}/mod_cgi.so 1>&2
632         %{_sbindir}/apxs -e -A -n env %{_libexecdir}/mod_env.so 1>&2
633         %{_sbindir}/apxs -e -A -n include %{_libexecdir}/mod_include.so 1>&2
634         %{_sbindir}/apxs -e -A -n log_agent %{_libexecdir}/mod_log_agent.so 1>&2
635         %{_sbindir}/apxs -e -A -n log_config %{_libexecdir}/mod_log_config.so 1>&2
636         %{_sbindir}/apxs -e -A -n log_referer %{_libexecdir}/mod_log_referer.so 1>&2
637         %{_sbindir}/apxs -e -A -n mime %{_libexecdir}/mod_mime.so 1>&2
638         %{_sbindir}/apxs -e -A -n mime_magic %{_libexecdir}/mod_mime_magic.so 1>&2
639         %{_sbindir}/apxs -e -A -n negotiation %{_libexecdir}/mod_negotiation.so 1>&2
640         %{_sbindir}/apxs -e -A -n setenvif %{_libexecdir}/mod_setenvif.so 1>&2
641         %{_sbindir}/apxs -e -A -n speling %{_libexecdir}/mod_speling.so 1>&2
642         %{_sbindir}/apxs -e -A -n userdir %{_libexecdir}/mod_userdir.so 1>&2
643         if [ -f /var/lock/subsys/httpd ]; then
644                 /etc/rc.d/init.d/httpd stop 1>&2
645         fi
646         /sbin/chkconfig --del httpd
647 fi
648
649 %postun
650 if [ "$1" = "0" ]; then
651         /usr/sbin/userdel http
652         /usr/sbin/groupdel http
653 fi
654
655 %post mod_actions
656 %{_sbindir}/apxs -e -a -n actions %{_libexecdir}/mod_actions.so 1>&2
657 if [ -f /var/lock/subsys/httpd ]; then
658         /etc/rc.d/init.d/httpd restart 1>&2
659 else
660         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
661 fi
662
663 %preun mod_actions
664 if [ "$1" = "0" ]; then
665         %{_sbindir}/apxs -e -A -n actions %{_libexecdir}/mod_actions.so 1>&2
666         if [ -f /var/lock/subsys/httpd ]; then
667                 /etc/rc.d/init.d/httpd restart 1>&2
668         fi
669 fi
670
671 %post mod_auth
672 %{_sbindir}/apxs -e -a -n auth %{_libexecdir}/mod_auth.so 1>&2
673 if [ -f /var/lock/subsys/httpd ]; then
674         /etc/rc.d/init.d/httpd restart 1>&2
675 else
676         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
677 fi
678
679 %preun mod_auth
680 if [ "$1" = "0" ]; then
681         %{_sbindir}/apxs -e -A -n auth %{_libexecdir}/mod_auth.so 1>&2
682         if [ -f /var/lock/subsys/httpd ]; then
683                 /etc/rc.d/init.d/httpd restart 1>&2
684         fi
685 fi
686
687 %post mod_auth_anon
688 %{_sbindir}/apxs -e -a -n auth_anon %{_libexecdir}/mod_auth_anon.so 1>&2
689 if [ -f /var/lock/subsys/httpd ]; then
690         /etc/rc.d/init.d/httpd restart 1>&2
691 else
692         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
693 fi
694
695 %preun mod_auth_anon
696 if [ "$1" = "0" ]; then
697         %{_sbindir}/apxs -e -A -n auth_anon %{_libexecdir}/mod_auth_anon.so 1>&2
698         if [ -f /var/lock/subsys/httpd ]; then
699                 /etc/rc.d/init.d/httpd restart 1>&2
700         fi
701 fi
702
703 %post mod_auth_db
704 %{_sbindir}/apxs -e -a -n auth_db %{_libexecdir}/mod_auth_db.so 1>&2
705 %{_sbindir}/apxs -e -a -n auth_dbm %{_libexecdir}/mod_auth_dbm.so 1>&2
706 if [ -f /var/lock/subsys/httpd ]; then
707         /etc/rc.d/init.d/httpd restart 1>&2
708 else
709         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
710 fi
711
712 %preun mod_auth_db
713 if [ "$1" = "0" ]; then
714         %{_sbindir}/apxs -e -A -n auth_db %{_libexecdir}/mod_auth_db.so 1>&2
715         %{_sbindir}/apxs -e -A -n auth_dbm %{_libexecdir}/mod_auth_dbm.so 1>&2
716         if [ -f /var/lock/subsys/httpd ]; then
717                 /etc/rc.d/init.d/httpd restart 1>&2
718         fi
719 fi
720
721 %post mod_define
722 %{_sbindir}/apxs -e -a -n define %{_libexecdir}/mod_define.so 1>&2
723 if [ -f /var/lock/subsys/httpd ]; then
724         /etc/rc.d/init.d/httpd restart 1>&2
725 else
726         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
727 fi
728
729 %preun mod_define
730 if [ "$1" = "0" ]; then
731         %{_sbindir}/apxs -e -A -n define %{_libexecdir}/mod_define.so 1>&2
732         if [ -f /var/lock/subsys/httpd ]; then
733                 /etc/rc.d/init.d/httpd restart 1>&2
734         fi
735 fi
736
737 %post mod_digest
738 %{_sbindir}/apxs -e -a -n digest %{_libexecdir}/mod_digest.so 1>&2
739 if [ -f /var/lock/subsys/httpd ]; then
740         /etc/rc.d/init.d/httpd restart 1>&2
741 else
742         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
743 fi
744
745 %preun mod_digest
746 if [ "$1" = "0" ]; then
747         %{_sbindir}/apxs -e -A -n digest %{_libexecdir}/mod_digest.so 1>&2
748         if [ -f /var/lock/subsys/httpd ]; then
749                 /etc/rc.d/init.d/httpd restart 1>&2
750         fi
751 fi
752
753 %post mod_dir
754 %{_sbindir}/apxs -e -a -n dir %{_libexecdir}/mod_dir.so 1>&2
755 if [ -f /var/lock/subsys/httpd ]; then
756         /etc/rc.d/init.d/httpd restart 1>&2
757 else
758         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
759 fi
760
761 %preun mod_dir
762 if [ "$1" = "0" ]; then
763         %{_sbindir}/apxs -e -A -n dir %{_libexecdir}/mod_dir.so 1>&2
764         if [ -f /var/lock/subsys/httpd ]; then
765                 /etc/rc.d/init.d/httpd restart 1>&2
766         fi
767 fi
768
769 %post mod_expires
770 %{_sbindir}/apxs -e -a -n expires %{_libexecdir}/mod_expires.so 1>&2
771 if [ -f /var/lock/subsys/httpd ]; then
772         /etc/rc.d/init.d/httpd restart 1>&2
773 else
774         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
775 fi
776
777 %preun mod_expires
778 if [ "$1" = "0" ]; then
779         %{_sbindir}/apxs -e -A -n expires %{_libexecdir}/mod_expires.so 1>&2
780         if [ -f /var/lock/subsys/httpd ]; then
781                 /etc/rc.d/init.d/httpd restart 1>&2
782         fi
783 fi
784
785 %post mod_headers
786 %{_sbindir}/apxs -e -a -n headers %{_libexecdir}/mod_headers.so 1>&2
787 if [ -f /var/lock/subsys/httpd ]; then
788         /etc/rc.d/init.d/httpd restart 1>&2
789 else
790         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
791 fi
792
793 %preun mod_headers
794 if [ "$1" = "0" ]; then
795         %{_sbindir}/apxs -e -A -n headers %{_libexecdir}/mod_headers.so 1>&2
796         if [ -f /var/lock/subsys/httpd ]; then
797                 /etc/rc.d/init.d/httpd restart 1>&2
798         fi
799 fi
800
801 %post mod_mmap_static
802 %{_sbindir}/apxs -e -a -n mmap_static %{_libexecdir}/mod_mmap_static.so 1>&2
803 if [ -f /var/lock/subsys/httpd ]; then
804         /etc/rc.d/init.d/httpd restart 1>&2
805 else
806         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
807 fi
808
809 %preun mod_mmap_static
810 if [ "$1" = "0" ]; then
811         %{_sbindir}/apxs -e -A -n mmap_static %{_libexecdir}/mod_mmap_static.so 1>&2
812         if [ -f /var/lock/subsys/httpd ]; then
813                 /etc/rc.d/init.d/httpd restart 1>&2
814         fi
815 fi
816
817 %post mod_imap
818 %{_sbindir}/apxs -e -a -n imap %{_libexecdir}/mod_imap.so 1>&2
819 if [ -f /var/lock/subsys/httpd ]; then
820         /etc/rc.d/init.d/httpd restart 1>&2
821 else
822         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
823 fi
824
825 %preun mod_imap
826 if [ "$1" = "0" ]; then
827         %{_sbindir}/apxs -e -A -n imap %{_libexecdir}/mod_imap.so 1>&2
828         if [ -f /var/lock/subsys/httpd ]; then
829                 /etc/rc.d/init.d/httpd restart 1>&2
830         fi
831 fi
832
833 %post mod_info
834 %{_sbindir}/apxs -e -a -n info %{_libexecdir}/mod_info.so 1>&2
835 if [ -f /var/lock/subsys/httpd ]; then
836         /etc/rc.d/init.d/httpd restart 1>&2
837 else
838         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
839 fi
840
841 %preun mod_info
842 if [ "$1" = "0" ]; then
843         %{_sbindir}/apxs -e -A -n info %{_libexecdir}/mod_info.so 1>&2
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_proxy
850 %{_sbindir}/apxs -e -a -n proxy %{_libexecdir}/libproxy.so 1>&2
851 if [ -f /etc/httpd/httpd.conf ] && ! grep -q "^Include.*mod_proxy.conf" /etc/httpd/httpd.conf; then
852         echo "Include /etc/httpd/mod_proxy.conf" >> /etc/httpd/httpd.conf
853 fi
854 if [ -f /var/lock/subsys/httpd ]; then
855         /etc/rc.d/init.d/httpd restart 1>&2
856 else
857         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
858 fi
859
860 %preun mod_proxy
861 if [ "$1" = "0" ]; then
862         %{_sbindir}/apxs -e -A -n proxy %{_libexecdir}/libproxy.so 1>&2
863         grep -v -q "^Include.*mod_proxy.conf" /etc/httpd/httpd.conf > \
864                 /etc/httpd/httpd.conf.tmp
865         mv -f /etc/httpd/httpd.conf.tmp /etc/httpd/httpd.conf
866         if [ -f /var/lock/subsys/httpd ]; then
867                 /etc/rc.d/init.d/httpd restart 1>&2
868         fi
869 fi
870
871 %post mod_rewrite
872 %{_sbindir}/apxs -e -a -n rewrite %{_libexecdir}/mod_rewrite.so 1>&2
873 if [ -f /var/lock/subsys/httpd ]; then
874         /etc/rc.d/init.d/httpd restart 1>&2
875 else
876         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
877 fi
878
879 %preun mod_rewrite
880 if [ "$1" = "0" ]; then
881         %{_sbindir}/apxs -e -A -n rewrite %{_libexecdir}/mod_rewrite.so 1>&2
882         if [ -f /var/lock/subsys/httpd ]; then
883                 /etc/rc.d/init.d/httpd restart 1>&2
884         fi
885 fi
886
887 %post mod_status
888 %{_sbindir}/apxs -e -a -n status %{_libexecdir}/mod_status.so 1>&2
889 if [ -f /etc/httpd/httpd.conf ] && ! grep -q "^Include.*mod_status.conf" /etc/httpd/httpd.conf; then
890         echo "Include /etc/httpd/mod_status.conf" >> /etc/httpd/httpd.conf
891 fi
892 if [ -f /var/lock/subsys/httpd ]; then
893         /etc/rc.d/init.d/httpd restart 1>&2
894 else
895         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
896 fi
897
898 %preun mod_status
899 if [ "$1" = "0" ]; then
900         %{_sbindir}/apxs -e -A -n status %{_libexecdir}/mod_status.so 1>&2
901         grep -v -q "^Include.*mod_status.conf" /etc/httpd/httpd.conf > \
902                 /etc/httpd/httpd.conf.tmp
903         mv -f /etc/httpd/httpd.conf.tmp /etc/httpd/httpd.conf
904         if [ -f /var/lock/subsys/httpd ]; then
905                 /etc/rc.d/init.d/httpd restart 1>&2
906         fi
907 fi
908
909 %post mod_usertrack
910 %{_sbindir}/apxs -e -a -n usertrack %{_libexecdir}/mod_usertrack.so 1>&2
911 if [ -f /var/lock/subsys/httpd ]; then
912         /etc/rc.d/init.d/httpd restart 1>&2
913 else
914         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
915 fi
916
917 %preun mod_usertrack
918 if [ "$1" = "0" ]; then
919         %{_sbindir}/apxs -e -A -n usertrack %{_libexecdir}/mod_usertrack.so 1>&2
920         if [ -f /var/lock/subsys/httpd ]; then
921                 /etc/rc.d/init.d/httpd restart 1>&2
922         fi
923 fi
924
925 %post mod_unique_id
926 %{_sbindir}/apxs -e -a -n unique_id %{_libexecdir}/mod_unique_id.so 1>&2
927 if [ -f /var/lock/subsys/httpd ]; then
928         /etc/rc.d/init.d/httpd restart 1>&2
929 else
930         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
931 fi
932
933 %preun mod_unique_id
934 if [ "$1" = "0" ]; then
935         %{_sbindir}/apxs -e -A -n unique_id %{_libexecdir}/mod_unique_id.so 1>&2
936         if [ -f /var/lock/subsys/httpd ]; then
937                 /etc/rc.d/init.d/httpd restart 1>&2
938         fi
939 fi
940
941 %post mod_vhost_alias
942 %{_sbindir}/apxs -e -a -n vhost_alias %{_libexecdir}/mod_vhost_alias.so 1>&2
943 if [ -f /etc/httpd/httpd.conf ] && ! grep -q "^Include.*mod_vhost_alias.conf" /etc/httpd/httpd.conf; then
944         echo "Include /etc/httpd/mod_vhost_alias.conf" >> /etc/httpd/httpd.conf
945 fi
946 if [ -f /var/lock/subsys/httpd ]; then
947         /etc/rc.d/init.d/httpd restart 1>&2
948 else
949         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
950 fi
951
952 %preun mod_vhost_alias
953 if [ "$1" = "0" ]; then
954         %{_sbindir}/apxs -e -A -n vhost_alias %{_libexecdir}/mod_vhost_alias.so 1>&2
955         grep -v -q "^Include.*mod_vhost_alias.conf" /etc/httpd/httpd.conf > \
956                 /etc/httpd/httpd.conf.tmp
957         mv -f /etc/httpd/httpd.conf.tmp /etc/httpd/httpd.conf
958         if [ -f /var/lock/subsys/httpd ]; then
959                 /etc/rc.d/init.d/httpd restart 1>&2
960         fi
961 fi
962
963 %clean
964 rm -rf $RPM_BUILD_ROOT
965
966 %files
967 %defattr(644,root,root,755)
968 %doc ABOUT_APACHE.gz src/CHANGES.gz KEYS.gz README.gz
969 %doc conf/mime.types
970
971 %attr(754,root,root) /etc/rc.d/init.d/httpd
972
973 %attr(750,root,root) %dir %{_sysconfdir}
974 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf
975 %attr(640,root,root) %{_sysconfdir}/magic
976
977 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/*
978 %attr(640,root,root) %config(noreplace) /etc/logrotate.d/*
979
980 %dir %{_libexecdir}
981 %attr(755,root,root) %{_libexecdir}/mod_access.so
982 %attr(755,root,root) %{_libexecdir}/mod_alias.so
983 %attr(755,root,root) %{_libexecdir}/mod_asis.so
984 %attr(755,root,root) %{_libexecdir}/mod_autoindex.so
985 %attr(755,root,root) %{_libexecdir}/mod_cern_meta.so
986 %attr(755,root,root) %{_libexecdir}/mod_cgi.so
987 %attr(755,root,root) %{_libexecdir}/mod_env.so
988 %attr(755,root,root) %{_libexecdir}/mod_include.so
989 %attr(755,root,root) %{_libexecdir}/mod_log_agent.so
990 %attr(755,root,root) %{_libexecdir}/mod_log_config.so
991 %attr(755,root,root) %{_libexecdir}/mod_log_referer.so
992 %attr(755,root,root) %{_libexecdir}/mod_mime.so
993 %attr(755,root,root) %{_libexecdir}/mod_mime_magic.so
994 %attr(755,root,root) %{_libexecdir}/mod_negotiation.so
995 %attr(755,root,root) %{_libexecdir}/mod_setenvif.so
996 %attr(755,root,root) %{_libexecdir}/mod_speling.so
997 %attr(755,root,root) %{_libexecdir}/mod_userdir.so
998
999 %attr(755,root,root) %{_bindir}/htdigest
1000
1001 %attr(755,root,root) %{_sbindir}/ab
1002 %attr(755,root,root) %{_sbindir}/apachectl
1003 %attr(755,root,root) %{_sbindir}/apxs
1004 %attr(755,root,root) %{_sbindir}/httpd
1005 %attr(755,root,root) %{_sbindir}/logresolve
1006 %attr(755,root,root) %{_sbindir}/rotatelogs
1007
1008 %dir %attr(770,root,http) /var/run/apache
1009
1010 %{_mandir}/man1/htdigest.1*
1011 %{_mandir}/man8/*
1012
1013 %attr(750,root,root) %dir /var/log/httpd
1014 %attr(750,root,root) %dir /var/log/archiv/httpd
1015 %attr(640,root,root) %ghost /var/log/httpd/*
1016
1017 %dir %{_datadir}
1018 %dir %{_datadir}/manual
1019 %dir %{_datadir}/manual/images/
1020 %{_datadir}/manual/images/sub.gif
1021 %{_datadir}/manual/images/index.gif
1022 %{_datadir}/manual/images/home.gif 
1023 %{_datadir}/manual/misc
1024 %dir %{_datadir}/manual/search
1025 %attr(755,root,root) %{_datadir}/manual/search/manual-index.cgi
1026 %{_datadir}/manual/LICENSE
1027 %{_datadir}/manual/bind.html
1028 %{_datadir}/manual/cgi_path.html
1029 %lang(en) %{_datadir}/manual/configuring.html.en
1030 %lang(ja) %{_datadir}/manual/configuring.html.ja.jis
1031 %{_datadir}/manual/content-negotiation.html
1032 %lang(en) %{_datadir}/manual/custom-error.html.en
1033 %lang(ja) %{_datadir}/manual/custom-error.html.ja.jis
1034 %{_datadir}/manual/dns-caveats.html
1035 %{_datadir}/manual/dso.html
1036 %{_datadir}/manual/env.html
1037 %{_datadir}/manual/footer.html
1038 %lang(en) %{_datadir}/manual/handler.html.en
1039 %lang(ja) %{_datadir}/manual/handler.html.ja.jis
1040 %{_datadir}/manual/header.html
1041 %lang(en) %{_datadir}/manual/index.html.en
1042 %lang(ja) %{_datadir}/manual/index.html.ja.jis
1043 %lang(en) %{_datadir}/manual/install.html.en
1044 %lang(ja) %{_datadir}/manual/install.html.ja.jis
1045 %{_datadir}/manual/invoking.html
1046 %{_datadir}/manual/keepalive.html
1047 %{_datadir}/manual/location.html
1048 %{_datadir}/manual/multilogs.html
1049 %lang(en) %{_datadir}/manual/new_features_1_3.html.en
1050 %lang(ja) %{_datadir}/manual/new_features_1_3.html.ja.jis
1051 %{_datadir}/manual/process-model.html
1052 %{_datadir}/manual/sections.html
1053 %lang(en) %{_datadir}/manual/server-wide.html.en
1054 %lang(ja) %{_datadir}/manual/server-wide.html.ja.jis
1055 %{_datadir}/manual/sourcereorg.html
1056 %{_datadir}/manual/stopping.html
1057 %{_datadir}/manual/suexec.html
1058 %{_datadir}/manual/upgrading_to_1_3.html
1059 %dir %{_datadir}/manual/howto
1060 %lang(en) %{_datadir}/manual/howto/cgi.html.en
1061 %lang(ja) %{_datadir}/manual/howto/cgi.html.ja.jis
1062 %{_datadir}/manual/howto/footer.html
1063 %{_datadir}/manual/howto/header.html
1064 %lang(en) %{_datadir}/manual/howto/ssi.html.en
1065 %lang(ja) %{_datadir}/manual/howto/ssi.html.ja.jis
1066 %dir %{_datadir}/manual/mod
1067 %{_datadir}/manual/mod/core.html
1068 %lang(en) %{_datadir}/manual/mod/directive-dict.html.en
1069 %lang(ja) %{_datadir}/manual/mod/directive-dict.html.ja.jis
1070 %{_datadir}/manual/mod/directives.html
1071 %{_datadir}/manual/mod/footer.html
1072 %{_datadir}/manual/mod/header.html
1073 %{_datadir}/manual/mod/index-bytype.html
1074 %{_datadir}/manual/mod/index.html
1075 %{_datadir}/manual/mod/mod_access.html
1076 %{_datadir}/manual/mod/mod_alias.html
1077 %{_datadir}/manual/mod/mod_asis.html
1078 %{_datadir}/manual/mod/mod_autoindex.html
1079 %{_datadir}/manual/mod/mod_cern_meta.html
1080 %{_datadir}/manual/mod/mod_cgi.html
1081 %{_datadir}/manual/mod/mod_cookies.html
1082 %{_datadir}/manual/mod/mod_env.html
1083 %{_datadir}/manual/mod/mod_include.html
1084 %{_datadir}/manual/mod/mod_log_agent.html
1085 %{_datadir}/manual/mod/mod_log_config.html
1086 %{_datadir}/manual/mod/mod_log_referer.html
1087 %{_datadir}/manual/mod/mod_mime.html
1088 %{_datadir}/manual/mod/mod_mime_magic.html
1089 %lang(en) %{_datadir}/manual/mod/mod_negotiation.html.en
1090 %lang(ja) %{_datadir}/manual/mod/mod_negotiation.html.ja.jis
1091 %{_datadir}/manual/mod/mod_setenvif.html
1092 %{_datadir}/manual/mod/mod_speling.html
1093 %{_datadir}/manual/mod/mod_userdir.html
1094 %lang(en) %{_datadir}/manual/mod/module-dict.html.en
1095 %lang(ja) %{_datadir}/manual/mod/module-dict.html.ja.jis
1096 %{_datadir}/manual/programs
1097 %dir %{_datadir}/manual/vhosts
1098 %{_datadir}/manual/vhosts/details.html
1099 %{_datadir}/manual/vhosts/examples.html
1100 %{_datadir}/manual/vhosts/fd-limits.html
1101 %{_datadir}/manual/vhosts/footer.html
1102 %{_datadir}/manual/vhosts/header.html
1103 %{_datadir}/manual/vhosts/host.html
1104 %lang(en) %{_datadir}/manual/vhosts/index.html.en
1105 %lang(ja) %{_datadir}/manual/vhosts/index.html.ja.jis
1106 %{_datadir}/manual/vhosts/ip-based.html
1107 %{_datadir}/manual/vhosts/mass.html
1108 %{_datadir}/manual/vhosts/name-based.html
1109 %{_datadir}/manual/vhosts/vhosts-in-depth.html
1110 %{_datadir}/manual/vhosts/virtual-host.html
1111
1112 %attr(755,root,root) %dir %{_datadir}/html
1113 %config(noreplace,missingok) %{_datadir}/html/index.html
1114 # note: html extensions are not the same as (g)libc locale names
1115 %lang(ca) %{_datadir}/html/index.html.ca
1116 %lang(cs) %{_datadir}/html/index.html.cz
1117 %lang(de_DE) %{_datadir}/html/index.html.de
1118 %lang(da) %{_datadir}/html/index.html.dk
1119 %lang(et) %{_datadir}/html/index.html.ee
1120 %lang(el) %{_datadir}/html/index.html.el
1121 %lang(en) %{_datadir}/html/index.html.en
1122 %lang(es) %{_datadir}/html/index.html.es
1123 %lang(fr) %{_datadir}/html/index.html.fr
1124 %lang(he) %{_datadir}/html/index.html.he.iso8859-8
1125 %lang(it) %{_datadir}/html/index.html.it
1126 %lang(ja) %{_datadir}/html/index.html.ja.jis
1127 %lang(ko) %{_datadir}/html/index.html.kr.iso-kr
1128 %lang(de_LU) %{_datadir}/html/index.html.lu
1129 %lang(nl) %{_datadir}/html/index.html.nl
1130 %lang(no) %{_datadir}/html/index.html.no
1131 %lang(pl) %{_datadir}/html/index.html.po.iso-pl
1132 %lang(pt_PT) %{_datadir}/html/index.html.pt
1133 %lang(pt_BR) %{_datadir}/html/index.html.pt-br
1134 %lang(ru) %{_datadir}/html/index.html.ru.cp-1251
1135 %lang(ru) %{_datadir}/html/index.html.ru.cp866
1136 %lang(ru) %{_datadir}/html/index.html.ru.iso-ru
1137 %lang(ru) %{_datadir}/html/index.html.ru.koi8-r
1138 %lang(ru) %{_datadir}/html/index.html.ru.ucs2
1139 %lang(ru) %{_datadir}/html/index.html.ru.ucs4
1140 %lang(ru) %{_datadir}/html/index.html.ru.utf8
1141 %lang(se) %{_datadir}/html/index.html.se
1142 %lang(zh_TW) %{_datadir}/html/index.html.tw.Big5
1143
1144 %{_datadir}/html/*.gif
1145 %{_datadir}/errordocs
1146 %dir %{_datadir}/icons
1147 %{_datadir}/icons/*.gif
1148 %dir %{_datadir}/icons/small
1149 %{_datadir}/icons/small/*.gif
1150 %attr(755,root,root) %{_datadir}/cgi-bin
1151
1152 %files suexec
1153 %defattr(644,root,root,755)
1154 %attr(4755,root,root) %{_sbindir}/suexec
1155
1156 %files devel
1157 %defattr(644,root,root,755)
1158 %{_includedir}
1159
1160 %files mod_actions
1161 %defattr(644,root,root,755)
1162 %attr(755,root,root) %{_libexecdir}/mod_actions.so
1163 %{_datadir}/manual/mod/mod_actions.html
1164
1165 %files mod_auth
1166 %defattr(644,root,root,755)
1167 %attr(755,root,root) %{_libexecdir}/mod_auth.so
1168 %attr(755,root,root) %{_bindir}/htpasswd
1169 %{_datadir}/manual/mod/mod_auth.html
1170
1171 %files mod_auth_anon
1172 %defattr(644,root,root,755)
1173 %attr(755,root,root) %{_libexecdir}/mod_auth_anon.so
1174 %{_datadir}/manual/mod/mod_auth_anon.html
1175
1176 %files mod_auth_db
1177 %defattr(644,root,root,755)
1178 %attr(755,root,root) %{_libexecdir}/mod_auth_db.so
1179 %attr(755,root,root) %{_libexecdir}/mod_auth_dbm.so
1180 %attr(755,root,root) %{_bindir}/dbmmanage 
1181 %{_datadir}/manual/mod/mod_auth_db.html
1182 %{_datadir}/manual/mod/mod_auth_dbm.html
1183 %{_mandir}/man1/dbmmanage.1*
1184 %{_mandir}/man1/htpasswd.1*
1185
1186 %files mod_define
1187 %defattr(644,root,root,755)
1188 %attr(755,root,root) %{_libexecdir}/mod_define.so
1189 %{_datadir}/manual/mod/mod_define.html
1190
1191 %files mod_digest
1192 %defattr(644,root,root,755)
1193 %attr(755,root,root) %{_libexecdir}/mod_digest.so
1194 %{_datadir}/manual/mod/mod_digest.html
1195
1196 %files mod_dir
1197 %defattr(644,root,root,755)
1198 %attr(755,root,root) %{_libexecdir}/mod_dir.so
1199 %{_datadir}/manual/mod/mod_dir.html
1200
1201 %files mod_expires
1202 %defattr(644,root,root,755)
1203 %attr(755,root,root) %{_libexecdir}/mod_expires.so
1204 %{_datadir}/manual/mod/mod_expires.html
1205
1206 %files mod_headers
1207 %defattr(644,root,root,755)
1208 %attr(755,root,root) %{_libexecdir}/mod_headers.so
1209 %{_datadir}/manual/mod/mod_headers.html
1210
1211 %files mod_mmap_static
1212 %defattr(644,root,root,755)
1213 %attr(755,root,root) %{_libexecdir}/mod_mmap_static.so
1214 %{_datadir}/manual/mod/mod_mmap_static.html
1215
1216 %files mod_imap
1217 %defattr(644,root,root,755)
1218 %attr(755,root,root) %{_libexecdir}/mod_imap.so
1219 %{_datadir}/manual/mod/mod_imap.html
1220
1221 %files mod_info
1222 %defattr(644,root,root,755)
1223 %attr(755,root,root) %{_libexecdir}/mod_info.so
1224 %{_datadir}/manual/mod/mod_info.html
1225
1226 %files mod_proxy
1227 %defattr(644,root,root,755)
1228 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mod_proxy.conf
1229 %attr(755,root,root) %{_libexecdir}/libproxy.so
1230 %{_datadir}/manual/mod/mod_proxy.html
1231 %dir %attr(770,root,http) /var/cache/apache
1232
1233 %files mod_rewrite
1234 %defattr(644,root,root,755)
1235 %attr(755,root,root) %{_libexecdir}/mod_rewrite.so
1236 %{_datadir}/manual/mod/mod_rewrite.html
1237
1238 %files mod_status
1239 %defattr(644,root,root,755)
1240 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mod_status.conf
1241 %attr(755,root,root) %{_libexecdir}/mod_status.so
1242 %{_datadir}/manual/mod/mod_status.html
1243
1244 %files mod_usertrack
1245 %defattr(644,root,root,755)
1246 %attr(755,root,root) %{_libexecdir}/mod_usertrack.so
1247 %{_datadir}/manual/mod/mod_usertrack.html
1248
1249 %files mod_unique_id
1250 %defattr(644,root,root,755)
1251 %attr(755,root,root) %{_libexecdir}/mod_unique_id.so
1252 %{_datadir}/manual/mod/mod_unique_id.html
1253
1254 %files mod_vhost_alias
1255 %defattr(644,root,root,755)
1256 %attr(755,root,root) %{_libexecdir}/mod_vhost_alias.so
1257 %{_datadir}/manual/mod/mod_vhost_alias.html
1258 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mod_vhost_alias.conf
This page took 0.461296 seconds and 4 git commands to generate.