/[pkgs]/devel/OpenIPMI/OpenIPMI.spec
ViewVC logotype

Contents of /devel/OpenIPMI/OpenIPMI.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.71 - (show annotations) (download)
Wed Sep 30 06:54:01 2009 UTC (7 weeks, 6 days ago) by jsafrane
Branch: MAIN
CVS Tags: OpenIPMI-2_0_16-5_fc13, HEAD
Changes since 1.70: +4 -1 lines
rebuilt with new net-snmp
1 # TODO: uses private copy of libedit, should be modified to use system one
2
3 %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
4 Summary: IPMI (Intelligent Platform Management Interface) library and tools
5 Name: OpenIPMI
6 Version: 2.0.16
7 Release: 5%{?dist}
8 License: BSD and BSD with advertising and LGPLv2+ and GPLv2+
9 Group: System Environment/Base
10 URL: http://sourceforge.net/projects/openipmi/
11 Source: http://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz
12 Source1: openipmi.sysconf
13 Source2: openipmi.initscript
14 Source3: openipmigui.desktop
15 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
16 BuildRequires: gdbm-devel swig glib2-devel net-snmp-devel ncurses-devel
17 BuildRequires: openssl-devel python-devel perl-devel tcl-devel tkinter
18 BuildRequires: desktop-file-utils
19 Requires(post): chkconfig
20 Requires(preun): chkconfig
21
22 %description
23 The Open IPMI project aims to develop an open code base to allow access to
24 platform information using Intelligent Platform Management Interface (IPMI).
25 This package contains the tools of the OpenIPMI project.
26
27 %package libs
28 Group: Development/Libraries
29 Summary: The OpenIPMI runtime libraries
30
31 %description libs
32 The OpenIPMI-libs package contains the runtime libraries for shared binaries
33 and applications.
34
35 %package perl
36 Group: Development/Libraries
37 Summary: IPMI Perl language bindings
38 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
39
40 %description perl
41 The OpenIPMI-perl package contains the Perl language bindings for OpenIPMI.
42
43 %package python
44 Group: Development/Libraries
45 Summary: IPMI Python language bindings
46
47 %description python
48 The OpenIPMI-python package contains the Python language bindings for OpenIPMI.
49
50 %package devel
51 Group: Development/Libraries
52 Summary: The development environment for the OpenIPMI project
53 Requires: pkgconfig
54 Requires: %{name} = %{version}-%{release}
55
56 %description devel
57 The OpenIPMI-devel package contains the development libraries and header files
58 of the OpenIPMI project.
59
60 %package gui
61 Group: System Environment/Base
62 Summary: IPMI graphical user interface tool
63 Requires: tix tkinter %{name}-python = %{version}-%{release}
64
65 %description gui
66 The OpenIPMI-gui package contains the graphical user interface to monitor
67 and control IPMI-enabled devices.
68
69
70 %prep
71 %setup -q
72
73 %build
74 export CFLAGS="-fPIC $RPM_OPT_FLAGS"
75 %configure --with-pythoninstall=%{python_sitearch} --disable-dependency-tracking --with-tcl=no --disable-static
76 # get rid of rpath
77 sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
78 sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
79
80 make # not %{?_smp_mflags} safe
81
82 %install
83 rm -rf $RPM_BUILD_ROOT
84 make install DESTDIR=$RPM_BUILD_ROOT
85 rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.la
86
87 # Remove python cruft in 32bit libdir on 64bit archs...
88 %ifarch ppc64 s390x x86_64
89 rm -rf $RPM_BUILD_ROOT/usr/lib
90 %endif
91
92 install -d ${RPM_BUILD_ROOT}%{_sysconfdir}/sysconfig
93 install -m 644 %SOURCE1 ${RPM_BUILD_ROOT}%{_sysconfdir}/sysconfig/ipmi
94 install -d ${RPM_BUILD_ROOT}%{_initrddir}
95 install -m 755 %SOURCE2 ${RPM_BUILD_ROOT}%{_initrddir}/ipmi
96
97 desktop-file-install --vendor="fedora" --dir=${RPM_BUILD_ROOT}%{_datadir}/applications %{SOURCE3}
98
99 %post
100 /sbin/chkconfig --add ipmi
101
102 %preun
103 if [ $1 = 0 ]; then
104 service ipmi stop >/dev/null 2>&1
105 /sbin/chkconfig --del ipmi
106 fi
107
108 %postun
109 if [ "$1" -ge "1" ]; then
110 service ipmi condrestart >/dev/null 2>&1 || :
111 fi
112
113 %post libs -p /sbin/ldconfig
114
115 %postun libs -p /sbin/ldconfig
116
117 %clean
118 rm -rf $RPM_BUILD_ROOT
119
120 %files
121 %defattr(-,root,root)
122 %config(noreplace) %{_sysconfdir}/sysconfig/ipmi
123 %{_initrddir}/ipmi
124 %{_bindir}/ipmicmd
125 %{_bindir}/ipmilan
126 %{_bindir}/ipmish
127 %{_bindir}/ipmi_ui
128 %{_bindir}/openipmicmd
129 %{_bindir}/openipmish
130 %{_bindir}/rmcp_ping
131 %{_bindir}/solterm
132 %{_mandir}/man1/ipmi_ui*
133 %{_mandir}/man1/openipmicmd*
134 %{_mandir}/man1/openipmish*
135 %{_mandir}/man1/rmcp_ping*
136 %{_mandir}/man1/solterm*
137 %{_mandir}/man7/ipmi_cmdlang*
138 %{_mandir}/man7/openipmi_conparms*
139 %{_mandir}/man8/ipmilan*
140
141 %files perl
142 %defattr(-,root,root)
143 %attr(644,root,root) %{perl_vendorarch}/OpenIPMI.pm
144 %{perl_vendorarch}/auto/OpenIPMI/
145
146 %files python
147 %defattr(-,root,root)
148 %{python_sitearch}/*OpenIPMI*
149
150 %files libs
151 %defattr(-,root,root)
152 %{_libdir}/*.so.*
153
154 %files devel
155 %defattr(-,root,root)
156 %{_includedir}/OpenIPMI
157 %{_libdir}/*.so
158 %{_libdir}/pkgconfig/*.pc
159
160 %files gui
161 %defattr(-,root,root)
162 %{_bindir}/openipmigui
163 %{_mandir}/man1/openipmigui*
164 %{python_sitearch}/openipmigui
165 %{_datadir}/applications/fedora-openipmigui.desktop
166
167 %changelog
168 * Wed Sep 30 2009 Jan Safranek <jsafrane@redhat.com> - 2.0.16-5
169 - rebuilt with new net-snmp
170
171 * Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 2.0.16-4
172 - rebuilt with new openssl
173
174 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.16-3
175 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
176
177 * Wed Apr 15 2009 Jan Safranek <jsafrane@redhat.com> - 2.0.16-2
178 - fix compilation flags, debuginfo package is correctly generated now
179
180 * Thu Mar 19 2009 Jan Safranek <jsafrane@redhat.com> - 2.0.16-1
181 - new upstream release
182
183 * Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.14-11
184 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
185
186 * Sat Jan 17 2009 Tomas Mraz <tmraz@redhat.com> - 2.0.14-10
187 - rebuild with new openssl
188
189 * Thu Dec 11 2008 Jan Safranek <jsafrane@redhat.com> - 2.0.14-9
190 - fix linking without rpath, prelink won't screw up the libraries
191 anymore (#475265)
192
193 * Wed Dec 10 2008 Jan Safranek <jsafrane@redhat.com> - 2.0.14-8
194 - shorter probe interval is used in init script, making the service startup
195 quicker in most situations (#475101)
196
197 * Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 2.0.14-7
198 - Rebuild for Python 2.6
199
200 * Thu Oct 30 2008 Jan Safranek <jsafrane@redhat.com> - 2.0.14-6
201 - removed static libraries from the -devel subpackage
202 - fixed openipmigui.desktop file
203
204 * Thu Oct 23 2008 Jan Safranek <jsafrane@redhat.com> - 2.0.14-5
205 - fixed typos in the descriptions
206 - added .desktop file for openipmigui tool
207
208 * Mon Oct 20 2008 Jan Safranek <jsafrane@redhat.com> - 2.0.14-4
209 - fixed description of the package
210
211 * Thu Oct 16 2008 Jan Safranek <jsafrane@redhat.com> - 2.0.14-3
212 - split ipmitool to separate package
213 - added 'reload' functionality to init script
214 - added seraparate -gui subpackage
215
216 * Wed Jul 30 2008 Phil Knirsch <pknirsch@redhat.com> - 2.0.14-2
217 - Fixed rpath problem in libOpenIPMIposix.so.0.0.1
218
219 * Tue Jul 29 2008 Phil Knirsch <pknirsch@redhat.com> - 2.0.14-1
220 - Fixed several specfile problems (#453751)
221 - Update to OpenIPMI-2.0.14
222
223 * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.0.13-2
224 - Autorebuild for GCC 4.3
225
226 * Wed Dec 05 2007 Phil Knirsch <pknirsch@redhat.com> - 2.0.13-1
227 - Updated to OpenIPMI-2.0.13
228 - Rebuild due to new openssl
229
230 * Wed Oct 10 2007 Phil Knirsch <pknirsch@redhat.com> - 2.0.11-3
231 - Added missing perl-devel buildrequires
232
233 * Mon Sep 24 2007 Phil Knirsch <pknirsch@redhat.com> - 2.0.11-2
234 - Added missing popt-devel buildrequires
235
236 * Fri Aug 17 2007 Phil Knirsch <pknirsch@redhat.com> - 2.0.11-2
237 - Fix rebuild problems due to glibc change
238 - License review and fixes
239
240 * Tue Apr 24 2007 Phil Knirsch <pknirsch@redhat.com> - 2.0.11-1
241 - Update to OpenIPMI-2.0.11
242
243 * Tue Feb 27 2007 Phil Knirsch <pknirsch@redhat.com> - 2.0.6-8
244 - Update for ipmitool-1.8.9
245
246 * Thu Dec 7 2006 Jeremy Katz <katzj@redhat.com> - 2.0.6-7
247 - rebuild for python 2.5
248
249 * Tue Nov 28 2006 Phil Knirsch <pknirsch@redhat.com> - 2.0.6-6.fc7
250 - Update due to new net-snmp-5.4
251 - Some specfile updates
252
253 * Tue Jul 18 2006 Phil Knirsch <pknirsch@redhat.com> - 2.0.6-5
254 - Fixed check for udev in initscript (#197956)
255
256 * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.0.6-4.1
257 - rebuild
258
259 * Fri Jun 16 2006 Bill Nottingham <notting@redhat.com> 2.0.6-4
260 - don't include <linux/compiler.h>
261
262 * Fri Jun 16 2006 Jon Masters <jcm@redhat.com> 2.0.6-3
263 - Fix a build requires (needs glibc-kernheaders)
264
265 * Thu Jun 15 2006 Jesse Keating <jkeating@redhat.com> 2.0.6-2
266 - Bump for new glib2
267
268 * Tue May 16 2006 Phil Knirsch <pknirsch@redhat.com> 2.0.6-1
269 - Fixed bug with type conversion in ipmitool (#191091)
270 - Added python bindings
271 - Split off perl and python bindings in separate subpackages
272 - Dropped obsolete patches
273 - Added missing buildprereq on readline-devel
274 - Made it install the python bindings properly on 64bit archs
275
276 * Mon May 15 2006 Phil Knirsch <pknirsch@redhat.com>
277 - Updated ipmitool to 1.8.8
278 - Updated OpenIPMI to 2.0.6
279
280 * Fri Feb 17 2006 Phil Knirsch <pknirsch@redhat.com> 1.4.14-19
281 - Added missing PreReq for chkconfig
282
283 * Mon Feb 13 2006 Jesse Keating <jkeating@redhat.com> - 1.4.14-18.2.1
284 - rebump for build order issues during double-long bump
285
286 * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.4.14-18.2
287 - bump again for double-long bug on ppc(64)
288
289 * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.4.14-18.1
290 - rebuilt for new gcc4.1 snapshot and glibc changes
291
292 * Mon Feb 06 2006 Phil Knirsch <pknirsch@redhat.com> 1.4.14-18
293 - Updated ipmitool to latest upstream version.
294 - Removed 3 patches for already fixed bugs in latest ipmitool.
295 - Adapted warning message fix for ipmitool for latest version.
296
297 * Tue Jan 24 2006 Phil Knirsch <pknirsch@redhat.com> 1.4.14-17
298 - Fixed some minor things in initscripts.
299
300 * Mon Jan 09 2006 Phil Knirsch <pknirsch@redhat.com> 1.4.14-16
301 - Included FRU fix for displaying FRUs with ipmitool
302 - Included patch for new option to specify a BMC password for IPMI 2.0 sessions
303
304 * Tue Jan 03 2006 Radek Vokal <rvokal@redhat.com> 1.4.14-15
305 - Rebuilt against new libnetsnmp
306
307 * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
308 - rebuilt
309
310 * Wed Nov 23 2005 Phil Knirsch <pknirsch@redhat.com> 1.4.14-14
311 - Some more initscript and sysconfig updates from Dell.
312
313 * Wed Nov 09 2005 Phil Knirsch <pknirsch@redhat.com> 1.4.14-13
314 - Rebuilt to link against latest openssl libs.
315 - Fixed ipmitool not setting session privilege level (#172312)
316
317 * Wed Nov 02 2005 Phil Knirsch <pknirsch@redhat.com> 1.4.14-11
318 - Rebuild to link against new net-snmp libs.
319
320 * Tue Oct 11 2005 Phil Knirsch <pknirsch@redhat.com> 1.4.14-10
321 - Updated initscript to fix missing redhat-lsb bug (#169901)
322
323 * Thu Sep 08 2005 Phil Knirsch <pknirsch@redhat.com> 1.4.14-9
324 - Another update to latest initscripts from Dell
325 - Fixed some missing return statements for non-void functions (#164138)
326
327 * Thu Sep 01 2005 Phil Knirsch <pknirsch@redhat.com> 1.4.14-8
328 - Updated initscript to latest version from Dell
329
330 * Fri Aug 12 2005 Phil Knirsch <pknirsch@redhat.com> 1.4.14-7
331 - Fixed the unwanted output of failed module loading of the initscript. Behaves
332 now like all our other initscripts (#165476)
333
334 * Fri Aug 05 2005 Phil Knirsch <pknirsch@redhat.com> 1.4.14-6
335 - Fixed build problem on 64bit machines
336
337 * Fri Jul 15 2005 Phil Knirsch <pknirsch@redhat.com> 1.4.14-5
338 - Fixed missing change to not autostart in the initscript
339
340 * Wed Jul 06 2005 Phil Knirsch <pknirsch@redhat.com> 1.4.14-4
341 - Made the initscript a replacing configfile
342
343 * Mon Jul 04 2005 Phil Knirsch <pknirsch@redhat.com> 1.4.14-3
344 - Updated versions of the initscripts and sysconf files
345 - Fixed typo in preun script and changelog
346
347 * Mon Jun 27 2005 Phil Knirsch <pknirsch@redhat.com> 1.4.14-2
348 - Updated to OpenIPMI-1.4.14
349 - Split the main package into normal and libs package for multilib support
350 - Added ipmitool-1.8.2 to OpenIPMI and put it in tools package
351 - Added sysconf and initscript (#158270)
352 - Fixed oob subscripts (#149142)
353
354 * Wed Mar 30 2005 Phil Knirsch <pknirsch@redhat.com> 1.4.11-5
355 - Correctly put libs in the proper packages
356
357 * Thu Mar 17 2005 Phil Knirsch <pknirsch@redhat.com> 1.4.11-4
358 - gcc4 rebuild fixes
359 - Added missing gdbm-devel buildprereq
360
361 * Wed Mar 02 2005 Phil Knirsch <pknirsch@redhat.com> 1.4.11-3
362 - bump release and rebuild with gcc 4
363
364 * Tue Feb 08 2005 Karsten Hopp <karsten@redhat.de> 1.4.11-2
365 - update
366
367 * Tue Oct 26 2004 Phil Knirsch <pknirsch@redhat.com>
368 - Initial version

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2