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