1.1.3
by Noèl Köthe
Import upstream version 2.0.11 |
1 |
# For common adjustments that are needed for this file, search for
|
2 |
# "USERFIX"
|
|
3 |
||
1
by Noèl Köthe
Import upstream version 2.0.1 |
4 |
Name: OpenIPMI |
5 |
Summary: %{name} - Library interface to IPMI |
|
1.1.7
by Chuck Short
Import upstream version 2.0.18 |
6 |
Version: 2.0.18 |
1.2.1
by Noèl Köthe
Import upstream version 2.0.7 |
7 |
Release: 2 |
1
by Noèl Köthe
Import upstream version 2.0.1 |
8 |
License: LGPL |
9 |
URL: http://openipmi.sourceforge.net |
|
10 |
Group: Utilities |
|
11 |
Vendor: OpenIPMI Project |
|
12 |
Packager: Tariq Shureih <tariq.shureih@intel.com> |
|
1.1.7
by Chuck Short
Import upstream version 2.0.18 |
13 |
Source: %{name}-2.0.18.tar.gz |
1
by Noèl Köthe
Import upstream version 2.0.1 |
14 |
Buildroot: /var/tmp/%{name}-root |
15 |
BuildRequires: pkgconfig, perl >= 5, swig >= 1.3 |
|
16 |
Summary: IPMI Library |
|
17 |
Group: Utilities |
|
18 |
||
1.1.3
by Noèl Köthe
Import upstream version 2.0.11 |
19 |
# Figure out if glib12 is installed
|
20 |
%define glib12 %(if ls -l /usr/lib/libglib-1.2* >/dev/null 2>&1; then echo yes; else echo no; fi)
|
|
1
by Noèl Köthe
Import upstream version 2.0.1 |
21 |
|
22 |
%description
|
|
23 |
This package contains a shared library implementation of IPMI and the |
|
24 |
basic tools used with OpenIPMI. |
|
25 |
||
26 |
%package devel
|
|
27 |
Summary: Development files for OpenIPMI |
|
28 |
Group: Utilities |
|
29 |
Requires: OpenIPMI = %{version}, pkgconfig |
|
30 |
||
31 |
%description devel
|
|
32 |
Contains additional files need for a developer to create applications |
|
33 |
and/or middleware that depends on libOpenIPMI |
|
34 |
||
35 |
%package perl
|
|
36 |
Summary: Perl interface for OpenIPMI |
|
37 |
Group: Utilities |
|
38 |
Requires: OpenIPMI = %{version}, perl >= 5 |
|
39 |
||
40 |
%description perl
|
|
41 |
A Perl interface for OpenIPMI. |
|
42 |
||
43 |
%package python
|
|
44 |
Summary: Python interface for OpenIPMI |
|
45 |
Group: Utilities |
|
46 |
Requires: OpenIPMI = %{version}, python |
|
47 |
||
48 |
%description python
|
|
49 |
A Python interface for OpenIPMI. |
|
50 |
||
1.2.1
by Noèl Köthe
Import upstream version 2.0.7 |
51 |
%package gui
|
52 |
Summary: GUI (in python) for OpenIPMI |
|
53 |
Group: Utilities |
|
54 |
Requires: OpenIPMI-python = %{version}, tkinter |
|
55 |
||
56 |
%description gui
|
|
57 |
A GUI interface for OpenIPMI. Written in python an requiring wxWidgets. |
|
58 |
||
1
by Noèl Köthe
Import upstream version 2.0.1 |
59 |
%package ui
|
60 |
Summary: User Interface (ui) |
|
61 |
Group: Utilities |
|
62 |
Requires: OpenIPMI = %{version} |
|
63 |
||
64 |
%description ui
|
|
65 |
This package contains a user interface |
|
66 |
||
67 |
%package lanserv
|
|
68 |
Summary: Emulates an IPMI network listener |
|
69 |
Group: Utilities |
|
70 |
Requires: OpenIPMI = %{version} |
|
71 |
||
72 |
%description lanserv
|
|
73 |
This package contains a network IPMI listener. |
|
74 |
||
75 |
################################################### |
|
76 |
%prep
|
|
77 |
###################################################
|
|
78 |
%setup
|
|
79 |
||
80 |
###################################################
|
|
81 |
%build
|
|
82 |
###################################################
|
|
1.1.3
by Noèl Köthe
Import upstream version 2.0.11 |
83 |
# USERFIX: Things you might have to add to configure:
|
84 |
# --with-tclcflags='-I /usr/include/tclN.M' --with-tcllibs=-ltclN.M
|
|
85 |
# Obviously, replace N.M with the version of tcl on your system.
|
|
1
by Noèl Köthe
Import upstream version 2.0.1 |
86 |
%configure
|
87 |
make |
|
88 |
||
89 |
###################################################
|
|
90 |
%install
|
|
91 |
###################################################
|
|
92 |
rm -rf %{buildroot}
|
|
93 |
make DESTDIR=%{buildroot} install
|
|
1.2.1
by Noèl Köthe
Import upstream version 2.0.7 |
94 |
install -d %{buildroot}/etc/init.d
|
95 |
install -d %{buildroot}/etc/sysconfig
|
|
96 |
install ipmi.init %{buildroot}/etc/init.d/ipmi
|
|
97 |
install ipmi.sysconf %{buildroot}/etc/sysconfig/ipmi
|
|
98 |
||
99 |
###################################################
|
|
100 |
%post
|
|
101 |
###################################################
|
|
102 |
chkconfig --add ipmi |
|
103 |
||
104 |
###################################################
|
|
105 |
%preun
|
|
106 |
###################################################
|
|
107 |
if [ $1 = 0 ]; then |
|
108 |
/etc/init.d/ipmi stop >/dev/null 2>&1 |
|
109 |
/sbin/chkconfig --del ipmi |
|
110 |
fi |
|
111 |
||
112 |
###################################################
|
|
113 |
%postun
|
|
114 |
###################################################
|
|
115 |
if [ "$1" -ge "1" ]; then |
|
116 |
/etc/init.d/ipmi condrestart >/dev/null 2>&1 || : |
|
117 |
fi |
|
1
by Noèl Köthe
Import upstream version 2.0.1 |
118 |
|
119 |
###################################################
|
|
120 |
%files
|
|
121 |
###################################################
|
|
122 |
%defattr(-,root,root)
|
|
1.2.1
by Noèl Köthe
Import upstream version 2.0.7 |
123 |
%{_libdir}/libOpenIPMIcmdlang.so.*
|
124 |
%{_libdir}/libOpenIPMIglib.so.*
|
|
1.1.3
by Noèl Köthe
Import upstream version 2.0.11 |
125 |
# USERFIX: You might need to modify the following if glib12 is not
|
126 |
# handled properly by the autodetection
|
|
127 |
%if %{glib12} != "no"
|
|
128 |
%{_libdir}/libOpenIPMIglib12.so.*
|
|
129 |
%endif
|
|
1.2.1
by Noèl Köthe
Import upstream version 2.0.7 |
130 |
%{_libdir}/libOpenIPMItcl.so.*
|
131 |
%{_libdir}/libOpenIPMIposix.so.*
|
|
132 |
%{_libdir}/libOpenIPMIpthread.so.*
|
|
133 |
%{_libdir}/libOpenIPMI.so.*
|
|
134 |
%{_libdir}/libOpenIPMIutils.so.*
|
|
1
by Noèl Köthe
Import upstream version 2.0.1 |
135 |
%doc COPYING COPYING.LIB FAQ INSTALL README README.Force
|
1.2.1
by Noèl Köthe
Import upstream version 2.0.7 |
136 |
%doc README.MotorolaMXP CONFIGURING_FOR_LAN COPYING.BSD
|
137 |
/etc/init.d/ipmi |
|
138 |
/etc/sysconfig/ipmi |
|
139 |
||
1
by Noèl Köthe
Import upstream version 2.0.1 |
140 |
|
141 |
###################################################
|
|
142 |
%files perl
|
|
143 |
###################################################
|
|
144 |
%defattr(-,root,root)
|
|
1.1.3
by Noèl Köthe
Import upstream version 2.0.11 |
145 |
%{perl_vendorarch}
|
1
by Noèl Köthe
Import upstream version 2.0.1 |
146 |
%doc swig/OpenIPMI.i swig/perl/sample swig/perl/ipmi_powerctl
|
147 |
||
148 |
###################################################
|
|
149 |
%files python
|
|
150 |
###################################################
|
|
151 |
%defattr(-,root,root)
|
|
1.2.1
by Noèl Köthe
Import upstream version 2.0.7 |
152 |
%{_libdir}/python*/site-packages/*OpenIPMI.*
|
153 |
%doc swig/OpenIPMI.i
|
|
154 |
||
155 |
###################################################
|
|
156 |
%files gui
|
|
157 |
###################################################
|
|
158 |
%defattr(-,root,root)
|
|
159 |
%dir %{_libdir}/python*/site-packages/openipmigui |
|
160 |
%{_libdir}/python*/site-packages/openipmigui/*
|
|
161 |
%{_bindir}/openipmigui
|
|
1
by Noèl Köthe
Import upstream version 2.0.1 |
162 |
|
163 |
###################################################
|
|
164 |
%files devel
|
|
165 |
###################################################
|
|
166 |
%defattr(-,root,root)
|
|
167 |
%{_includedir}/OpenIPMI
|
|
168 |
%{_libdir}/*.a
|
|
1.2.1
by Noèl Köthe
Import upstream version 2.0.7 |
169 |
%{_libdir}/*.la
|
170 |
%{_libdir}/*.so
|
|
1
by Noèl Köthe
Import upstream version 2.0.1 |
171 |
%{_libdir}/pkgconfig
|
172 |
%doc doc/IPMI.pdf
|
|
173 |
||
174 |
###################################################
|
|
175 |
%files ui
|
|
176 |
###################################################
|
|
177 |
%defattr(-,root,root)
|
|
178 |
%{_bindir}/ipmi_ui
|
|
179 |
%{_bindir}/ipmicmd
|
|
1.2.1
by Noèl Köthe
Import upstream version 2.0.7 |
180 |
%{_bindir}/openipmicmd
|
1
by Noèl Köthe
Import upstream version 2.0.1 |
181 |
%{_bindir}/ipmish
|
1.2.1
by Noèl Köthe
Import upstream version 2.0.7 |
182 |
%{_bindir}/openipmish
|
1
by Noèl Köthe
Import upstream version 2.0.1 |
183 |
%{_bindir}/solterm
|
1.2.1
by Noèl Köthe
Import upstream version 2.0.7 |
184 |
%{_bindir}/rmcp_ping
|
1.1.3
by Noèl Köthe
Import upstream version 2.0.11 |
185 |
%{_libdir}/libOpenIPMIui.so.*
|
1
by Noèl Köthe
Import upstream version 2.0.1 |
186 |
%doc %{_mandir}/man1/ipmi_ui.1* |
1.2.1
by Noèl Köthe
Import upstream version 2.0.7 |
187 |
%doc %{_mandir}/man1/openipmicmd.1* |
188 |
%doc %{_mandir}/man1/openipmish.1* |
|
189 |
%doc %{_mandir}/man1/openipmigui.1* |
|
190 |
%doc %{_mandir}/man1/solterm.1* |
|
191 |
%doc %{_mandir}/man1/rmcp_ping.1* |
|
1
by Noèl Köthe
Import upstream version 2.0.1 |
192 |
%doc %{_mandir}/man7/ipmi_cmdlang.7* |
1.2.1
by Noèl Köthe
Import upstream version 2.0.7 |
193 |
%doc %{_mandir}/man7/openipmi_conparms.7* |
1
by Noèl Köthe
Import upstream version 2.0.1 |
194 |
|
195 |
###################################################
|
|
196 |
%files lanserv
|
|
197 |
###################################################
|
|
198 |
%defattr(-,root,root)
|
|
199 |
%{_bindir}/ipmilan
|
|
1.1.3
by Noèl Köthe
Import upstream version 2.0.11 |
200 |
%{_libdir}/libIPMIlanserv.so.*
|
1
by Noèl Köthe
Import upstream version 2.0.1 |
201 |
%doc %{_mandir}/man8/ipmilan.8* |
202 |