]> git.pld-linux.org Git - packages/nagios.git/blame - nagios.spec
- suggest some basic plugins in main 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
ER
15Source0: http://downloads.sourceforge.net/nagios/%{name}-%{version}.tar.gz
16# Source0-md5: 3566167cc60ddeaad34e7d2e26ed4a58
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
31f3ed2f 128# for dirs... and accessing local logs.
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)
1b3d1540
TO
140
141%description cgi
0964d76f
JB
142CGI webinterface for Nagios.
143
eb034f05 144%description cgi -l pl.UTF-8
0964d76f 145Interfejs CGI dla Nagiosa.
1b3d1540 146
20145354
ER
147%package theme-default
148Summary: Default Nagios theme
a02dfee5 149Summary(pl.UTF-8): Domyślny motyw Nagiosa
7c33b67a 150Group: Applications/WWW
73072fcf 151Requires: nagios-cgi = %{version}-%{release}
fdea6415 152Requires: webserver(php)
60238ce7
JB
153Provides: nagios-theme
154Obsoletes: nagios-theme
20145354
ER
155
156%description theme-default
157Original theme from Nagios.
158
eb034f05 159%description theme-default -l pl.UTF-8
60238ce7
JB
160Oryginalny motyw z Nagiosa.
161
1b3d1540 162%package devel
e5fcc454 163Summary: Include files that Nagios-related applications may compile against
a02dfee5
ER
164Summary(pl.UTF-8): Pliki nagłówkowe, wykorzystywane przez aplikacje nagiosa
165Summary(pt_BR.UTF-8): Arquivos de cabeçalho necessários para desenvolvimento de aplicativos para o Nagios
1b3d1540 166Group: Development/Libraries
e1f9e4d5 167# doesn't require base
1b3d1540
TO
168
169%description devel
e5fcc454 170This package provides include files that Nagios-related applications
1b3d1540
TO
171may compile against.
172
eb034f05
JR
173%description devel -l pl.UTF-8
174Ten pakiet dostarcza pliki nagłówkowe, które mogą być wykorzystywane
175przez aplikacje związane z nagiosem podczas kompilacji.
1b3d1540 176
eb034f05
JR
177%description devel -l pt_BR.UTF-8
178Este pacote contém arquivos de cabeçalho usados no desenvolvimento de
1b3d1540
TO
179aplicativos para o Nagios.
180
181%prep
9c387eb0 182%setup -q -a4
b24b4667
ER
183%patch0 -p0
184%patch1 -p1
4a3af0fb 185%patch2 -p1
f29ace4f 186%patch3 -p1
d39e610a 187%patch4 -p1
744a134f 188%patch5 -p1
455492e8 189%patch6 -p1
156a07c5 190
6e193622 191find -name .cvsignore -o -name .gitignore | xargs rm
fdea6415
ER
192
193mv nagios-config-*/objects/*.cfg sample-config/template-object
194mv nagios-config-*/*.cfg sample-config
195
af765cf5
ER
196# cleanup backups after patching
197find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
198
156a07c5
ER
199sed -i -e '
200 s,".*/var/rw/nagios.cmd,"%{_localstatedir}/rw/nagios.cmd,
201 s,".*/libexec/eventhandlers,"%{_libdir}/%{name}/eventhandlers,
202' $(find contrib/eventhandlers -type f)
1b3d1540 203
078e0b6e 204sed -e 's,%{_prefix}/lib/,%{_libdir}/,' %{SOURCE1} > apache.conf
9c387eb0 205sed -e 's,%{_prefix}/lib/,%{_libdir}/,' %{SOURCE5} > lighttpd.conf
078e0b6e 206
744a134f
ER
207# fixup cgi config
208%{__sed} -i -e '
209 # kill trailing spaces
210 s, \+$,,
211 # use real paths
212 s,/usr/local/nagios/share,@datadir@,g
213 # we want all authorized users have default access
214 s,=nagiosadmin,=*,g
4af19791 215' sample-config/*.cfg.in
744a134f 216
1b3d1540 217%build
156a07c5 218cp -f /usr/share/automake/config.sub .
a9824b3a
TO
219%{__aclocal}
220%{__autoconf}
221%configure \
b654dd87 222 CFLAGS="%{rpmcflags} %{rpmcppflags}" \
1b3d1540
TO
223 --with-nagios-user=%{name} \
224 --with-nagios-grp=%{name} \
156a07c5
ER
225 --with-command-user=%{name} \
226 --with-command-grp=%{name} \
227 --with-lockfile=%{_localstatedir}/%{name}.pid \
e56088ed 228 --with-checkresult-dir=%{_var}/spool/%{name}/checkresults \
0964d76f 229 --with-ping_command='/bin/ping -n %%s -c %%d' \
8c8f3904
AM
230 %{!?with_gd:--disable-statusmap --disable-trends} \
231 %{?with_tests:--enable-libtap} \
232 --enable-event-broker
1b3d1540
TO
233
234%{__make} all
235
8c8f3904
AM
236%{?with_tests:%{__make} test}
237
1b3d1540
TO
238%install
239rm -rf $RPM_BUILD_ROOT
4a5ea7ae
ER
240install -d $RPM_BUILD_ROOT{/etc/{sysconfig,rc.d/init.d},%{_webapps}/%{_webapp}} \
241 $RPM_BUILD_ROOT{%{_var}/log/%{name}/archives,%{_localstatedir}/rw} \
fdea6415 242 $RPM_BUILD_ROOT%{_sysconfdir}/{plugins,objects} \
4a5ea7ae
ER
243 $RPM_BUILD_ROOT%{_libdir}/%{name}/{eventhandlers,plugins} \
244%if "%{_lib}" != "lib"
245 $RPM_BUILD_ROOT%{_prefix}/lib/%{name}/{eventhandlers,plugins} \
246%endif
1b3d1540 247
4a5ea7ae 248install -d $RPM_BUILD_ROOT%{_includedir}/%{name}
6e193622 249cp -a include/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}
1b3d1540 250
aca04140 251%{__make} install-unstripped \
1b3d1540
TO
252 DESTDIR=$RPM_BUILD_ROOT \
253 INSTALL_OPTS="" \
254 INIT_OPTS="" \
255 COMMAND_OPTS=""
256
6e193622
ER
257install -p %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
258cp -a %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/%{name}
156a07c5
ER
259
260# install templated configuration files
fdea6415
ER
261for a in nagios.cfg resource.cfg commands.cfg contactgroups.cfg contacts.cfg templates.cfg timeperiods.cfg; do
262 cp -a sample-config/$a $RPM_BUILD_ROOT%{_sysconfdir}
263done
c0350ebc 264
31f3ed2f 265# webserver files
6e193622
ER
266cp -a apache.conf $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/apache.conf
267cp -a apache.conf $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/httpd.conf
268cp -a lighttpd.conf $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/lighttpd.conf
744a134f 269cp -a sample-config/cgi.cfg $RPM_BUILD_ROOT%{_webapps}/%{_webapp}
455492e8
ER
270cp -a %{SOURCE6} $RPM_BUILD_ROOT%{_datadir}/images
271cp -a %{SOURCE7} $RPM_BUILD_ROOT%{_datadir}/images
272cp -a %{SOURCE8} $RPM_BUILD_ROOT%{_datadir}/images
31f3ed2f
ER
273> $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/passwd
274echo 'nagios:' > $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/group
156a07c5 275
fdea6415 276# install event handlers, sample config
4a5ea7ae 277install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
156a07c5 278cp -a contrib/eventhandlers $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
fdea6415
ER
279cp -a sample-config $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
280find $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} -name '*.in' | xargs rm
156a07c5
ER
281
282# Object data/cache files
19cc8e59 283for i in {objects.{cache,precache},{comments,downtime,retention,status}.dat,nagios.tmp}; do
156a07c5 284 > $RPM_BUILD_ROOT%{_localstatedir}/$i
b0a1a45f 285done
156a07c5 286> $RPM_BUILD_ROOT%{_localstatedir}/rw/nagios.cmd
e58661fb 287
1b3d1540
TO
288%clean
289rm -rf $RPM_BUILD_ROOT
290
1b3d1540 291%post
19cc8e59 292for i in %{_localstatedir}/{objects.{cache,precache},{comments,downtime,retention,status}.dat}; do
156a07c5
ER
293 [ ! -f $i ] && touch $i
294 chown root:nagios $i
295 chmod 664 $i
296done
297
fe2307cb 298/sbin/chkconfig --add %{name}
09b7a682 299%service %{name} restart "Nagios service"
fe2307cb 300
1b3d1540
TO
301%preun
302if [ "$1" = "0" ] ; then
fe2307cb 303 %service %{name} stop
1b3d1540
TO
304 /sbin/chkconfig --del %{name}
305fi
306
901d97df 307%pre common
7970ec44 308# rename group netsaint -> nagios
3392dafc 309if [ "$(getgid netsaint 2>/dev/null)" = "72" ]; then
901d97df
ER
310 /usr/sbin/groupmod -n nagios netsaint
311fi
7970ec44 312# rename group nagios-data -> nagcmd
3392dafc 313if [ "$(getgid nagios-data 2>/dev/null)" = "147" ]; then
7970ec44
ER
314 /usr/sbin/groupmod -n nagcmd nagios-data
315fi
901d97df 316%groupadd -g 72 nagios
7970ec44 317%groupadd -g 147 -f nagcmd
3392dafc 318if [ -n "$(id -u netsaint 2>/dev/null)" ] && [ "$(id -u netsaint)" = "72" ]; then
7970ec44 319 /usr/sbin/usermod -d %{_libdir}/nagios -l nagios -c "Nagios Daemon" -G nagcmd netsaint
901d97df 320fi
7970ec44 321%useradd -u 72 -d %{_libdir}/nagios -s /bin/false -c "Nagios Daemon" -g nagios -G nagcmd nagios
901d97df
ER
322
323%postun common
4b3055f2 324if [ "$1" = "0" ]; then
56d92939 325 %userremove nagios
326 %groupremove nagios
7970ec44 327 %groupremove nagcmd
4b3055f2 328fi
329
7441a39b 330%post cgi
156a07c5
ER
331if [ "$1" = 1 ]; then
332%banner %{name} -e <<EOF
333NOTE:
31f3ed2f 334You need to add user to %{_webapps}/%{_webapp}/passwd and
fe2307cb 335%{_webapps}/%{_webapp}/group to access Nagios via web.
156a07c5
ER
336
337EOF
338fi
339
91b73a43 340%triggerin cgi -- apache1 < 1.3.37-3, apache1-base
7970ec44 341%addusertogroup http nagcmd
31f3ed2f 342%webapp_register apache %{_webapp}
26c807b6 343
91b73a43 344%triggerun cgi -- apache1 < 1.3.37-3, apache1-base
31f3ed2f 345%webapp_unregister apache %{_webapp}
26c807b6 346
44abff38 347%triggerin cgi -- apache < 2.2.0, apache-base
7970ec44 348%addusertogroup http nagcmd
31f3ed2f 349%webapp_register httpd %{_webapp}
26c807b6 350
44abff38 351%triggerun cgi -- apache < 2.2.0, apache-base
31f3ed2f 352%webapp_unregister httpd %{_webapp}
156a07c5 353
e785f9d9 354%triggerin cgi -- lighttpd
7970ec44 355%addusertogroup lighttpd nagcmd
e785f9d9
ER
356%webapp_register lighttpd %{_webapp}
357
358%triggerun cgi -- lighttpd
359%webapp_unregister lighttpd %{_webapp}
360
156a07c5
ER
361%triggerpostun -- nagios-cgi < 2.0-0.b3.21
362chown root:http %{_sysconfdir}/cgi.cfg
363
e56088ed 364%triggerpostun -- nagios < 3.1.2-4
fdea6415 365# restore lost files
53326298 366for a in dependencies.cfg services.cfg serviceextinfo.cfg hosts.cfg hostgroups.cfg hostextinfo.cfg escalations.cfg checkcommands.cfg misccommands.cfg; do
fdea6415
ER
367 if [ -f %{_sysconfdir}/$a.rpmsave -a ! -f %{_sysconfdir}/$a ]; then
368 mv -f %{_sysconfdir}/$a{.rpmsave,}
31f3ed2f
ER
369 fi
370done
e56088ed 371%{__sed} -i -e 's,^check_result_path=.*,check_result_path=%{_var}/spool/%{name}/checkresults,' %{_sysconfdir}/nagios.cfg
31f3ed2f 372
1b3d1540
TO
373%files
374%defattr(644,root,root,755)
156a07c5 375%doc Changelog README* UPGRADING INSTALLING LICENSE
9ac20a2e 376%attr(750,root,nagios) %dir %{_sysconfdir}/objects
3392dafc
ER
377
378# leave main nagios config readable for -cgi.
379%attr(640,root,nagcmd) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nagios.cfg
380
381%attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/commands.cfg
382%attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/contactgroups.cfg
383%attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/contacts.cfg
384%attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/resource.cfg
385%attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/templates.cfg
386%attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/timeperiods.cfg
156a07c5 387
3f16fe73 388%attr(754,root,root) /etc/rc.d/init.d/%{name}
156a07c5
ER
389%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
390
e1f9e4d5 391%attr(755,root,root) %{_bindir}/%{name}
156a07c5
ER
392%attr(755,root,root) %{_bindir}/nagiostats
393
7970ec44
ER
394%attr(770,root,nagcmd) %dir %{_var}/log/%{name}
395%attr(770,root,nagcmd) %dir %{_var}/log/%{name}/archives
156a07c5 396
7970ec44
ER
397%attr(770,root,nagcmd) %dir %{_localstatedir}
398%attr(2770,root,nagcmd) %dir %{_localstatedir}/rw
399%attr(660,nagios,nagcmd) %ghost %{_localstatedir}/rw/nagios.cmd
3e125558 400%attr(664,root,nagios) %ghost %{_localstatedir}/objects.cache
19cc8e59 401%attr(664,root,nagios) %ghost %{_localstatedir}/objects.precache
3e125558
ER
402%attr(664,root,nagios) %ghost %{_localstatedir}/*.dat
403%attr(664,root,nagios) %ghost %{_localstatedir}/%{name}.tmp
156a07c5 404
3d336594 405%dir %{_var}/spool
f57d3787 406%attr(770,root,nagios) %dir %{_var}/spool/%{name}
e56088ed 407%attr(770,root,nagios) %dir %{_var}/spool/%{name}/checkresults
3d336594 408
156a07c5
ER
409%{_examplesdir}/%{name}-%{version}
410
901d97df
ER
411%files common
412%defattr(644,root,root,755)
7970ec44 413%attr(750,root,nagcmd) %dir %{_sysconfdir}
1e0c0567 414%attr(750,root,nagios) %dir %{_sysconfdir}/plugins
901d97df
ER
415%dir %{_libdir}/%{name}
416%dir %{_libdir}/%{name}/plugins
156a07c5 417%dir %{_libdir}/%{name}/eventhandlers
1b3d1540 418
4a5ea7ae
ER
419%if "%{_lib}" != "lib"
420%dir %{_prefix}/lib/%{name}
421%dir %{_prefix}/lib/%{name}/plugins
422%dir %{_prefix}/lib/%{name}/eventhandlers
423%endif
424
1b3d1540
TO
425%files cgi
426%defattr(644,root,root,755)
31f3ed2f
ER
427%dir %attr(750,root,http) %{_webapps}/%{_webapp}
428%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/apache.conf
429%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/httpd.conf
e785f9d9 430%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/lighttpd.conf
31f3ed2f
ER
431%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/cgi.cfg
432%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/passwd
433%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/group
156a07c5
ER
434%dir %{_sbindir}
435%attr(755,root,root) %{_sbindir}/*.cgi
20145354
ER
436
437%dir %{_datadir}
37af85b3 438%dir %{_datadir}/includes
73072fcf
ER
439%dir %{_datadir}/images
440%dir %{_datadir}/stylesheets
20145354 441%{_datadir}/robots.txt
73072fcf
ER
442%{_datadir}/contexthelp
443%{_datadir}/docs
444%{_datadir}/media
445%{_datadir}/ssi
9c387eb0 446%{_datadir}/images/favicon.ico
455492e8
ER
447%{_datadir}/images/marker.png
448%{_datadir}/images/shadow50.png
20145354
ER
449
450%files theme-default
451%defattr(644,root,root,755)
37af85b3
AM
452%{_datadir}/*.php
453%{_datadir}/includes/*
73072fcf 454%{_datadir}/images/*
9c387eb0 455%exclude %{_datadir}/images/favicon.ico
455492e8
ER
456%exclude %{_datadir}/images/marker.png
457%exclude %{_datadir}/images/shadow50.png
73072fcf 458%{_datadir}/stylesheets/*
1b3d1540
TO
459
460%files devel
461%defattr(644,root,root,755)
462%dir %{_includedir}/%{name}
463%{_includedir}/%{name}/*.h
This page took 0.172473 seconds and 4 git commands to generate.