]> git.pld-linux.org Git - packages/apache.git/blob - apache.spec
- removed _modules from registered modules name in apxs parameters.
[packages/apache.git] / apache.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        The most widely used Web server on the Internet
3 Summary(de):    Leading World Wide Web-Server
4 Summary(fr):    Le serveur web le plus utilise sur Internet
5 Summary(pl):    Serwer WWW (World Wide Web)
6 Summary(tr):    Lider WWW tarayýcý
7 Name:           apache
8 Version:        1.3.11
9 Release:        5
10 Group:          Networking/Daemons
11 Group(pl):      Sieciowe/Serwery
12 Source0:        ftp://ftp.apache.org/apache/dist/%{name}_%{version}.tar.gz
13 Source1:        apache.init
14 Source2:        apache.logrotate
15 Source3:        apache-icons.tar.gz
16 Source4:        apache.sysconfig
17 Source5:        apache-access.conf
18 Source6:        apache-httpd.conf
19 Source7:        apache-srm.conf
20 Source8:        apache-virtual-host.conf
21 Patch0:         apache-PLD.patch
22 Patch1:         apache-suexec.patch
23 Patch2:         apache-htdocs.patch
24 Patch3:         apache-errordocs.patch
25 Patch4:         apache-apxs.patch
26 Patch5:         apache-phhttpd.patch
27 Patch6:         apache-EAPI.patc
28 Copyright:      BSD-like
29 Provides:       httpd
30 Provides:       webserver
31 Prereq:         /sbin/chkconfig
32 Prereq:         /usr/sbin/useradd
33 Prereq:         /usr/bin/getgid
34 Prereq:         /bin/id
35 Prereq:         sh-utils
36 BuildRequires:  mm-devel
37 Requires:       rc-scripts
38 Requires:       mailcap
39 Requires:       /etc/mime.types
40 URL:            http://www.apache.org/
41 BuildRoot:      /tmp/%{name}-%{version}-root
42 Obsoletes:      apache-extra
43 Obsoletes:      apache6
44 Obsoletes:      apache-doc
45
46 %define         _sysconfdir     /etc/httpd
47 %define         _includedir     %{_prefix}/include/apache
48 %define         _datadir        /home/httpd
49 %define         _libexecdir     %{_prefix}/lib/apache
50
51 %description
52 Apache is a powerful, full-featured, efficient and freely-available Web
53 server. Apache is also the most popular Web server on the Internet.
54
55 %description -l de
56 Apache ist ein voll funktionsfähiger Web-Server, der kostenlos
57 erhältlich und weit verbreitet ist.
58
59 %description -l fr
60 Apache est un serveur Web puissant, efficace, gratuit et complet. Apache est
61 aussi le serveur Web le plus populaire sur Internet.
62
63 %description -l pl
64 Apache jest serwerem WWW (World Wide Web). Instaluj±c ten pakiet bêdziesz 
65 móg³ prezentowaæ w³asne strony WWW w sieci internet.
66
67 %description -l tr
68 Apache serbest daðýtýlan ve çok kullanýlan yetenekli bir web sunucusudur.
69
70 %package suexec
71 Summary:        Apache suexec wrapper
72 Summary(pl):    Suexec wrapper do serwera www Apache
73 Group:          Networking/Development
74 Group(pl):      Sieciowe/Programowanie
75 Requires:       %{name} = %{version}
76
77 %description suexec
78 The suEXEC feature provides Apache users the ability to run CGI and SSI
79 programs under user IDs different from the user ID of the calling web-server.
80 Normally, when a CGI or SSI program executes, it runs as the same user 
81 who is running the web server. 
82
83 %description -l pl suexec
84 SuEXEC umo¿liwia serwerowi Apache uruchamianie programów CGI i SSI z innym
85 UID ni¿ wywo³uj±cy je serwer. Normalnie programy CGI i SSI s± wykonywane
86 jako taki sam u¿ytkownik jak serwer WWW.
87
88 %package devel
89 Summary:        Module development tools for the Apache web server
90 Summary(fr):    Les outils de developpement de modules pour le serveur web Apache
91 Summary(pl):    Pliki nag³ówkowe do tworzenai modu³ów rozszerzeñ do serwera www Apache
92 Group:          Networking/Development
93 Group(pl):      Sieciowe/Programowanie
94 Requires:       %{name} = %{version}
95
96 %description devel
97 The apache-devel package contains the source code for the Apache Web server
98 and the APXS binary you'll need to build Dynamic Shared Objects (DSOs) for
99 Apache.
100
101 %description -l fr devel
102 Le package apache-devel contient le code source pour le serveur Web Apache
103 et le binaire APXS dont vous aurez besoin pour construire des Objets
104 Dynamiques Partages (DSOs) pour Apache.
105
106 %description -l pl devel
107 Pliki nag³ówkowe dla serwera WWW Apache.
108
109 %package mod_actions
110 Summary:        Apache module for run CGI whenever a file of a certain type is requested
111 Group:          Networking/Daemons
112 Group(pl):      Sieciowe/Serwery
113 Prereq:         %{_sbindir}/apxs
114 Requires:       %{name} = %{version}
115
116 %description mod_actions
117 This package contains mod_actions module. This module lets you run CGI
118 scripts whenever a file of a certain type is requested. This makes it much
119 easier to execute scripts that process files.
120
121 %package mod_auth_anon
122 Summary:        Apache module with "anonymous" user access authentication
123 Group:          Networking/Daemons
124 Group(pl):      Sieciowe/Serwery
125 Prereq:         %{_sbindir}/apxs
126 Requires:       %{name} = %{version}
127
128 %description mod_auth_anon
129 This package contains mod_auth_anon module. It allows "anonymous" user
130 access to authenticated areas. It does access control in a manner similar to
131 anonymous-ftp sites; i.e. have a 'magic' user id 'anonymous' and the email
132 address as a password. These email addresses can be logged. Combined with
133 other (database) access control methods, this allows for effective user
134 tracking and customization according to a user profile while still keeping
135 the site open for 'unregistered' users. One advantage of using Auth-based
136 user tracking is that, unlike magic-cookies and funny URL pre/postfixes, it
137 is completely browser independent and it allows users to share URLs.
138
139 %package mod_digest
140 Summary:        Apache user authentication module using MD5 Digest Authentication 
141 Group:          Networking/Daemons
142 Group(pl):      Sieciowe/Serwery
143 Prereq:         %{_sbindir}/apxs
144 Requires:       %{name} = %{version}
145
146 %description mod_digest
147 This package contains mod_dir module. It provides user authentication using
148 MD5 Digest Authentication.
149
150 %package mod_dir
151 Summary:        Apache module for trailing slash" redirects and serving directory index files
152 Group:          Networking/Daemons
153 Group(pl):      Sieciowe/Serwery
154 Prereq:         %{_sbindir}/apxs
155 Requires:       %{name} = %{version}
156
157 %description mod_dir
158 This package contains mod_dir which provides "trailing slash" redirects and
159 serving directory index files.
160
161 %package mod_headers
162 Summary:        Apache module allows for the customization of HTTP response headers
163 Group:          Networking/Daemons
164 Group(pl):      Sieciowe/Serwery
165 Prereq:         %{_sbindir}/apxs
166 Requires:       %{name} = %{version}
167
168 %description mod_headers
169 This package contains mod_headers module. The module allows for the
170 customization of HTTP response headers. Headers can be merged, replaced or
171 removed.
172
173 %package mod_mmap_static
174 Summary:        Apache module for mmap()ing statically configured list files
175 Group:          Networking/Daemons
176 Group(pl):      Sieciowe/Serwery
177 Prereq:         %{_sbindir}/apxs
178 Requires:       %{name} = %{version}
179
180 %description mod_mmap_static
181 This package contains mod_mmap_static module. It provides mmap()ing of a
182 statically configured list of frequently requested but not changed files.
183
184 %package mod_imap
185 Summary:        Apache module with imap-file handler
186 Group:          Networking/Daemons
187 Group(pl):      Sieciowe/Serwery
188 Prereq:         %{_sbindir}/apxs
189 Requires:       %{name} = %{version}
190
191 %description mod_imap
192 This package contains mod_imap module. It provides for .map files, replacing
193 the functionality of the imagemap CGI program. Any directory or document
194 type configured to use the handler imap-file.
195
196 %package mod_info
197 Summary:        Apache module with comprehensive overview of the server configuration
198 Group:          Networking/Daemons
199 Group(pl):      Sieciowe/Serwery
200 Prereq:         %{_sbindir}/apxs
201 Requires:       %{name} = %{version}
202
203 %description mod_info
204 This package contains mod_mmap_static module. It provides a comprehensive
205 overview of the server configuration including all installed modules and
206 directives in the configuration files.
207
208 %package mod_proxy
209 Summary:        Apache module with Web proxy
210 Group:          Networking/Daemons
211 Group(pl):      Sieciowe/Serwery
212 Prereq:         %{_sbindir}/apxs
213 Requires:       %{name} = %{version}
214
215 %description mod_proxy
216 This package contains module with implementation a proxy/cache for Apache.
217 It implements proxying capability for FTP, CONNECT (for SSL), HTTP/0.9, and
218 HTTP/1.0. The module can be configured to connect to other proxy modules for
219 these and other protocols.
220
221 %package mod_rewrite
222 Summary:        Apache module with rule-based engine for rewrite requested URLs on the fly
223 Group:          Networking/Daemons
224 Group(pl):      Sieciowe/Serwery
225 Prereq:         %{_sbindir}/apxs
226 Requires:       %{name} = %{version}
227
228 %description mod_rewrite
229 This package contains It provides a rule-based rewriting engine to rewrite
230 requested URLs on the fly.
231
232 %package mod_status
233 Summary:        Server status report module for apache
234 Group:          Networking/Daemons
235 Group(pl):      Sieciowe/Serwery
236 Prereq:         %{_sbindir}/apxs
237 Requires:       %{name} = %{version}
238
239 %description mod_status
240 The Status module allows a server administrator to find out how well their
241 server is performing. A HTML page is presented that gives the current server
242 statistics in an easily readable form. If required this page can be made to
243 automatically refresh (given a compatible browser).
244
245 %package mod_usertrack
246 Summary:        Apache module for user tracking using cookies
247 Group:          Networking/Daemons
248 Group(pl):      Sieciowe/Serwery
249 Prereq:         %{_sbindir}/apxs
250 Requires:       %{name} = %{version}
251
252 %description mod_usertrack
253 This package contains the user tracking module which did its own logging
254 using CookieLog directory. This module allow multiple log files.
255
256 %package mod_vhost_alias
257 Summary:        Apache module for dynamically configured mass virtual hosting
258 Group:          Networking/Daemons
259 Group(pl):      Sieciowe/Serwery
260 Prereq:         %{_sbindir}/apxs
261 Requires:       %{name} = %{version}
262
263 %description mod_vhost_alias
264 This package contains the mod_vhost_alias. It provides support for
265 dynamically configured mass virtual hosting.
266
267 %package mod_unique_id
268 Summary:        Apache module which provides a magic token for each request
269 Group:          Networking/Daemons
270 Group(pl):      Sieciowe/Serwery
271 Prereq:         %{_sbindir}/apxs
272 Requires:       %{name} = %{version}
273
274 %description mod_unique_id
275 This package contains the mod_unique_id. This module provides a magic token
276 for each request which is guaranteed to be unique across "all" requests
277 under very specific conditions. The unique identifier is even unique across
278 multiple machines in a properly configured cluster of machines. The
279 environment variable UNIQUE_ID is set to the identifier for each request.
280 Unique identifiers are useful for various reasons which are beyond the scope
281 of this document.
282
283 %prep 
284 %setup -q -n apache_%{version} -a3
285 %patch0 -p1
286 %patch1 -p1
287 %patch2 -p1
288 %patch3 -p1
289 %patch4 -p1
290 %patch5 -p1
291 %patch6 -p1
292
293 %build
294
295 LDFLAGS="-s"; export LDFLAGS
296 OPTIM="$RPM_OPT_FLAGS" \
297 ./configure \
298         --prefix=%{_prefix} \
299         --sysconfdir=%{_sysconfdir} \
300         --includedir=%{_includedir} \
301         --sbindir=%{_sbindir} \
302         --libexecdir=%{_libexecdir} \
303         --datadir=%{_datadir} \
304         --localstatedir=/var \
305         --runtimedir=/var/run \
306         --logfiledir=/var/log/httpd \
307         --with-layout=PLD \
308         --without-confadjust \
309         --enable-module=all \
310         --enable-shared=max \
311         --proxycachedir=/var/cache/apache \
312         --with-perl=%{_bindir}/perl \
313         --enable-suexec \
314         --suexec-caller=http \
315         --suexec-uidmin=500 \
316         --suexec-gidmin=500 \
317         --disable-rule=WANTHSREGEX \
318         --enable-rule=EAPI
319 make
320
321 %install
322 rm -rf $RPM_BUILD_ROOT
323 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig} \
324         $RPM_BUILD_ROOT%{_datadir}/errordocs \
325         $RPM_BUILD_ROOT/var/{log/{httpd,archiv/httpd},state/apache/mm}
326
327 make install-quiet root="$RPM_BUILD_ROOT"
328
329 mv $RPM_BUILD_ROOT%{_datadir}/html/manual $RPM_BUILD_ROOT%{_datadir}
330
331 install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache
332 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/httpd
333 install %{SOURCE8} $RPM_BUILD_ROOT/etc/sysconfig/apache
334
335 touch $RPM_BUILD_ROOT/var/log/httpd/{access,error,agent,referer}_log
336
337 install errordocs/* $RPM_BUILD_ROOT%{_datadir}/errordocs
338
339 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/access.conf
340 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
341 install %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/srm.conf
342 install %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/virtual-host.conf
343
344 ln -sf index.html.en $RPM_BUILD_ROOT/home/httpd/html/index.html
345
346 strip --strip-unneeded $RPM_BUILD_ROOT%{_libexecdir}/*.so
347
348 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* \
349         ABOUT_APACHE src/CHANGES KEYS README
350
351 %pre
352 if [ -n "`getgid http`" ]; then
353         if [ "`getgid http`" != "51" ]; then
354                 echo "Warning: group http haven't gid=51. Corect this before install apache" 1>&2
355                 exit 1
356         fi
357 else
358         /usr/sbin/groupadd -g 51 -r -f http
359         if [ -f /var/db/group.db ]; then
360                 /usr/bin/update-db 1>&2
361         fi
362 fi
363 if [ -n "`id -u http 2>/dev/null`" ]; then
364         if [ "`id -u http`" != "51" ]; then
365                 echo "Warning: user http haven't uid=51. Corect this before install apache" 1>&2
366                 exit 1
367         fi
368 else
369         /usr/sbin/useradd -u 51 -r -d /home/httpd -s /bin/false -c "HTTP User" -g http http 1>&2
370         if [ -f /var/db/passwd.db ]; then
371                 /usr/bin/update-db 1>&2
372         fi
373 fi
374
375
376 %post
377 /sbin/chkconfig --add httpd
378 umask 137
379 touch /var/log/httpd/{access,error,agent,referer}_log
380 if [ -f /var/lock/subsys/httpd ]; then
381         /etc/rc.d/init.d/httpd restart 1>&2
382 else
383         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
384 fi
385 %{_sbindir}/apxs -e -a -n access %{_libexecdir}/mod_access.so 1>&2
386 %{_sbindir}/apxs -e -a -n alias %{_libexecdir}/mod_alias.so 1>&2
387 %{_sbindir}/apxs -e -a -n asis %{_libexecdir}/mod_asis.so 1>&2
388 %{_sbindir}/apxs -e -a -n auth %{_libexecdir}/mod_auth.so 1>&2
389 %{_sbindir}/apxs -e -a -n db_auth %{_libexecdir}/mod_auth_db.so 1>&2
390 %{_sbindir}/apxs -e -a -n dbm_auth %{_libexecdir}/mod_auth_dbm.so 1>&2
391 %{_sbindir}/apxs -e -a -n autoindex %{_libexecdir}/mod_autoindex.so 1>&2
392 %{_sbindir}/apxs -e -a -n cern_meta %{_libexecdir}/mod_cern_meta.so 1>&2
393 %{_sbindir}/apxs -e -a -n cgi %{_libexecdir}/mod_cgi.so 1>&2
394 %{_sbindir}/apxs -e -a -n env %{_libexecdir}/mod_env.so 1>&2
395 %{_sbindir}/apxs -e -a -n includes %{_libexecdir}/mod_include.so 1>&2
396 %{_sbindir}/apxs -e -a -n agent_log %{_libexecdir}/mod_log_agent.so 1>&2
397 %{_sbindir}/apxs -e -a -n config_log %{_libexecdir}/mod_log_config.so 1>&2
398 %{_sbindir}/apxs -e -a -n referer_log %{_libexecdir}/mod_log_referer.so 1>&2
399 %{_sbindir}/apxs -e -a -n mime %{_libexecdir}/mod_mime.so 1>&2
400 %{_sbindir}/apxs -e -a -n mime_magic %{_libexecdir}/mod_mime_magic.so 1>&2
401 %{_sbindir}/apxs -e -a -n negotiation %{_libexecdir}/mod_negotiation.so 1>&2
402 %{_sbindir}/apxs -e -a -n setenvif %{_libexecdir}/mod_setenvif.so 1>&2
403 %{_sbindir}/apxs -e -a -n speling %{_libexecdir}/mod_speling.so 1>&2
404 %{_sbindir}/apxs -e -a -n userdir %{_libexecdir}/mod_userdir.so 1>&2
405
406 %preun
407 if [ "$1" = "0" ]; then
408         %{_sbindir}/apxs -e -A -n access %{_libexecdir}/mod_access.so 1>&2
409         %{_sbindir}/apxs -e -A -n alias %{_libexecdir}/mod_alias.so 1>&2
410         %{_sbindir}/apxs -e -A -n asis %{_libexecdir}/mod_asis.so 1>&2
411         %{_sbindir}/apxs -e -A -n auth %{_libexecdir}/mod_auth.so 1>&2
412         %{_sbindir}/apxs -e -A -n db_auth %{_libexecdir}/mod_auth_db.so 1>&2
413         %{_sbindir}/apxs -e -A -n dbm_auth %{_libexecdir}/mod_auth_dbm.so 1>&2
414         %{_sbindir}/apxs -e -A -n autoindex %{_libexecdir}/mod_autoindex.so 1>&2
415         %{_sbindir}/apxs -e -A -n cern_meta %{_libexecdir}/mod_cern_meta.so 1>&2
416         %{_sbindir}/apxs -e -A -n cgi %{_libexecdir}/mod_cgi.so 1>&2
417         %{_sbindir}/apxs -e -A -n env %{_libexecdir}/mod_env.so 1>&2
418         %{_sbindir}/apxs -e -A -n includes %{_libexecdir}/mod_include.so 1>&2
419         %{_sbindir}/apxs -e -A -n agent_log %{_libexecdir}/mod_log_agent.so 1>&2
420         %{_sbindir}/apxs -e -A -n config_log %{_libexecdir}/mod_log_config.so 1>&2
421         %{_sbindir}/apxs -e -A -n referer_log %{_libexecdir}/mod_log_referer.so 1>&2
422         %{_sbindir}/apxs -e -A -n mime %{_libexecdir}/mod_mime.so 1>&2
423         %{_sbindir}/apxs -e -A -n mime_magic %{_libexecdir}/mod_mime_magic.so 1>&2
424         %{_sbindir}/apxs -e -A -n negotiation %{_libexecdir}/mod_negotiation.so 1>&2
425         %{_sbindir}/apxs -e -A -n setenvif %{_libexecdir}/mod_setenvif.so 1>&2
426         %{_sbindir}/apxs -e -A -n speling %{_libexecdir}/mod_speling.so 1>&2
427         %{_sbindir}/apxs -e -A -n userdir %{_libexecdir}/mod_userdir.so 1>&2
428         if [ -f /var/lock/subsys/httpd ]; then
429                 /etc/rc.d/init.d/httpd stop 1>&2
430         fi
431         /sbin/chkconfig --del httpd
432 fi
433
434 %postun
435 if [ "$1" = "0" ]; then
436         /usr/sbin/userdel http
437         if [ -f /var/db/passwd.db ]; then
438                 /usr/bin/update-db
439         fi
440         /usr/sbin/groupdel http
441         if [ -f /var/db/group.db ]; then
442                 /usr/bin/update-db
443         fi
444 fi
445
446 %post mod_actions
447 %{_sbindir}/apxs -e -a -n action %{_libexecdir}/mod_actions.so 1>&2
448
449 %preun mod_actions
450 if [ "$1" = "0" ]; then
451         %{_sbindir}/apxs -e -A -n action %{_libexecdir}/mod_actions.so 1>&2
452 fi
453
454 %post mod_auth_anon
455 %{_sbindir}/apxs -e -a -n anon_auth %{_libexecdir}/mod_auth_anon.so 1>&2
456
457 %preun mod_auth_anon
458 if [ "$1" = "0" ]; then
459         %{_sbindir}/apxs -e -A -n anon_auth %{_libexecdir}/mod_auth_anon.so 1>&2
460 fi
461
462 %post mod_digest
463 %{_sbindir}/apxs -e -a -n digest %{_libexecdir}/mod_digest.so 1>&2
464
465 %preun mod_digest
466 if [ "$1" = "0" ]; then
467         %{_sbindir}/apxs -e -A -n digest %{_libexecdir}/mod_digest.so 1>&2
468 fi
469
470 %post mod_dir
471 %{_sbindir}/apxs -e -a -n dir %{_libexecdir}/mod_dir.so 1>&2
472
473 %preun mod_dir
474 if [ "$1" = "0" ]; then
475         %{_sbindir}/apxs -e -A -n dir %{_libexecdir}/mod_dir.so 1>&2
476 fi
477
478 %post mod_expires
479 %{_sbindir}/apxs -e -a -n expires %{_libexecdir}/mod_expires.so 1>&2
480
481 %preun mod_expires
482 if [ "$1" = "0" ]; then
483         %{_sbindir}/apxs -e -A -n expires %{_libexecdir}/mod_expires.so 1>&2
484 fi
485
486 %post mod_headers
487 %{_sbindir}/apxs -e -a -n headers %{_libexecdir}/mod_headers.so 1>&2
488
489 %preun mod_headers
490 if [ "$1" = "0" ]; then
491         %{_sbindir}/apxs -e -A -n headers %{_libexecdir}/mod_headers.so 1>&2
492 fi
493
494 %post mod_mmap_static
495 %{_sbindir}/apxs -e -a -n mmap_static %{_libexecdir}/mod_mmap_static.so 1>&2
496
497 %preun mod_mmap_static
498 if [ "$1" = "0" ]; then
499         %{_sbindir}/apxs -e -A -n mmap_static %{_libexecdir}/mod_mmap_static.so 1>&2
500 fi
501
502 %post mod_imap
503 %{_sbindir}/apxs -e -a -n imap %{_libexecdir}/mod_imap.so 1>&2
504
505 %preun mod_imap
506 if [ "$1" = "0" ]; then
507         %{_sbindir}/apxs -e -A -n imap %{_libexecdir}/mod_imap.so 1>&2
508 fi
509
510 %post mod_info
511 %{_sbindir}/apxs -e -a -n info %{_libexecdir}/mod_info.so 1>&2
512
513 %preun mod_info
514 if [ "$1" = "0" ]; then
515         %{_sbindir}/apxs -e -A -n info %{_libexecdir}/mod_info.so 1>&2
516 fi
517
518 %post mod_proxy
519 %{_sbindir}/apxs -e -a -n proxy %{_libexecdir}/libproxy.so 1>&2
520
521 %preun mod_proxy
522 if [ "$1" = "0" ]; then
523         %{_sbindir}/apxs -e -A -n proxy %{_libexecdir}/libproxy.so 1>&2
524 fi
525
526 %post mod_rewrite
527 %{_sbindir}/apxs -e -a -n rewrite %{_libexecdir}/mod_rewrite.so 1>&2
528
529 %preun mod_rewrite
530 if [ "$1" = "0" ]; then
531         %{_sbindir}/apxs -e -A -n rewrite %{_libexecdir}/mod_rewrite.so 1>&2
532 fi
533
534 %post mod_status
535 %{_sbindir}/apxs -e -a -n status %{_libexecdir}/mod_status.so 1>&2
536
537 %preun mod_status
538 if [ "$1" = "0" ]; then
539         %{_sbindir}/apxs -e -A -n status %{_libexecdir}/mod_status.so 1>&2
540 fi
541
542 %post mod_usertrack
543 %{_sbindir}/apxs -e -a -n usertrack %{_libexecdir}/mod_usertrack.so 1>&2
544
545 %preun mod_usertrack
546 if [ "$1" = "0" ]; then
547         %{_sbindir}/apxs -e -A -n usertrack %{_libexecdir}/mod_usertrack.so 1>&2
548 fi
549
550 %post mod_unique_id
551 %{_sbindir}/apxs -e -a -n unique_id %{_libexecdir}/mod_unique_id.so 1>&2
552
553 %preun mod_unique_id
554 if [ "$1" = "0" ]; then
555         %{_sbindir}/apxs -e -A -n unique_id %{_libexecdir}/mod_unique_id.so 1>&2
556 fi
557
558 %post mod_vhost_alias
559 %{_sbindir}/apxs -e -a -n vhost_alias %{_libexecdir}/mod_vhost_alias.so 1>&2
560
561 %preun mod_vhost_alias
562 if [ "$1" = "0" ]; then
563         %{_sbindir}/apxs -e -A -n vhost_alias %{_libexecdir}/mod_vhost_alias.so 1>&2
564 fi
565
566 %clean
567 rm -rf $RPM_BUILD_ROOT
568
569 %files
570 %defattr(644,root,root,755)
571 %doc ABOUT_APACHE.gz src/CHANGES.gz KEYS.gz README.gz
572 %doc conf/mime.types
573
574 %dir %{_datadir}/manual
575 %dir %{_datadir}/manual/images/
576 %{_datadir}/manual/images/sub.gif
577 %{_datadir}/manual/images/index.gif
578 %{_datadir}/manual/images/home.gif 
579 %{_datadir}/manual/misc
580 %dir %{_datadir}/manual/search
581 %attr(755,root,root) %{_datadir}/manual/search/manual-index.cgi
582 %{_datadir}/manual/vhosts
583 %{_datadir}/manual/LICENSE
584 %{_datadir}/manual/bind.html
585 %{_datadir}/manual/cgi_path.html
586 %{_datadir}/manual/content-negotiation.html
587 %{_datadir}/manual/custom-error.html
588 %{_datadir}/manual/dns-caveats.html
589 %{_datadir}/manual/dso.html
590 %{_datadir}/manual/env.html
591 %{_datadir}/manual/footer.html
592 %{_datadir}/manual/handler.html
593 %{_datadir}/manual/header.html
594 %{_datadir}/manual/index.html
595 %{_datadir}/manual/install.html
596 %{_datadir}/manual/invoking.html
597 %{_datadir}/manual/keepalive.html
598 %{_datadir}/manual/location.html
599 %{_datadir}/manual/multilogs.html
600 %{_datadir}/manual/new_features_1_3.html
601 %{_datadir}/manual/process-model.html
602 %{_datadir}/manual/sections.html
603 %{_datadir}/manual/sourcereorg.html
604 %{_datadir}/manual/suexec.html
605 %{_datadir}/manual/upgrading_to_1_3.html
606 %{_datadir}/manual/mod/core.html
607 %{_datadir}/manual/mod/directive-dict.html
608 %{_datadir}/manual/mod/directives.html
609 %{_datadir}/manual/mod/footer.html
610 %{_datadir}/manual/mod/header.html
611 %{_datadir}/manual/mod/index.html
612 %{_datadir}/manual/mod/mod_access.html
613 %{_datadir}/manual/mod/mod_alias.html
614 %{_datadir}/manual/mod/mod_asis.html
615 %{_datadir}/manual/mod/mod_auth.html
616 %{_datadir}/manual/mod/mod_auth_db.html
617 %{_datadir}/manual/mod/mod_auth_dbm.html
618 %{_datadir}/manual/mod/mod_autoindex.html
619 %{_datadir}/manual/mod/mod_cgi.html
620 %{_datadir}/manual/mod/mod_cookies.html
621 %{_datadir}/manual/mod/mod_env.html
622 %{_datadir}/manual/mod/mod_include.html
623 %{_datadir}/manual/mod/mod_log_agent.html
624 %{_datadir}/manual/mod/mod_log_config.html
625 %{_datadir}/manual/mod/mod_log_referer.html
626 %{_datadir}/manual/mod/mod_mime.html
627 %{_datadir}/manual/mod/mod_mime_magic.html
628 %{_datadir}/manual/mod/mod_negotiation.html
629 %{_datadir}/manual/mod/mod_setenvif.html
630 %{_datadir}/manual/mod/mod_speling.html
631 %{_datadir}/manual/mod/mod_userdir.html
632
633 %attr(754,root,root) /etc/rc.d/init.d/httpd
634
635 %attr(750,root,root) %dir %{_sysconfdir}
636 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/access.conf
637 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf
638 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/srm.conf
639 %attr(640,root,root) %{_sysconfdir}/magic
640
641 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/*
642 %attr(640,root,root) %config(noreplace) /etc/logrotate.d/*
643
644 %attr(755,root,root) %dir %{_datadir}/html
645 %config(noreplace) %{_datadir}/html/index.html
646 %lang(ca) %{_datadir}/html/index.html.ca
647 %lang(cz) %{_datadir}/html/index.html.cz
648 %lang(de) %{_datadir}/html/index.html.de
649 %lang(dk) %{_datadir}/html/index.html.dk
650 %lang(ee) %{_datadir}/html/index.html.ee
651 %lang(en) %{_datadir}/html/index.html.en
652 %lang(es) %{_datadir}/html/index.html.es
653 %lang(fr) %{_datadir}/html/index.html.fr
654 %lang(it) %{_datadir}/html/index.html.it
655 %lang(lu) %{_datadir}/html/index.html.lu
656 %lang(nl) %{_datadir}/html/index.html.nl
657 %lang(pt) %{_datadir}/html/index.html.pt
658 %lang(se) %{_datadir}/html/index.html.se
659
660 %{_datadir}/html/*.gif
661 %{_datadir}/errordocs
662 %dir %{_datadir}/icons
663 %{_datadir}/icons/*.gif
664 %dir %{_datadir}/icons/small
665 %{_datadir}/icons/small/*.gif
666 %attr(755,root,root) %{_datadir}/cgi-bin
667
668 %dir %{_libexecdir}
669 %attr(755,root,root) %{_libexecdir}/mod_access.so
670 %attr(755,root,root) %{_libexecdir}/mod_alias.so
671 %attr(755,root,root) %{_libexecdir}/mod_asis.so
672 %attr(755,root,root) %{_libexecdir}/mod_auth.so
673 %attr(755,root,root) %{_libexecdir}/mod_auth_db.so
674 %attr(755,root,root) %{_libexecdir}/mod_auth_dbm.so
675 %attr(755,root,root) %{_libexecdir}/mod_autoindex.so
676 %attr(755,root,root) %{_libexecdir}/mod_cern_meta.so
677 %attr(755,root,root) %{_libexecdir}/mod_cgi.so
678 %attr(755,root,root) %{_libexecdir}/mod_env.so
679 %attr(755,root,root) %{_libexecdir}/mod_include.so
680 %attr(755,root,root) %{_libexecdir}/mod_log_agent.so
681 %attr(755,root,root) %{_libexecdir}/mod_log_config.so
682 %attr(755,root,root) %{_libexecdir}/mod_log_referer.so
683 %attr(755,root,root) %{_libexecdir}/mod_mime.so
684 %attr(755,root,root) %{_libexecdir}/mod_mime_magic.so
685 %attr(755,root,root) %{_libexecdir}/mod_negotiation.so
686 %attr(755,root,root) %{_libexecdir}/mod_setenvif.so
687 %attr(755,root,root) %{_libexecdir}/mod_speling.so
688 %attr(755,root,root) %{_libexecdir}/mod_userdir.so
689
690 %attr(755,root,root) %{_bindir}/dbmmanage 
691 %attr(755,root,root) %{_bindir}/htdigest
692 %attr(755,root,root) %{_bindir}/htpasswd
693
694 %attr(755,root,root) %{_sbindir}/ab
695 %attr(755,root,root) %{_sbindir}/apachectl
696 %attr(755,root,root) %{_sbindir}/apxs
697 %attr(755,root,root) %{_sbindir}/httpd
698 %attr(755,root,root) %{_sbindir}/logresolve
699 %attr(755,root,root) %{_sbindir}/rotatelogs
700
701 %dir %attr(750,http,http) /var/state/apache
702
703 %{_mandir}/man[18]/*
704
705 %attr(750,root,root) %dir /var/log/httpd
706 %attr(750,root,root) %dir /var/log/archiv/httpd
707 %attr(640,root,root) %ghost /var/log/httpd/*
708
709 %files suexec
710 %attr(4755,root,root) %{_sbindir}/suexec
711
712 %files devel
713 %defattr(644,root,root,755) 
714
715 %{_includedir}
716
717 %files mod_actions
718 %attr(755,root,root) %{_libexecdir}/mod_actions.so
719 %attr(644,root,root) %{_datadir}/manual/mod/mod_actions.html
720
721 %files mod_auth_anon
722 %attr(755,root,root) %{_libexecdir}/mod_auth_anon.so
723 %attr(644,root,root) %{_datadir}/manual/mod/mod_auth_anon.html
724
725 %files mod_digest
726 %attr(755,root,root) %{_libexecdir}/mod_digest.so
727 %attr(644,root,root) %{_datadir}/manual/mod/mod_digest.html
728
729 %files mod_dir
730 %attr(755,root,root) %{_libexecdir}/mod_dir.so
731 %attr(644,root,root) %{_datadir}/manual/mod/mod_dir.html
732
733 %files mod_expires
734 %attr(755,root,root) %{_libexecdir}/mod_expires.so
735 %attr(644,root,root) %{_datadir}/manual/mod/mod_expires.html
736
737 %files mod_headers
738 %attr(755,root,root) %{_libexecdir}/mod_headers.so
739 %attr(644,root,root) %{_datadir}/manual/mod/mod_headers.html
740
741 %files mod_mmap_static
742 %attr(755,root,root) %{_libexecdir}/mod_mmap_static.so
743 %attr(644,root,root) %{_datadir}/manual/mod/mod_mmap_static.html
744
745 %files mod_imap
746 %attr(755,root,root) %{_libexecdir}/mod_imap.so
747 %attr(644,root,root) %{_datadir}/manual/mod/mod_imap.html
748
749 %files mod_info
750 %attr(755,root,root) %{_libexecdir}/mod_info.so
751 %attr(644,root,root) %{_datadir}/manual/mod/mod_info.html
752
753 %files mod_proxy
754 %attr(755,root,root) %{_libexecdir}/libproxy.so
755 %attr(644,root,root) %{_datadir}/manual/mod/mod_proxy.html
756 %dir %attr(750,http,http) /var/cache/apache
757
758 %files mod_rewrite
759 %attr(755,root,root) %{_libexecdir}/mod_rewrite.so
760 %attr(644,root,root) %{_datadir}/manual/mod/mod_rewrite.html
761
762 %files mod_status
763 %attr(755,root,root) %{_libexecdir}/mod_status.so
764 %attr(644,root,root) %{_datadir}/manual/mod/mod_status.html
765
766 %files mod_usertrack
767 %attr(755,root,root) %{_libexecdir}/mod_usertrack.so
768 %attr(644,root,root) %{_datadir}/manual/mod/mod_usertrack.html
769
770 %files mod_unique_id
771 %attr(755,root,root) %{_libexecdir}/mod_unique_id.so
772 %attr(644,root,root) %{_datadir}/manual/mod/mod_unique_id.html
773
774 %files mod_vhost_alias
775 %attr(755,root,root) %{_libexecdir}/mod_vhost_alias.so
776 %attr(644,root,root) %{_datadir}/manual/mod/mod_vhost_alias.html
777 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/virtual-host.conf
This page took 0.100258 seconds and 4 git commands to generate.