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