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