Removed the openipmigui tool, it does not work with TCL without thread support

Resolves: #646184
This commit is contained in:
Jan Safranek 2010-11-01 12:59:30 +01:00
parent a625845fbe
commit 6c0e0fe211
2 changed files with 15 additions and 30 deletions

View File

@ -4,15 +4,14 @@
Summary: IPMI (Intelligent Platform Management Interface) library and tools
Name: OpenIPMI
Version: 2.0.18
Release: 5%{?dist}
Release: 6%{?dist}
License: LGPLv2+ and GPLv2+ or BSD
Group: System Environment/Base
URL: http://sourceforge.net/projects/openipmi/
Source: http://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz
Source1: openipmi.sysconf
Source2: openipmi.initscript
Source3: openipmigui.desktop
Source4: README.initscript
Source3: README.initscript
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gdbm-devel swig glib2-devel net-snmp-devel ncurses-devel
BuildRequires: openssl-devel python-devel perl-devel tcl-devel tkinter
@ -60,23 +59,19 @@ Requires: %{name} = %{version}-%{release}
The OpenIPMI-devel package contains the development libraries and header files
of the OpenIPMI project.
%package gui
Group: System Environment/Base
Summary: IPMI graphical user interface tool
Requires: tix tkinter %{name}-python = %{version}-%{release}
%description gui
The OpenIPMI-gui package contains the graphical user interface to monitor
and control IPMI-enabled devices.
%prep
%setup -q
%patch1 -p1
%build
export CFLAGS="-fPIC $RPM_OPT_FLAGS"
%configure --with-pythoninstall=%{python_sitearch} --disable-dependency-tracking --with-tcl=no --disable-static
%configure \
--with-pythoninstall=%{python_sitearch} \
--disable-dependency-tracking \
--with-tcl=no \
--disable-static \
--with-tkinter=no
# get rid of rpath
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
@ -93,9 +88,9 @@ install -m 644 %SOURCE1 ${RPM_BUILD_ROOT}%{_sysconfdir}/sysconfig/ipmi
install -d ${RPM_BUILD_ROOT}%{_initrddir}
install -m 755 %SOURCE2 ${RPM_BUILD_ROOT}%{_initrddir}/ipmi
desktop-file-install --vendor="fedora" --dir=${RPM_BUILD_ROOT}%{_datadir}/applications %{SOURCE3}
install -m 644 %SOURCE3 .
install -m 644 %SOURCE4 .
rm ${RPM_BUILD_ROOT}/%{_mandir}/man1/openipmigui.1
%post
/sbin/chkconfig --add ipmi
@ -159,14 +154,11 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%files gui
%defattr(-,root,root)
%{_bindir}/openipmigui
%{_mandir}/man1/openipmigui*
%{python_sitearch}/openipmigui
%{_datadir}/applications/fedora-openipmigui.desktop
%changelog
* Mon Nov 1 2010 Jan Safranek <jsafrane@redhat.com> - 2.0.18-6
- Removed the openipmigui tool, it does not work with TCL without thread
support (#646184)
* Tue Oct 26 2010 Jan Safranek <jsafrane@redhat.com> - 2.0.18-5
- Rebuilt for new Net-SNMP

View File

@ -1,7 +0,0 @@
[Desktop Entry]
Name=OpenIPMI GUI
Comment=Manage local or remote systems using IPMI protocol
Exec=/usr/bin/openipmigui
Terminal=false
Type=Application
Categories=System;