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