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