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