Logoj0ke.net Open Build Service > Projects > server:monitoring > icinga-mod_gearman > Changes
Sign Up | Log In

Changes of Revision 2

[-] Changed icinga-mod_gearman.spec
x
 
1
@@ -3,13 +3,16 @@
2
 %define pkgname    mod_gearman
3
 Name:      %{monitor}-%{pkgname}
4
 Version:   0.8
5
+Release:   1
6
 Group:     Application/System
7
 License:   GPLv3
8
 Url:       http://labs.consol.de/lang/de/nagios/mod-gearman/
9
 Summary:   Distributed active Icinga/Nagios checks
10
 Source0:   http://labs.consol.de/wp-content/uploads/2010/09/%{pkgname}-%{version}.tar.bz2
11
+Patch0:        mod_gearman-init-worker.patch
12
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
13
-BuildRequires: libgearman-devel >= 0.14
14
+BuildRequires: gcc-c++ gearmand-devel >= 0.14 ncurses-devel
15
+BuildRequires: %{monitor}
16
 
17
 %description
18
 Mod Gearman is a new way of distributing active Nagios checks across your network.
19
@@ -21,6 +24,7 @@
20
 
21
 %prep
22
 %setup -n %{pkgname}-%{version}
23
+%patch0
24
 
25
 %build
26
 %configure \
27
@@ -35,8 +39,26 @@
28
 %clean
29
 rm -rf %{buildroot}
30
 
31
+%preun
32
+%stop_on_removal
33
+
34
+%postun
35
+%insserv_cleanup
36
+
37
 %files
38
 %defattr(-,root,root)
39
 %doc Changes COPYING README README.html THANKS TODO
40
+%{_sysconfdir}/init.d/mod_gearman_worker
41
+%{_bindir}/check_gearman
42
+%{_bindir}/gearman_top
43
+%{_bindir}/mod_gearman_worker
44
+%{_bindir}/send_gearman
45
+%{_bindir}/send_multi
46
+%dir %{_libdir}/mod_gearman
47
+%{_libdir}/mod_gearman/mod_gearman.o
48
+%{_libdir}/mod_gearman/mod_gearman.so
49
+%dir %{_datadir}/mod_gearman
50
+%{_datadir}/mod_gearman/shared.conf
51
+%{_datadir}/mod_gearman/standalone_worker.conf
52
 
53
 %changelog
54
[+] Added mod_gearman-init-worker.patch ^