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