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