]> git.pld-linux.org Git - packages/apache.git/blob - apache.spec
9e3a8ffb8437885b233ca80b537c503bccd3f729
[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}-mod_include-segv.patch
50 Patch20:        %{name}-PLD-nov6.patch
51 Patch21:        %{name}-configdir_skip_backups.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 %patch19 -p1
514 %{?_without_apache_ipv6:%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 %pre
583 if [ -n "`getgid http`" ]; then
584         if [ "`getgid http`" != "51" ]; then
585                 echo "Warning: group http haven't gid=51. Correct this before installing apache" 1>&2
586                 exit 1
587         fi
588 else
589         /usr/sbin/groupadd -g 51 -r -f http
590 fi
591 if [ -n "`id -u http 2>/dev/null`" ]; then
592         if [ "`id -u http`" != "51" ]; then
593                 echo "Warning: user http haven't uid=51. Correct this before installing apache" 1>&2
594                 exit 1
595         fi
596 else
597         /usr/sbin/useradd -u 51 -r -d /home/httpd -s /bin/false -c "HTTP User" -g http http 1>&2
598 fi
599
600 %post
601 /sbin/chkconfig --add httpd
602 %{_sbindir}/apxs -e -a -n access %{_libexecdir}/mod_access.so 1>&2
603 %{_sbindir}/apxs -e -a -n alias %{_libexecdir}/mod_alias.so 1>&2
604 %{_sbindir}/apxs -e -a -n asis %{_libexecdir}/mod_asis.so 1>&2
605 %{_sbindir}/apxs -e -a -n autoindex %{_libexecdir}/mod_autoindex.so 1>&2
606 %{_sbindir}/apxs -e -a -n cern_meta %{_libexecdir}/mod_cern_meta.so 1>&2
607 %{_sbindir}/apxs -e -a -n cgi %{_libexecdir}/mod_cgi.so 1>&2
608 %{_sbindir}/apxs -e -a -n env %{_libexecdir}/mod_env.so 1>&2
609 %{_sbindir}/apxs -e -a -n include %{_libexecdir}/mod_include.so 1>&2
610 %{_sbindir}/apxs -e -a -n log_agent %{_libexecdir}/mod_log_agent.so 1>&2
611 %{_sbindir}/apxs -e -a -n log_config %{_libexecdir}/mod_log_config.so 1>&2
612 %{_sbindir}/apxs -e -a -n log_referer %{_libexecdir}/mod_log_referer.so 1>&2
613 %{_sbindir}/apxs -e -a -n mime_magic %{_libexecdir}/mod_mime_magic.so 1>&2
614 %{_sbindir}/apxs -e -a -n mime %{_libexecdir}/mod_mime.so 1>&2
615 %{_sbindir}/apxs -e -a -n negotiation %{_libexecdir}/mod_negotiation.so 1>&2
616 %{_sbindir}/apxs -e -a -n setenvif %{_libexecdir}/mod_setenvif.so 1>&2
617 %{_sbindir}/apxs -e -a -n speling %{_libexecdir}/mod_speling.so 1>&2
618 %{_sbindir}/apxs -e -a -n userdir %{_libexecdir}/mod_userdir.so 1>&2
619 umask 137
620 touch /var/log/httpd/{access,error,agent,referer}_log
621 if [ -f /var/lock/subsys/httpd ]; then
622         /etc/rc.d/init.d/httpd restart 1>&2
623 else
624         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
625 fi
626
627 %preun
628 if [ "$1" = "0" ]; then
629         %{_sbindir}/apxs -e -A -n access %{_libexecdir}/mod_access.so 1>&2
630         %{_sbindir}/apxs -e -A -n alias %{_libexecdir}/mod_alias.so 1>&2
631         %{_sbindir}/apxs -e -A -n asis %{_libexecdir}/mod_asis.so 1>&2
632         %{_sbindir}/apxs -e -A -n autoindex %{_libexecdir}/mod_autoindex.so 1>&2
633         %{_sbindir}/apxs -e -A -n cern_meta %{_libexecdir}/mod_cern_meta.so 1>&2
634         %{_sbindir}/apxs -e -A -n cgi %{_libexecdir}/mod_cgi.so 1>&2
635         %{_sbindir}/apxs -e -A -n env %{_libexecdir}/mod_env.so 1>&2
636         %{_sbindir}/apxs -e -A -n include %{_libexecdir}/mod_include.so 1>&2
637         %{_sbindir}/apxs -e -A -n log_agent %{_libexecdir}/mod_log_agent.so 1>&2
638         %{_sbindir}/apxs -e -A -n log_config %{_libexecdir}/mod_log_config.so 1>&2
639         %{_sbindir}/apxs -e -A -n log_referer %{_libexecdir}/mod_log_referer.so 1>&2
640         %{_sbindir}/apxs -e -A -n mime %{_libexecdir}/mod_mime.so 1>&2
641         %{_sbindir}/apxs -e -A -n mime_magic %{_libexecdir}/mod_mime_magic.so 1>&2
642         %{_sbindir}/apxs -e -A -n negotiation %{_libexecdir}/mod_negotiation.so 1>&2
643         %{_sbindir}/apxs -e -A -n setenvif %{_libexecdir}/mod_setenvif.so 1>&2
644         %{_sbindir}/apxs -e -A -n speling %{_libexecdir}/mod_speling.so 1>&2
645         %{_sbindir}/apxs -e -A -n userdir %{_libexecdir}/mod_userdir.so 1>&2
646         if [ -f /var/lock/subsys/httpd ]; then
647                 /etc/rc.d/init.d/httpd stop 1>&2
648         fi
649         /sbin/chkconfig --del httpd
650 fi
651
652 %postun
653 if [ "$1" = "0" ]; then
654         /usr/sbin/userdel http
655         /usr/sbin/groupdel http
656 fi
657
658 %post mod_actions
659 %{_sbindir}/apxs -e -a -n actions %{_libexecdir}/mod_actions.so 1>&2
660 if [ -f /var/lock/subsys/httpd ]; then
661         /etc/rc.d/init.d/httpd restart 1>&2
662 else
663         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
664 fi
665
666 %preun mod_actions
667 if [ "$1" = "0" ]; then
668         %{_sbindir}/apxs -e -A -n actions %{_libexecdir}/mod_actions.so 1>&2
669         if [ -f /var/lock/subsys/httpd ]; then
670                 /etc/rc.d/init.d/httpd restart 1>&2
671         fi
672 fi
673
674 %post mod_auth
675 %{_sbindir}/apxs -e -a -n auth %{_libexecdir}/mod_auth.so 1>&2
676 if [ -f /var/lock/subsys/httpd ]; then
677         /etc/rc.d/init.d/httpd restart 1>&2
678 else
679         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
680 fi
681
682 %preun mod_auth
683 if [ "$1" = "0" ]; then
684         %{_sbindir}/apxs -e -A -n auth %{_libexecdir}/mod_auth.so 1>&2
685         if [ -f /var/lock/subsys/httpd ]; then
686                 /etc/rc.d/init.d/httpd restart 1>&2
687         fi
688 fi
689
690 %post mod_auth_anon
691 %{_sbindir}/apxs -e -a -n auth_anon %{_libexecdir}/mod_auth_anon.so 1>&2
692 if [ -f /var/lock/subsys/httpd ]; then
693         /etc/rc.d/init.d/httpd restart 1>&2
694 else
695         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
696 fi
697
698 %preun mod_auth_anon
699 if [ "$1" = "0" ]; then
700         %{_sbindir}/apxs -e -A -n auth_anon %{_libexecdir}/mod_auth_anon.so 1>&2
701         if [ -f /var/lock/subsys/httpd ]; then
702                 /etc/rc.d/init.d/httpd restart 1>&2
703         fi
704 fi
705
706 %post mod_auth_db
707 %{_sbindir}/apxs -e -a -n auth_db %{_libexecdir}/mod_auth_db.so 1>&2
708 if [ -f /var/lock/subsys/httpd ]; then
709         /etc/rc.d/init.d/httpd restart 1>&2
710 else
711         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
712 fi
713
714 %preun mod_auth_db
715 if [ "$1" = "0" ]; then
716         %{_sbindir}/apxs -e -A -n auth_db %{_libexecdir}/mod_auth_db.so 1>&2
717         if [ -f /var/lock/subsys/httpd ]; then
718                 /etc/rc.d/init.d/httpd restart 1>&2
719         fi
720 fi
721
722 %triggerpostun mod_auth_db -- apache-mod_auth_db <= 1.3.20-2 
723 %{_sbindir}/apxs -e -A -n auth_dbm %{_libexecdir}/mod_auth_dbm.so 1>&2
724
725 %post mod_define
726 %{_sbindir}/apxs -e -a -n define %{_libexecdir}/mod_define.so 1>&2
727 if [ -f /var/lock/subsys/httpd ]; then
728         /etc/rc.d/init.d/httpd restart 1>&2
729 else
730         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
731 fi
732
733 %preun mod_define
734 if [ "$1" = "0" ]; then
735         %{_sbindir}/apxs -e -A -n define %{_libexecdir}/mod_define.so 1>&2
736         if [ -f /var/lock/subsys/httpd ]; then
737                 /etc/rc.d/init.d/httpd restart 1>&2
738         fi
739 fi
740
741 %post mod_digest
742 %{_sbindir}/apxs -e -a -n digest %{_libexecdir}/mod_digest.so 1>&2
743 if [ -f /var/lock/subsys/httpd ]; then
744         /etc/rc.d/init.d/httpd restart 1>&2
745 else
746         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
747 fi
748
749 %preun mod_digest
750 if [ "$1" = "0" ]; then
751         %{_sbindir}/apxs -e -A -n digest %{_libexecdir}/mod_digest.so 1>&2
752         if [ -f /var/lock/subsys/httpd ]; then
753                 /etc/rc.d/init.d/httpd restart 1>&2
754         fi
755 fi
756
757 %post mod_dir
758 %{_sbindir}/apxs -e -a -n dir %{_libexecdir}/mod_dir.so 1>&2
759 if [ -f /var/lock/subsys/httpd ]; then
760         /etc/rc.d/init.d/httpd restart 1>&2
761 else
762         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
763 fi
764
765 %preun mod_dir
766 if [ "$1" = "0" ]; then
767         %{_sbindir}/apxs -e -A -n dir %{_libexecdir}/mod_dir.so 1>&2
768         if [ -f /var/lock/subsys/httpd ]; then
769                 /etc/rc.d/init.d/httpd restart 1>&2
770         fi
771 fi
772
773 %post mod_expires
774 %{_sbindir}/apxs -e -a -n expires %{_libexecdir}/mod_expires.so 1>&2
775 if [ -f /var/lock/subsys/httpd ]; then
776         /etc/rc.d/init.d/httpd restart 1>&2
777 else
778         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
779 fi
780
781 %preun mod_expires
782 if [ "$1" = "0" ]; then
783         %{_sbindir}/apxs -e -A -n expires %{_libexecdir}/mod_expires.so 1>&2
784         if [ -f /var/lock/subsys/httpd ]; then
785                 /etc/rc.d/init.d/httpd restart 1>&2
786         fi
787 fi
788
789 %post mod_headers
790 %{_sbindir}/apxs -e -a -n headers %{_libexecdir}/mod_headers.so 1>&2
791 if [ -f /var/lock/subsys/httpd ]; then
792         /etc/rc.d/init.d/httpd restart 1>&2
793 else
794         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
795 fi
796
797 %preun mod_headers
798 if [ "$1" = "0" ]; then
799         %{_sbindir}/apxs -e -A -n headers %{_libexecdir}/mod_headers.so 1>&2
800         if [ -f /var/lock/subsys/httpd ]; then
801                 /etc/rc.d/init.d/httpd restart 1>&2
802         fi
803 fi
804
805 %post mod_mmap_static
806 %{_sbindir}/apxs -e -a -n mmap_static %{_libexecdir}/mod_mmap_static.so 1>&2
807 if [ -f /var/lock/subsys/httpd ]; then
808         /etc/rc.d/init.d/httpd restart 1>&2
809 else
810         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
811 fi
812
813 %preun mod_mmap_static
814 if [ "$1" = "0" ]; then
815         %{_sbindir}/apxs -e -A -n mmap_static %{_libexecdir}/mod_mmap_static.so 1>&2
816         if [ -f /var/lock/subsys/httpd ]; then
817                 /etc/rc.d/init.d/httpd restart 1>&2
818         fi
819 fi
820
821 %post mod_imap
822 %{_sbindir}/apxs -e -a -n imap %{_libexecdir}/mod_imap.so 1>&2
823 if [ -f /var/lock/subsys/httpd ]; then
824         /etc/rc.d/init.d/httpd restart 1>&2
825 else
826         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
827 fi
828
829 %preun mod_imap
830 if [ "$1" = "0" ]; then
831         %{_sbindir}/apxs -e -A -n imap %{_libexecdir}/mod_imap.so 1>&2
832         if [ -f /var/lock/subsys/httpd ]; then
833                 /etc/rc.d/init.d/httpd restart 1>&2
834         fi
835 fi
836
837 %post mod_info
838 %{_sbindir}/apxs -e -a -n info %{_libexecdir}/mod_info.so 1>&2
839 if [ -f /var/lock/subsys/httpd ]; then
840         /etc/rc.d/init.d/httpd restart 1>&2
841 else
842         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
843 fi
844
845 %preun mod_info
846 if [ "$1" = "0" ]; then
847         %{_sbindir}/apxs -e -A -n info %{_libexecdir}/mod_info.so 1>&2
848         if [ -f /var/lock/subsys/httpd ]; then
849                 /etc/rc.d/init.d/httpd restart 1>&2
850         fi
851 fi
852
853 %post mod_proxy
854 %{_sbindir}/apxs -e -a -n proxy %{_libexecdir}/libproxy.so 1>&2
855 if [ -f /etc/httpd/httpd.conf ] && ! grep -q "^Include.*mod_proxy.conf" /etc/httpd/httpd.conf; then
856         echo "Include /etc/httpd/mod_proxy.conf" >> /etc/httpd/httpd.conf
857 fi
858 if [ -f /var/lock/subsys/httpd ]; then
859         /etc/rc.d/init.d/httpd restart 1>&2
860 else
861         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
862 fi
863
864 %preun mod_proxy
865 if [ "$1" = "0" ]; then
866         %{_sbindir}/apxs -e -A -n proxy %{_libexecdir}/libproxy.so 1>&2
867         grep -v -q "^Include.*mod_proxy.conf" /etc/httpd/httpd.conf > \
868                 /etc/httpd/httpd.conf.tmp
869         mv -f /etc/httpd/httpd.conf.tmp /etc/httpd/httpd.conf
870         if [ -f /var/lock/subsys/httpd ]; then
871                 /etc/rc.d/init.d/httpd restart 1>&2
872         fi
873 fi
874
875 %post mod_rewrite
876 %{_sbindir}/apxs -e -a -n rewrite %{_libexecdir}/mod_rewrite.so 1>&2
877 if [ -f /var/lock/subsys/httpd ]; then
878         /etc/rc.d/init.d/httpd restart 1>&2
879 else
880         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
881 fi
882
883 %preun mod_rewrite
884 if [ "$1" = "0" ]; then
885         %{_sbindir}/apxs -e -A -n rewrite %{_libexecdir}/mod_rewrite.so 1>&2
886         if [ -f /var/lock/subsys/httpd ]; then
887                 /etc/rc.d/init.d/httpd restart 1>&2
888         fi
889 fi
890
891 %post mod_status
892 %{_sbindir}/apxs -e -a -n status %{_libexecdir}/mod_status.so 1>&2
893 if [ -f /etc/httpd/httpd.conf ] && ! grep -q "^Include.*mod_status.conf" /etc/httpd/httpd.conf; then
894         echo "Include /etc/httpd/mod_status.conf" >> /etc/httpd/httpd.conf
895 fi
896 if [ -f /var/lock/subsys/httpd ]; then
897         /etc/rc.d/init.d/httpd restart 1>&2
898 else
899         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
900 fi
901
902 %preun mod_status
903 if [ "$1" = "0" ]; then
904         %{_sbindir}/apxs -e -A -n status %{_libexecdir}/mod_status.so 1>&2
905         grep -v -q "^Include.*mod_status.conf" /etc/httpd/httpd.conf > \
906                 /etc/httpd/httpd.conf.tmp
907         mv -f /etc/httpd/httpd.conf.tmp /etc/httpd/httpd.conf
908         if [ -f /var/lock/subsys/httpd ]; then
909                 /etc/rc.d/init.d/httpd restart 1>&2
910         fi
911 fi
912
913 %post mod_usertrack
914 %{_sbindir}/apxs -e -a -n usertrack %{_libexecdir}/mod_usertrack.so 1>&2
915 if [ -f /var/lock/subsys/httpd ]; then
916         /etc/rc.d/init.d/httpd restart 1>&2
917 else
918         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
919 fi
920
921 %preun mod_usertrack
922 if [ "$1" = "0" ]; then
923         %{_sbindir}/apxs -e -A -n usertrack %{_libexecdir}/mod_usertrack.so 1>&2
924         if [ -f /var/lock/subsys/httpd ]; then
925                 /etc/rc.d/init.d/httpd restart 1>&2
926         fi
927 fi
928
929 %post mod_unique_id
930 %{_sbindir}/apxs -e -a -n unique_id %{_libexecdir}/mod_unique_id.so 1>&2
931 if [ -f /var/lock/subsys/httpd ]; then
932         /etc/rc.d/init.d/httpd restart 1>&2
933 else
934         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
935 fi
936
937 %preun mod_unique_id
938 if [ "$1" = "0" ]; then
939         %{_sbindir}/apxs -e -A -n unique_id %{_libexecdir}/mod_unique_id.so 1>&2
940         if [ -f /var/lock/subsys/httpd ]; then
941                 /etc/rc.d/init.d/httpd restart 1>&2
942         fi
943 fi
944
945 %post mod_vhost_alias
946 %{_sbindir}/apxs -e -a -n vhost_alias %{_libexecdir}/mod_vhost_alias.so 1>&2
947 if [ -f /etc/httpd/httpd.conf ] && ! grep -q "^Include.*mod_vhost_alias.conf" /etc/httpd/httpd.conf; then
948         echo "Include /etc/httpd/mod_vhost_alias.conf" >> /etc/httpd/httpd.conf
949 fi
950 if [ -f /var/lock/subsys/httpd ]; then
951         /etc/rc.d/init.d/httpd restart 1>&2
952 else
953         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
954 fi
955
956 %preun mod_vhost_alias
957 if [ "$1" = "0" ]; then
958         %{_sbindir}/apxs -e -A -n vhost_alias %{_libexecdir}/mod_vhost_alias.so 1>&2
959         grep -v -q "^Include.*mod_vhost_alias.conf" /etc/httpd/httpd.conf > \
960                 /etc/httpd/httpd.conf.tmp
961         mv -f /etc/httpd/httpd.conf.tmp /etc/httpd/httpd.conf
962         if [ -f /var/lock/subsys/httpd ]; then
963                 /etc/rc.d/init.d/httpd restart 1>&2
964         fi
965 fi
966
967 %clean
968 rm -rf $RPM_BUILD_ROOT
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 %lang(en) /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 %lang(en) %{_datadir}/manual/custom-error.html.en
1045 %lang(en) %{_datadir}/manual/custom-error.html.html
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 %lang(en) %{_datadir}/manual/handler.html.en
1052 %lang(en) %{_datadir}/manual/handler.html.html
1053 %lang(ja) %{_datadir}/manual/handler.html.ja.jis
1054 %{_datadir}/manual/header.html
1055 %lang(en) %{_datadir}/manual/index.html.en
1056 %lang(fr) %{_datadir}/manual/index.html.fr
1057 %lang(en) %{_datadir}/manual/index.html.html
1058 %lang(ja) %{_datadir}/manual/index.html.ja.jis
1059 %lang(en) %{_datadir}/manual/install.html.en
1060 %lang(es) %{_datadir}/manual/install.html.es
1061 %lang(fr) %{_datadir}/manual/install.html.fr
1062 %lang(en) %{_datadir}/manual/install.html.html
1063 %lang(ja) %{_datadir}/manual/install.html.ja.jis
1064 %lang(fr) %{_datadir}/manual/invoking.html.fr
1065 %lang(en) %{_datadir}/manual/invoking.html.html
1066 %{_datadir}/manual/keepalive.html.html
1067 %{_datadir}/manual/location.html
1068 %{_datadir}/manual/multilogs.html
1069 %lang(en) %{_datadir}/manual/new_features_1_3.html.en
1070 %lang(en) %{_datadir}/manual/new_features_1_3.html.html
1071 %lang(ja) %{_datadir}/manual/new_features_1_3.html.ja.jis
1072 %{_datadir}/manual/process-model.html
1073 %{_datadir}/manual/sections.html
1074 %lang(en) %{_datadir}/manual/server-wide.html.en
1075 %lang(fr) %{_datadir}/manual/server-wide.html.fr
1076 %lang(en) %{_datadir}/manual/server-wide.html.html
1077 %lang(ja) %{_datadir}/manual/server-wide.html.ja.jis
1078 %{_datadir}/manual/sourcereorg.html
1079 %lang(fr) %{_datadir}/manual/stopping.html.fr
1080 %lang(en) %{_datadir}/manual/stopping.html.html
1081 %lang(en) %{_datadir}/manual/suexec.html.en
1082 %lang(en) %{_datadir}/manual/suexec.html.html
1083 %lang(j1) %{_datadir}/manual/suexec.html.ja.jis
1084 %{_datadir}/manual/upgrading_to_1_3.html
1085 %dir %{_datadir}/manual/howto
1086 %lang(en) %{_datadir}/manual/howto/cgi.html.en
1087 %lang(en) %{_datadir}/manual/howto/cgi.html.html
1088 %lang(ja) %{_datadir}/manual/howto/cgi.html.ja.jis
1089 %{_datadir}/manual/howto/footer.html
1090 %{_datadir}/manual/howto/header.html
1091 %lang(en) %{_datadir}/manual/howto/ssi.html.en
1092 %lang(en) %{_datadir}/manual/howto/ssi.html.html
1093 %lang(ja) %{_datadir}/manual/howto/ssi.html.ja.jis
1094 %dir %{_datadir}/manual/mod
1095 %{_datadir}/manual/mod/core.html.html
1096 %lang(en) %{_datadir}/manual/mod/directive-dict.html.en
1097 %lang(en) %{_datadir}/manual/mod/directive-dict.html.html
1098 %lang(ja) %{_datadir}/manual/mod/directive-dict.html.ja.jis
1099 %{_datadir}/manual/mod/footer.html
1100 %{_datadir}/manual/mod/header.html
1101 %lang(en) %{_datadir}/manual/mod/index-bytype.html.html
1102 %lang(fr) %{_datadir}/manual/mod/index-bytype.html.fr
1103 %lang(en) %{_datadir}/manual/mod/index.html.html
1104 %lang(en) %{_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 %lang(en) %{_datadir}/manual/mod/mod_env.html.en
1111 %lang(en) %{_datadir}/manual/mod/mod_env.html.html
1112 %lang(en) %{_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 %lang(en) %{_datadir}/manual/mod/mod_mime.html.en
1118 %lang(en) %{_datadir}/manual/mod/mod_mime.html.html
1119 %lang(ja) %{_datadir}/manual/mod/mod_mime.html.ja.jis
1120 %{_datadir}/manual/mod/mod_mime_magic.html
1121 %lang(en) %{_datadir}/manual/mod/mod_negotiation.html.en
1122 %lang(en) %{_datadir}/manual/mod/mod_negotiation.html.html
1123 %lang(ja) %{_datadir}/manual/mod/mod_negotiation.html.ja.jis
1124 %lang(en) %{_datadir}/manual/mod/mod_setenvif.html.en
1125 %lang(en) %{_datadir}/manual/mod/mod_setenvif.html.html
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 %lang(en) %{_datadir}/manual/mod/module-dict.html.en
1130 %lang(en) %{_datadir}/manual/mod/module-dict.html.html
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 %lang(en) %{_datadir}/manual/programs/index.html.en
1143 %lang(en) %{_datadir}/manual/programs/index.html.html
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 %lang(en) %{_datadir}/manual/vhosts/index.html.en
1157 %lang(en) %{_datadir}/manual/vhosts/index.html.html
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 %lang(en) %{_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.121776 seconds and 3 git commands to generate.