]> git.pld-linux.org Git - packages/nagios.git/blob - nagios.spec
- suggest theme packages in default theme package
[packages/nagios.git] / nagios.spec
1 # TODO
2 # - /var/log/nagios/archives -> /var/log/archive/nagios
3 #
4 # Conditional build:
5 %bcond_without  gd      # without statusmap and trends, which require gd library
6 %bcond_with     epn     # with Embedded Perl
7 # reeenable when http://tracker.nagios.org/view.php?id=51 is fixed
8 %bcond_with     tests
9
10 Summary:        Host/service/network monitoring program
11 Summary(pl.UTF-8):      Program do monitorowania serwerów/usług/sieci
12 Summary(pt_BR.UTF-8):   Programa para monitoração de máquinas e serviços
13 Name:           nagios
14 Version:        3.3.1
15 Release:        5
16 License:        GPL v2+
17 Group:          Networking
18 Source0:        http://downloads.sourceforge.net/nagios/%{name}-%{version}.tar.gz
19 # Source0-md5:  c935354ce0d78a63bfabc3055fa77ad5
20 Source1:        %{name}-apache.conf
21 Source2:        %{name}.init
22 Source3:        %{name}.sysconfig
23 Source4:        %{name}-config-20090914.tar.bz2
24 # Source4-md5:  605f1cd28c00db961dad6f529d849f16
25 Source5:        %{name}-lighttpd.conf
26 Source6:        http://www.google.com/mapfiles/shadow50.png
27 # Source6-md5:  eff99f302f21b95a900d321743fce72b
28 Source7:        http://www.google.com/mapfiles/marker.png
29 # Source7-md5:  edefef4bdfc29e1c953694651f05b466
30 Source8:        googlemap.js
31 Patch0:         %{name}-resources.patch
32 Patch1:         %{name}-iconv-in-libc.patch
33 Patch2:         %{name}-webapps.patch
34 Patch3:         %{name}-cgi-http_charset.patch
35 Patch4:         %{name}-cmd-typo.patch
36 Patch5:         config.patch
37 Patch6:         %{name}-googlemap.patch
38 Patch7:         %{name}-doc-usermacros.patch
39 Patch8:         archivelog-timeformat.patch
40 Patch9:         %{name}-html-Makefile.in.patch
41 URL:            http://www.nagios.org/
42 BuildRequires:  autoconf
43 BuildRequires:  automake
44 BuildRequires:  rpmbuild(macros) >= 1.268
45 BuildRequires:  sed >= 4.0
46 %if %{with gd}
47 BuildRequires:  gd-devel
48 BuildRequires:  libjpeg-devel
49 BuildRequires:  libpng-devel
50 %endif
51 %if %{with tests}
52 BuildRequires:  perl-HTML-Lint
53 BuildRequires:  perl-Test-WWW-Mechanize-CGI
54 %endif
55 Requires(post,preun):   /sbin/chkconfig
56 Requires:       %{name}-common = %{version}-%{release}
57 Requires:       rc-scripts
58 Requires:       sh-utils
59 Suggests:       nagios-notify >= 0.13
60 Suggests:       nagios-plugin-check_load
61 Suggests:       nagios-plugin-check_ping
62 Suggests:       nagios-plugins
63 Provides:       nagios-core
64 Obsoletes:      netsaint
65 Conflicts:      iputils-ping < 1:ss020124
66 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
67
68 %define         _sysconfdir     /etc/%{name}
69 %define         cgidir          %{_libdir}/%{name}/cgi
70 %define         htmldir         %{_prefix}/share/%{name}
71 %define         _localstatedir  /var/lib/%{name}
72 %define         _webapps        /etc/webapps
73 %define         _webapp         %{name}
74
75 %description
76 Nagios is a program that will monitor hosts and services on your
77 network. It has the ability to email or page you when a problem arises
78 and when a problem is resolved. Nagios is written in C and is designed
79 to run under Linux (and some other *NIX variants) as a background
80 process, intermittently running checks on various services that you
81 specify.
82
83 The actual service checks are performed by separate "plugin" programs
84 which return the status of the checks to Nagios. The plugins are
85 available in nagios-plugins packages.
86
87 Nagios is successor to NetSaint.
88
89 %description -l pl.UTF-8
90 Nagios to program, który monitoruje serwery oraz usługi w naszej
91 sieci. Posiada on możliwość wysyłania informacji o wystąpieniu oraz
92 rozwiązaniu problemu. Nagios został napisany w C oraz jest
93 zaprojektowany do pracy pod Linuksem (i niektórymi innymi uniksami)
94 jako proces pracujący w tle i bezustannie wykonujący pewne operacje
95 sprawdzające.
96
97 Właściwe sprawdzanie jest wykonywane przez osobne programy
98 ("wtyczki"), które zwracają informacje o statusie do Nagiosa. Wtyczki
99 są dostępne na stronie w pakietach nagios-plugins.
100
101 Nagios jest następcą NetSainta.
102
103 %description -l pt_BR.UTF-8
104 O Nagios é um programa que monitora máquinas e serviços na sua rede.
105 Ele pode enviar um email ou um aviso de pager para o administrador
106 quando surgir um problema e quando ele for resolvido. Nagios é escrito
107 em C e foi desenvolvido para rodar em plataformas Linux (e algumas
108 variações de *NIX) como um processo em segundo plano, periodicamente
109 executando checagens nos diversos serviços que forem especificados.
110
111 %package common
112 Summary:        Common files needed by both nagios and nrpe
113 Summary(pl.UTF-8):      Wspólne pliki wymagane zarówno przez nagiosa jak i nrpe
114 Group:          Networking
115 Requires(postun):       /usr/sbin/groupdel
116 Requires(postun):       /usr/sbin/userdel
117 Requires(pre):  /bin/id
118 Requires(pre):  /usr/bin/getgid
119 Requires(pre):  /usr/sbin/groupadd
120 Requires(pre):  /usr/sbin/groupmod
121 Requires(pre):  /usr/sbin/useradd
122 Requires(pre):  /usr/sbin/usermod
123 Provides:       group(nagcmd)
124 Provides:       group(nagios)
125 Provides:       user(nagios)
126
127 %description common
128 Common files needed by both nagios and nrpe.
129
130 %description common -l pl.UTF-8
131 Wspólne pliki wymagane zarówno przez nagiosa jak i nrpe.
132
133 %package cgi
134 Summary:        CGI webinterface for Nagios
135 Summary(pl.UTF-8):      Interfejs WWW/CGI dla Nagiosa
136 Group:          Applications/WWW
137 # for dirs... and accessing local logs, nagios config
138 Requires:       %{name} = %{version}-%{release}
139 Requires:       %{name}-imagepaks
140 Requires:       %{name}-theme
141 Requires:       group(http)
142 Requires:       webapps
143 Requires:       webserver
144 Requires:       webserver(access)
145 Requires:       webserver(alias)
146 Requires:       webserver(auth)
147 Requires:       webserver(cgi)
148 Requires:       webserver(indexfile)
149 Suggests:       %{name}-doc
150
151 %description cgi
152 CGI webinterface for Nagios.
153
154 %description cgi -l pl.UTF-8
155 Interfejs CGI dla Nagiosa.
156
157 %package mrtggraphs
158 Summary:        MRTG Graphs: Nagios Statistics
159 Group:          Applications/Networking
160 Requires:       %{name} = %{version}-%{release}
161 Provides:       mrtg-start
162
163 %description mrtggraphs
164 This pacakge graphs several Nagios statistics which can be useful for
165 debugging and trending purposes. The nagiostats binary is used to
166 generate the data.
167
168 %package doc
169 Summary:        HTML Documentation for Nagios
170 Group:          Documentation
171 # does not require base
172
173 %description doc
174 HTML Documentation for Nagios.
175
176 %package theme-classicui
177 Summary:        ClassicUI Nagios theme
178 Group:          Applications/WWW
179 Requires:       %{name}-cgi = %{version}-%{release}
180 Requires:       webserver(php)
181 Provides:       nagios-theme
182 Obsoletes:      nagios-theme
183
184 %description theme-classicui
185 Original theme from Nagios.
186
187 %description theme-classicui -l pl.UTF-8
188 Oryginalny motyw z Nagiosa.
189
190 %package theme-default
191 Summary:        Virtual package to handle Nagios theme migration
192 Group:          Applications/WWW
193 Requires:       nagios-theme
194 Suggests:       nagios-theme-classicui
195 Suggests:       nagios-theme-exfoliation
196 Suggests:       nagios-theme-nuvola
197 Obsoletes:      nagios-theme-default < 3.3.1-1.4
198
199 %description theme-default
200 Virtual package to handle Nagios theme migration
201
202 %package devel
203 Summary:        Include files that Nagios-related applications may compile against
204 Summary(pl.UTF-8):      Pliki nagłówkowe, wykorzystywane przez aplikacje nagiosa
205 Summary(pt_BR.UTF-8):   Arquivos de cabeçalho necessários para desenvolvimento de aplicativos para o Nagios
206 Group:          Development/Libraries
207 # doesn't require base
208
209 %description devel
210 This package provides include files that Nagios-related applications
211 may compile against.
212
213 %description devel -l pl.UTF-8
214 Ten pakiet dostarcza pliki nagłówkowe, które mogą być wykorzystywane
215 przez aplikacje związane z nagiosem podczas kompilacji.
216
217 %description devel -l pt_BR.UTF-8
218 Este pacote contém arquivos de cabeçalho usados no desenvolvimento de
219 aplicativos para o Nagios.
220
221 %prep
222 %setup -qc -a4
223 mv %{name}/* .
224 %undos cgi/*.c
225 %undos include/*.h
226 %undos base/*
227 %patch0 -p0
228 %patch1 -p1
229 %patch2 -p1
230 %patch3 -p1
231 #fixed
232 #%patch4 -p1
233 %patch5 -p1
234 %patch6 -p1
235 %patch7 -p1
236 %patch8 -p1
237 %patch9 -p1
238
239 find -name .cvsignore -o -name .gitignore | xargs rm
240
241 mv nagios-config-*/objects/*.cfg sample-config/template-object
242 mv nagios-config-*/*.cfg sample-config
243
244 # cleanup backups after patching
245 find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
246
247 sed -i -e '
248         s,".*/var/rw/%{name}.cmd,"%{_localstatedir}/rw/%{name}.cmd,
249         s,".*/libexec/eventhandlers,"%{_libdir}/%{name}/eventhandlers,
250 ' $(find contrib/eventhandlers -type f)
251
252 %{__sed} -i -e '
253         s,/usr/local/nagios/var/,/var/log/%{name}/,g
254 ' p1.pl
255
256 sed -e 's,%{_prefix}/lib/,%{_libdir}/,' %{SOURCE1} > apache.conf
257 sed -e 's,%{_prefix}/lib/,%{_libdir}/,' %{SOURCE5} > lighttpd.conf
258
259 # fixup cgi config
260 %{__sed} -i -e '
261         # kill trailing spaces
262         s, \+$,,
263         # use real paths
264         s,/usr/local/%{name}/share,@datadir@,g
265         # we want all authorized users have default access
266         s,=nagiosadmin,=*,g
267 ' sample-config/*.cfg.in
268
269 # fixup paths in doc
270 #%{__sed} -i -e '
271 #       s,/usr/local/%{name}/var/archives/,/var/log/%{name}/archives/,
272 #' html/docs/configmain.html
273
274 #rm t/611cgistatus-hosturgencies.t
275
276 %build
277 cp -f /usr/share/automake/config.sub .
278 %{__aclocal}
279 %{__autoconf}
280 %if %{with tests}
281 cd tap
282 %{__libtoolize}
283 %{__aclocal}
284 %{__autoconf}
285 cd ..
286 %endif
287 %configure \
288         CFLAGS="%{rpmcflags} %{rpmcppflags}" \
289         --bindir=%{_sbindir} \
290         --sbindir=%{cgidir} \
291         --datadir=%{htmldir} \
292         --with-nagios-user=%{name} \
293         --with-nagios-grp=%{name} \
294         --with-command-user=%{name} \
295         --with-command-grp=%{name} \
296         --with-lockfile=%{_localstatedir}/%{name}.pid \
297         --with-checkresult-dir=%{_var}/spool/%{name}/checkresults \
298         --with-ping_command='/bin/ping -n %%s -c %%d' \
299         %{!?with_gd:--disable-statusmap --disable-trends} \
300         %{?with_epn:--enable-embedded-perl --with-perlcache} \
301         %{?with_tests:--enable-libtap} \
302         --enable-event-broker
303
304 %{__make} all
305
306 %if %{with epn}
307 %{__make} -C contrib mini_epn
308 %endif
309
310 %{?with_tests:%{__make} test}
311
312 %install
313 rm -rf $RPM_BUILD_ROOT
314 install -d $RPM_BUILD_ROOT{/etc/{sysconfig,rc.d/init.d},%{_webapps}/%{_webapp}} \
315         $RPM_BUILD_ROOT{%{_var}/log/%{name}/archives,%{_localstatedir}/rw} \
316         $RPM_BUILD_ROOT%{_sysconfdir}/{plugins,objects} \
317         $RPM_BUILD_ROOT%{_libdir}/%{name}/{eventhandlers,plugins,brokers} \
318 %if "%{_lib}" != "lib"
319         $RPM_BUILD_ROOT%{_prefix}/lib/%{name}/{eventhandlers,plugins} \
320 %endif
321
322 install -d $RPM_BUILD_ROOT%{_includedir}/%{name}
323 cp -p include/*.h       $RPM_BUILD_ROOT%{_includedir}/%{name}
324
325 %{__make} install-unstripped \
326         DESTDIR=$RPM_BUILD_ROOT \
327         INSTALL_OPTS="" \
328         INIT_OPTS="" \
329         COMMAND_OPTS=""
330
331 %if %{with epn}
332 mv $RPM_BUILD_ROOT{%{_sbindir},%{_libdir}/%{name}}/p1.pl
333 install -d $RPM_BUILD_ROOT%{_bindir}
334 install -p contrib/mini_epn $RPM_BUILD_ROOT%{_bindir}
335 %endif
336
337 install -p %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
338 cp -p %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/%{name}
339
340 # install templated configuration files
341 for a in %{name}.cfg resource.cfg commands.cfg contactgroups.cfg contacts.cfg templates.cfg timeperiods.cfg; do
342         cp -p sample-config/$a $RPM_BUILD_ROOT%{_sysconfdir}
343 done
344
345 # webserver files
346 cp -p apache.conf $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/apache.conf
347 cp -p apache.conf $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/httpd.conf
348 cp -p lighttpd.conf $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/lighttpd.conf
349 cp -p sample-config/cgi.cfg $RPM_BUILD_ROOT%{_webapps}/%{_webapp}
350 cp -p %{SOURCE6} $RPM_BUILD_ROOT%{htmldir}/images
351 cp -p %{SOURCE7} $RPM_BUILD_ROOT%{htmldir}/images
352 cp -p %{SOURCE8} $RPM_BUILD_ROOT%{htmldir}/images
353 > $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/passwd
354 echo 'nagios:' > $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/group
355
356 # install event handlers, sample config
357 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
358 cp -a contrib/eventhandlers $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
359 cp -a sample-config $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
360 find $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} -name '*.in' | xargs rm
361
362 # mrtg script
363 install -d $RPM_BUILD_ROOT/etc/mrtg/conf.d
364 cp -a sample-config/mrtg.cfg $RPM_BUILD_ROOT/etc/mrtg/conf.d/%{name}.cfg
365
366 # Object data/cache files
367 for i in {objects.{cache,precache},{retention,status}.dat,%{name}.{tmp,pid}}; do
368         > $RPM_BUILD_ROOT%{_localstatedir}/$i
369 done
370 > $RPM_BUILD_ROOT%{_localstatedir}/rw/%{name}.cmd
371
372 install -d $RPM_BUILD_ROOT%{_docdir}/%{name}
373 mv $RPM_BUILD_ROOT{%{htmldir}/docs/*,%{_docdir}/%{name}}
374
375 %clean
376 rm -rf $RPM_BUILD_ROOT
377
378 %post
379 for i in %{_localstatedir}/{objects.{cache,precache},{retention,status}.dat}; do
380         [ ! -f $i ] && touch $i
381         chown root:nagios $i
382         chmod 664 $i
383 done
384
385 /sbin/chkconfig --add %{name}
386 %service %{name} restart "Nagios service"
387
388 %preun
389 if [ "$1" = "0" ] ; then
390         %service %{name} stop
391         /sbin/chkconfig --del %{name}
392 fi
393
394 %pre common
395 # rename group netsaint -> nagios
396 if [ "$(getgid netsaint 2>/dev/null)" = "72" ]; then
397         /usr/sbin/groupmod -n nagios netsaint
398 fi
399 # rename group nagios-data -> nagcmd
400 if [ "$(getgid nagios-data 2>/dev/null)" = "147" ]; then
401         /usr/sbin/groupmod -n nagcmd nagios-data
402 fi
403 %groupadd -g 72 nagios
404 %groupadd -g 147 -f nagcmd
405 if [ -n "$(id -u netsaint 2>/dev/null)" ] && [ "$(id -u netsaint)" = "72" ]; then
406         /usr/sbin/usermod -d %{_libdir}/%{name} -l nagios -c "Nagios Daemon" -G nagcmd netsaint
407 fi
408 %useradd -u 72 -d %{_libdir}/%{name} -s /bin/false -c "Nagios Daemon" -g nagios -G nagcmd nagios
409
410 %postun common
411 if [ "$1" = "0" ]; then
412         %userremove nagios
413         %groupremove nagios
414         %groupremove nagcmd
415 fi
416
417 %post cgi
418 if [ "$1" = 1 ]; then
419 %banner %{name} -e <<EOF
420 NOTE:
421 You need to add user to %{_webapps}/%{_webapp}/passwd and
422 %{_webapps}/%{_webapp}/group to access Nagios via web.
423
424 EOF
425 fi
426
427 %triggerin cgi -- apache1 < 1.3.37-3, apache1-base
428 %addusertogroup http nagcmd
429 %webapp_register apache %{_webapp}
430
431 %triggerun cgi -- apache1 < 1.3.37-3, apache1-base
432 %webapp_unregister apache %{_webapp}
433
434 %triggerin cgi -- apache < 2.2.0, apache-base
435 %addusertogroup http nagcmd
436 %webapp_register httpd %{_webapp}
437
438 %triggerun cgi -- apache < 2.2.0, apache-base
439 %webapp_unregister httpd %{_webapp}
440
441 %triggerin cgi -- lighttpd
442 %addusertogroup lighttpd nagcmd
443 %webapp_register lighttpd %{_webapp}
444
445 %triggerun cgi -- lighttpd
446 %webapp_unregister lighttpd %{_webapp}
447
448 %triggerpostun -- nagios-cgi < 2.0-0.b3.21
449 chown root:http %{_sysconfdir}/cgi.cfg
450
451 %triggerpostun -- nagios < 3.1.2-4
452 # restore lost files
453 for a in dependencies.cfg services.cfg serviceextinfo.cfg hosts.cfg hostgroups.cfg hostextinfo.cfg escalations.cfg checkcommands.cfg misccommands.cfg; do
454         if [ -f %{_sysconfdir}/$a.rpmsave -a ! -f %{_sysconfdir}/$a ]; then
455                 mv -f %{_sysconfdir}/$a{.rpmsave,}
456         fi
457 done
458 %{__sed} -i -e 's,^check_result_path=.*,check_result_path=%{_var}/spool/%{name}/checkresults,' %{_sysconfdir}/%{name}.cfg
459
460 %files
461 %defattr(644,root,root,755)
462 %doc Changelog README* UPGRADING INSTALLING LICENSE
463 %attr(750,root,nagios) %dir %{_sysconfdir}/objects
464
465 # leave main nagios config readable for -cgi.
466 %attr(640,root,nagcmd) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.cfg
467
468 %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/commands.cfg
469 %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/contactgroups.cfg
470 %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/contacts.cfg
471 %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/resource.cfg
472 %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/templates.cfg
473 %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/timeperiods.cfg
474
475 %attr(754,root,root) /etc/rc.d/init.d/%{name}
476 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
477
478 %attr(755,root,root) %{_sbindir}/%{name}
479 %attr(755,root,root) %{_sbindir}/nagiostats
480 %dir %{_libdir}/%{name}/brokers
481
482 %attr(770,root,nagcmd) %dir %{_var}/log/%{name}
483 %attr(770,root,nagcmd) %dir %{_var}/log/%{name}/archives
484
485 %attr(770,root,nagcmd) %dir %{_localstatedir}
486 %attr(2770,root,nagcmd) %dir %{_localstatedir}/rw
487 %attr(660,nagios,nagcmd) %ghost %{_localstatedir}/rw/%{name}.cmd
488 %attr(664,root,nagios) %ghost %{_localstatedir}/objects.cache
489 %attr(664,root,nagios) %ghost %{_localstatedir}/objects.precache
490 %attr(664,root,nagios) %ghost %{_localstatedir}/*.dat
491 %attr(664,root,nagios) %ghost %{_localstatedir}/%{name}.tmp
492 %attr(664,root,nagios) %ghost %{_localstatedir}/%{name}.pid
493
494 %attr(770,root,nagcmd) %dir %{_var}/spool/%{name}/checkresults
495
496 %{_examplesdir}/%{name}-%{version}
497
498 # epn
499 %if %{with epn}
500 %attr(755,root,root) %{_libdir}/%{name}/p1.pl
501 %attr(755,root,root) %{_bindir}/mini_epn
502 %endif
503
504 %files common
505 %defattr(644,root,root,755)
506 %attr(750,root,nagcmd) %dir %{_sysconfdir}
507 %attr(750,root,nagios) %dir %{_sysconfdir}/plugins
508 %dir %{_libdir}/%{name}
509 %dir %{_libdir}/%{name}/plugins
510 %dir %{_libdir}/%{name}/eventhandlers
511
512 %if "%{_lib}" != "lib"
513 %dir %{_prefix}/lib/%{name}
514 %dir %{_prefix}/lib/%{name}/plugins
515 %dir %{_prefix}/lib/%{name}/eventhandlers
516 %endif
517
518 %attr(770,root,nagcmd) %dir %{_var}/spool/%{name}
519
520 %files mrtggraphs
521 %defattr(644,root,root,755)
522 %config(noreplace) %verify(not md5 mtime size) /etc/mrtg/conf.d/%{name}.cfg
523
524 %files doc
525 %defattr(644,root,root,755)
526 %{_docdir}/%{name}
527
528 %files cgi
529 %defattr(644,root,root,755)
530 %dir %attr(750,root,http) %{_webapps}/%{_webapp}
531 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/apache.conf
532 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/httpd.conf
533 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/lighttpd.conf
534 %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/cgi.cfg
535 %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/passwd
536 %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/group
537 %dir %{cgidir}
538 %attr(755,root,root) %{cgidir}/*.cgi
539
540 %dir %{htmldir}
541 %dir %{htmldir}/includes
542 %dir %{htmldir}/images
543 %dir %{htmldir}/stylesheets
544 %{htmldir}/robots.txt
545 %{htmldir}/contexthelp
546 %{htmldir}/media
547 %{htmldir}/ssi
548 %{htmldir}/images/favicon.ico
549 %{htmldir}/images/marker.png
550 %{htmldir}/images/shadow50.png
551
552 %files theme-classicui
553 %defattr(644,root,root,755)
554 %{htmldir}/*.php
555 %{htmldir}/includes/*
556 %{htmldir}/images/*
557 %exclude %{htmldir}/images/favicon.ico
558 %exclude %{htmldir}/images/marker.png
559 %exclude %{htmldir}/images/shadow50.png
560 %{htmldir}/stylesheets/*
561
562 %files theme-default
563 %defattr(644,root,root,755)
564
565 %files devel
566 %defattr(644,root,root,755)
567 %dir %{_includedir}/%{name}
568 %{_includedir}/%{name}/*.h
This page took 0.079248 seconds and 4 git commands to generate.