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