]>
Commit | Line | Data |
---|---|---|
cf87ffbe | 1 | # TODO |
39e711d4 | 2 | # - PLDize/register init scripts |
cf87ffbe | 3 | # - split based on provided spec.in: devel, fish, utils ? |
a20778c0 ER |
4 | # still not sure about how to split packages. move -libs to main |
5 | # and programs to -utils? or leave as it is? (but package init.d | |
6 | # scripts separately?). -libs contains /var/lib/%{name} (because | |
7 | # that .so needs to read ipckey inode), so one vote for discarding | |
8 | # -libs? | |
cf87ffbe | 9 | # - additional split by requires/services (watchdog) |
94edf6e5 ER |
10 | # - wtf is this? |
11 | # # bmc-config | |
12 | #>>--:> >>--:> >>--:> >>--:> | |
13 | #~ ~ Cat ate the fish!! ~ ~ | |
14 | #>>--:> >>--:> >>--:> >>--:> | |
15 | #Fish Exception (gh_standard_handler dump): | |
16 | #tag : | |
17 | #throw args : | |
18 | #data : [/usr/share/fish/extensions/sensors.scm] | |
19 | #misc-error(#f %s %S (no such module (srfi srfi-13)) #f)No backtrace | |
20 | #available. | |
21 | # dig: http://www.google.com/search?q=srfi&ie=UTF-8&oe=UTF-8 | |
6f5c48ee | 22 | Summary: GNU FreeIPMI - system management software |
2b63a779 | 23 | Summary(pl.UTF-8): GNU FreeIPMI - oprogramowanie do zarządzania systemem |
cf87ffbe | 24 | Name: freeipmi |
cecdd95b | 25 | Version: 1.2.3 |
94515342 | 26 | Release: 1 |
564066b2 | 27 | License: GPL v3+ |
cf87ffbe | 28 | Group: Applications/System |
c52d4082 | 29 | Source0: http://ftp.gnu.org/gnu/freeipmi/%{name}-%{version}.tar.gz |
cecdd95b | 30 | # Source0-md5: b1e21641c31b9d3291bdfe4a2b323d03 |
cf87ffbe | 31 | URL: http://www.gnu.org/software/freeipmi/ |
1ccaf2b4 JB |
32 | BuildRequires: autoconf >= 2.57 |
33 | BuildRequires: automake >= 1:1.9 | |
bf77cec9 | 34 | BuildRequires: grep |
0eb4fec9 | 35 | BuildRequires: guile-devel |
1ccaf2b4 JB |
36 | BuildRequires: libgcrypt-devel |
37 | BuildRequires: libtool | |
1759b445 JB |
38 | BuildRequires: readline-devel >= 4.0 |
39 | Requires: %{name}-libs = %{version}-%{release} | |
cf87ffbe ER |
40 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
41 | ||
cf87ffbe ER |
42 | %description |
43 | The GNU FreeIPMI system provides "Remote-Console" (out-of-band) and | |
44 | "System Management Software" (in-band) based on IPMI v1.5/2.0 | |
45 | specification. This project includes: | |
46 | - KCS, SMIC, SSIF, LAN Drivers and C Library (libfreeipmi) | |
47 | - FreeIPMI SHell (fish) | |
48 | - Watchdog Daemon (bmc-watchdog) | |
49 | - Sensors (sensors) | |
50 | - System Event Log (sel) | |
51 | - BMC Info (bmc-info) | |
52 | - BMC Config (bmc-config) | |
53 | - IPMI Power (ipmipower) | |
54 | - IPMI Ping (ipmiping) | |
55 | - RMCP Ping (rmcpping) | |
56 | ||
3314df50 JR |
57 | %description -l pl.UTF-8 |
58 | System GNU FreeIPMI dostarcza "zdalną konsolę" (Remote-Console) oraz | |
59 | "oprogramowanie do zarządzania systemem" (System Management Software) | |
1759b445 | 60 | oparte na specyfikacji IPMI v1.5/2.0. Projekt zawiera: |
3314df50 JR |
61 | - KCS, SMIC, SSIF, sterowniki LAN i bibliotekę C (libfreeipmi) |
62 | - powłokę FreeIPMI SHell (fish) | |
1759b445 JB |
63 | - demona watchdog (bmc-watchdog) |
64 | - czujniki (sensors) | |
3314df50 JR |
65 | - dziennik zdarzeń systemowych (sel - System Event Log) |
66 | - narzędzie informacyjne BMC (bmc-info) | |
67 | - narzędzie konfiguracyjne BMC (bmc-config) | |
68 | - narzędzie IPMI Power (ipmipower) | |
1759b445 JB |
69 | - ping dla IPMI (ipmiping) |
70 | - ping dla RMCP (rmcpping) | |
71 | ||
bf77cec9 | 72 | %package bmc-watchdog |
73 | Summary: FreeIPMI BMC watchdog | |
e7ac736b | 74 | Summary(pl.UTF-8): FreeIPMI - watchdog BMC |
a20778c0 ER |
75 | Group: Applications/System |
76 | Requires: %{name} = %{version}-%{release} | |
a20778c0 | 77 | |
bf77cec9 | 78 | %description bmc-watchdog |
79 | Provides a watchdog daemon for OS monitoring and recovery. | |
1759b445 | 80 | |
e7ac736b JB |
81 | %description bmc-watchdog -l pl.UTF-8 |
82 | Ten pakiet udostępnia demona watchdoga do monitorowania systemu i | |
83 | uruchamiania po awarii. | |
bf77cec9 | 84 | |
85 | %package ipmidetectd | |
e7ac736b JB |
86 | Summary: IPMI node detection daemon |
87 | Summary(pl.UTF-8): Demon wykrywający węzły IPMI | |
bf77cec9 | 88 | Group: Applications/System |
39e711d4 | 89 | Requires(post,preun): /sbin/ldconfig |
bf77cec9 | 90 | Requires: %{name} = %{version}-%{release} |
bf77cec9 | 91 | |
92 | %description ipmidetectd | |
93 | IPMI node detection daemon. | |
94 | ||
e7ac736b JB |
95 | %description ipmidetectd -l pl.UTF-8 |
96 | Demon wykrywający węzły IPMI. | |
97 | ||
39e711d4 JB |
98 | %package ipmiseld |
99 | Summary: IPMI SEL syslog logging daemon | |
100 | Summary(pl.UTF-8): IPMI SEL - demon logujący do sysloga | |
101 | Group: Applications/System | |
102 | Requires(post,preun): /sbin/ldconfig | |
103 | Requires: %{name} = %{version}-%{release} | |
104 | ||
105 | %description ipmiseld | |
106 | IPMI SEL syslog logging daemon. | |
107 | ||
108 | %description ipmiseld -l pl.UTF-8 | |
109 | IPMI SEL - demon logujący do sysloga. | |
110 | ||
e7ac736b JB |
111 | %package libs |
112 | Summary: Shared libraries for FreeIPMI | |
113 | Summary(pl.UTF-8): Biblioteki współdzielone FreeIPMI | |
114 | Group: Libraries | |
bf77cec9 | 115 | |
a20778c0 | 116 | %description libs |
1759b445 JB |
117 | Shared libraries for FreeIPMI. |
118 | ||
3314df50 JR |
119 | %description libs -l pl.UTF-8 |
120 | Biblioteki współdzielone FreeIPMI. | |
cf87ffbe ER |
121 | |
122 | %package devel | |
123 | Summary: Development package for FreeIPMI | |
2b63a779 | 124 | Summary(pl.UTF-8): Pakiet programistyczny FreeIPMI |
cf87ffbe | 125 | Group: Development/Libraries |
a20778c0 | 126 | Requires: %{name}-libs = %{version}-%{release} |
f3f67cbb | 127 | Requires: libgcrypt-devel |
cf87ffbe ER |
128 | |
129 | %description devel | |
130 | Development package for FreeIPMI. This package includes the FreeIPMI | |
6f5c48ee JB |
131 | header files. |
132 | ||
3314df50 JR |
133 | %description devel -l pl.UTF-8 |
134 | Pakiet programistyczny FreeIPMI. Zawiera pliki nagłówkowe. | |
cf87ffbe ER |
135 | |
136 | %package static | |
137 | Summary: Static FreeIPMI library | |
2b63a779 | 138 | Summary(pl.UTF-8): Statyczna biblioteka FreeIPMI |
cf87ffbe ER |
139 | Group: Development/Libraries |
140 | Requires: %{name}-devel = %{version}-%{release} | |
141 | ||
142 | %description static | |
143 | Static FreeIPMI library. | |
144 | ||
3314df50 | 145 | %description static -l pl.UTF-8 |
6f5c48ee JB |
146 | Statyczna biblioteka FreeIPMI. |
147 | ||
cf87ffbe ER |
148 | %prep |
149 | %setup -q | |
150 | ||
151 | %build | |
1ccaf2b4 JB |
152 | %{__libtoolize} |
153 | %{__aclocal} -I config | |
154 | %{__autoconf} | |
155 | %{__autoheader} | |
156 | %{__automake} | |
cf87ffbe ER |
157 | %configure |
158 | ||
159 | %{__make} | |
160 | ||
161 | %install | |
162 | rm -rf $RPM_BUILD_ROOT | |
163 | ||
c52d4082 | 164 | %{__make} -j1 install \ |
cf87ffbe | 165 | DESTDIR=$RPM_BUILD_ROOT |
1ccaf2b4 | 166 | |
8d77549e | 167 | install -d $RPM_BUILD_ROOT/etc/rc.d/init.d |
1ccaf2b4 | 168 | mv $RPM_BUILD_ROOT/etc/init.d/* $RPM_BUILD_ROOT/etc/rc.d/init.d |
cf87ffbe | 169 | # TODO: patch Makefile.am instead |
9d037785 | 170 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/doc/freeipmi |
cf87ffbe ER |
171 | |
172 | %clean | |
173 | rm -rf $RPM_BUILD_ROOT | |
174 | ||
375b818c | 175 | %post libs -p /sbin/ldconfig |
a20778c0 | 176 | %postun libs -p /sbin/ldconfig |
cf87ffbe ER |
177 | |
178 | %files | |
179 | %defattr(644,root,root,755) | |
bf77cec9 | 180 | %doc AUTHORS ChangeLog DISCLAIMER.* INSTALL NEWS README TODO doc/freeipmi-*.txt |
9d037785 JB |
181 | %dir %{_sysconfdir}/freeipmi |
182 | %attr(640,root,root) %config(noreplace) %{_sysconfdir}/freeipmi/freeipmi.conf | |
183 | %attr(444,root,root) %config(noreplace) %{_sysconfdir}/freeipmi/freeipmi_interpret_sel.conf | |
184 | %attr(444,root,root) %config(noreplace) %{_sysconfdir}/freeipmi/freeipmi_interpret_sensor.conf | |
185 | %attr(640,root,root) %config(noreplace) %{_sysconfdir}/freeipmi/ipmidetect.conf | |
186 | %attr(640,root,root) %config(noreplace) %{_sysconfdir}/freeipmi/libipmiconsole.conf | |
bf77cec9 | 187 | %attr(755,root,root) %{_sbindir}/bmc-config |
b1d6a380 | 188 | %attr(755,root,root) %{_sbindir}/bmc-device |
bf77cec9 | 189 | %attr(755,root,root) %{_sbindir}/bmc-info |
1ccaf2b4 JB |
190 | %attr(755,root,root) %{_sbindir}/ipmi-chassis |
191 | %attr(755,root,root) %{_sbindir}/ipmi-chassis-config | |
9d037785 | 192 | %attr(755,root,root) %{_sbindir}/ipmi-console |
1ccaf2b4 | 193 | %attr(755,root,root) %{_sbindir}/ipmi-dcmi |
9d037785 | 194 | %attr(755,root,root) %{_sbindir}/ipmi-detect |
bf77cec9 | 195 | %attr(755,root,root) %{_sbindir}/ipmi-fru |
196 | %attr(755,root,root) %{_sbindir}/ipmi-locate | |
bf77cec9 | 197 | %attr(755,root,root) %{_sbindir}/ipmi-oem |
1ccaf2b4 | 198 | %attr(755,root,root) %{_sbindir}/ipmi-pef-config |
58c8f82b | 199 | %attr(755,root,root) %{_sbindir}/ipmi-pet |
9d037785 JB |
200 | %attr(755,root,root) %{_sbindir}/ipmi-ping |
201 | %attr(755,root,root) %{_sbindir}/ipmi-power | |
bf77cec9 | 202 | %attr(755,root,root) %{_sbindir}/ipmi-raw |
203 | %attr(755,root,root) %{_sbindir}/ipmi-sel | |
204 | %attr(755,root,root) %{_sbindir}/ipmi-sensors | |
205 | %attr(755,root,root) %{_sbindir}/ipmi-sensors-config | |
1ccaf2b4 JB |
206 | %attr(755,root,root) %{_sbindir}/ipmiconsole |
207 | %attr(755,root,root) %{_sbindir}/ipmidetect | |
208 | %attr(755,root,root) %{_sbindir}/ipmimonitoring | |
cf87ffbe ER |
209 | %attr(755,root,root) %{_sbindir}/ipmiping |
210 | %attr(755,root,root) %{_sbindir}/ipmipower | |
1ccaf2b4 | 211 | %attr(755,root,root) %{_sbindir}/pef-config |
9d037785 | 212 | %attr(755,root,root) %{_sbindir}/rmcp-ping |
bf77cec9 | 213 | %attr(755,root,root) %{_sbindir}/rmcpping |
bf77cec9 | 214 | %{_mandir}/man5/bmc-config.conf.5* |
b1d6a380 | 215 | %{_mandir}/man5/freeipmi.conf.5* |
9d037785 JB |
216 | %{_mandir}/man5/freeipmi_interpret_sel.conf.5* |
217 | %{_mandir}/man5/freeipmi_interpret_sensor.conf.5* | |
b1d6a380 | 218 | %{_mandir}/man5/ipmi_monitoring_sensors.conf.5* |
1ccaf2b4 JB |
219 | %{_mandir}/man5/ipmiconsole.conf.5* |
220 | %{_mandir}/man5/ipmidetect.conf.5* | |
b1d6a380 AG |
221 | %{_mandir}/man5/ipmimonitoring.conf.5* |
222 | %{_mandir}/man5/ipmimonitoring_sensors.conf.5* | |
1ccaf2b4 | 223 | %{_mandir}/man5/ipmipower.conf.5* |
9d037785 | 224 | %{_mandir}/man5/libipmiconsole.conf.5* |
b1d6a380 | 225 | %{_mandir}/man5/libipmimonitoring.conf.5* |
1ccaf2b4 JB |
226 | %{_mandir}/man7/freeipmi.7* |
227 | %{_mandir}/man8/bmc-config.8* | |
228 | %{_mandir}/man8/bmc-device.8* | |
229 | %{_mandir}/man8/bmc-info.8* | |
230 | %{_mandir}/man8/ipmi-chassis-config.8* | |
231 | %{_mandir}/man8/ipmi-chassis.8* | |
9d037785 | 232 | %{_mandir}/man8/ipmi-console.8* |
1ccaf2b4 | 233 | %{_mandir}/man8/ipmi-dcmi.8* |
9d037785 | 234 | %{_mandir}/man8/ipmi-detect.8* |
1ccaf2b4 JB |
235 | %{_mandir}/man8/ipmi-fru.8* |
236 | %{_mandir}/man8/ipmi-locate.8* | |
bf77cec9 | 237 | %{_mandir}/man8/ipmi-oem.8* |
1ccaf2b4 | 238 | %{_mandir}/man8/ipmi-pef-config.8* |
58c8f82b | 239 | %{_mandir}/man8/ipmi-pet.8* |
9d037785 JB |
240 | %{_mandir}/man8/ipmi-ping.8* |
241 | %{_mandir}/man8/ipmi-power.8* | |
bf77cec9 | 242 | %{_mandir}/man8/ipmi-raw.8* |
243 | %{_mandir}/man8/ipmi-sel.8* | |
bf77cec9 | 244 | %{_mandir}/man8/ipmi-sensors-config.8* |
1ccaf2b4 JB |
245 | %{_mandir}/man8/ipmi-sensors.8* |
246 | %{_mandir}/man8/ipmiconsole.8* | |
247 | %{_mandir}/man8/ipmidetect.8* | |
248 | %{_mandir}/man8/ipmimonitoring.8* | |
bf77cec9 | 249 | %{_mandir}/man8/ipmiping.8* |
250 | %{_mandir}/man8/ipmipower.8* | |
1ccaf2b4 | 251 | %{_mandir}/man8/pef-config.8* |
9d037785 | 252 | %{_mandir}/man8/rmcp-ping.8* |
bf77cec9 | 253 | %{_mandir}/man8/rmcpping.8* |
bf77cec9 | 254 | #%dir %{_localstatedir}/cache/ipmimonitoringsdrcache |
1ccaf2b4 | 255 | %{_infodir}/freeipmi-faq.info* |
bf77cec9 | 256 | |
257 | %files bmc-watchdog | |
258 | %defattr(644,root,root,755) | |
1ccaf2b4 JB |
259 | %config(noreplace) /etc/rc.d/init.d/bmc-watchdog |
260 | %config(noreplace) /etc/sysconfig/bmc-watchdog | |
cf87ffbe | 261 | %attr(755,root,root) %{_sbindir}/bmc-watchdog |
bf77cec9 | 262 | %{_mandir}/man8/bmc-watchdog.8* |
cf87ffbe | 263 | |
bf77cec9 | 264 | %files ipmidetectd |
a20778c0 | 265 | %defattr(644,root,root,755) |
bf77cec9 | 266 | %attr(755,root,root) %{_sbindir}/ipmidetectd |
1ccaf2b4 | 267 | %attr(754,root,root) /etc/rc.d/init.d/ipmidetectd |
9d037785 | 268 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/freeipmi/ipmidetectd.conf |
bf77cec9 | 269 | %{_mandir}/man5/ipmidetectd.conf.5* |
270 | %{_mandir}/man8/ipmidetectd.8* | |
cf87ffbe | 271 | |
39e711d4 JB |
272 | %files ipmiseld |
273 | %defattr(644,root,root,755) | |
274 | %attr(755,root,root) %{_sbindir}/ipmiseld | |
275 | %attr(754,root,root) /etc/rc.d/init.d/ipmiseld | |
276 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/freeipmi/ipmiseld.conf | |
277 | %{_mandir}/man5/ipmiseld.conf.5* | |
278 | %{_mandir}/man8/ipmiseld.8* | |
279 | ||
a20778c0 ER |
280 | %files libs |
281 | %defattr(644,root,root,755) | |
1ccaf2b4 | 282 | %attr(755,root,root) %{_libdir}/libfreeipmi.so.*.*.* |
39e711d4 | 283 | %attr(755,root,root) %ghost %{_libdir}/libfreeipmi.so.13 |
1ccaf2b4 JB |
284 | %attr(755,root,root) %{_libdir}/libipmiconsole.so.*.*.* |
285 | %attr(755,root,root) %ghost %{_libdir}/libipmiconsole.so.2 | |
286 | %attr(755,root,root) %{_libdir}/libipmidetect.so.*.*.* | |
287 | %attr(755,root,root) %ghost %{_libdir}/libipmidetect.so.0 | |
288 | %attr(755,root,root) %{_libdir}/libipmimonitoring.so.*.*.* | |
9d037785 | 289 | %attr(755,root,root) %ghost %{_libdir}/libipmimonitoring.so.5 |
a20778c0 ER |
290 | %dir /var/lib/freeipmi |
291 | /var/lib/freeipmi/ipckey | |
a20778c0 | 292 | |
cf87ffbe ER |
293 | %files devel |
294 | %defattr(644,root,root,755) | |
bf77cec9 | 295 | %attr(755,root,root) %{_libdir}/libipmiconsole.so |
6f5c48ee | 296 | %attr(755,root,root) %{_libdir}/libfreeipmi.so |
bf77cec9 | 297 | %attr(755,root,root) %{_libdir}/libipmidetect.so |
298 | %attr(755,root,root) %{_libdir}/libipmimonitoring.so | |
cf87ffbe | 299 | %{_libdir}/libfreeipmi.la |
bf77cec9 | 300 | %{_libdir}/libipmiconsole.la |
301 | %{_libdir}/libipmidetect.la | |
302 | %{_libdir}/libipmimonitoring.la | |
6f5c48ee | 303 | %{_includedir}/freeipmi |
bf77cec9 | 304 | %{_includedir}/ipmi*.h |
f3f67cbb JB |
305 | %{_pkgconfigdir}/libfreeipmi.pc |
306 | %{_pkgconfigdir}/libipmiconsole.pc | |
307 | %{_pkgconfigdir}/libipmidetect.pc | |
308 | %{_pkgconfigdir}/libipmimonitoring.pc | |
1ccaf2b4 JB |
309 | %{_mandir}/man3/libfreeipmi.3* |
310 | %{_mandir}/man3/libipmiconsole.3* | |
311 | %{_mandir}/man3/libipmidetect.3* | |
312 | %{_mandir}/man3/libipmimonitoring.3* | |
cf87ffbe ER |
313 | |
314 | %files static | |
315 | %defattr(644,root,root,755) | |
316 | %{_libdir}/libfreeipmi.a | |
bf77cec9 | 317 | %{_libdir}/libipmiconsole.a |
318 | %{_libdir}/libipmidetect.a | |
319 | %{_libdir}/libipmimonitoring.a |