Removed the openipmigui tool, it does not work with TCL without thread support
Resolves: #646184
This commit is contained in:
parent
a625845fbe
commit
6c0e0fe211
@ -4,15 +4,14 @@
|
|||||||
Summary: IPMI (Intelligent Platform Management Interface) library and tools
|
Summary: IPMI (Intelligent Platform Management Interface) library and tools
|
||||||
Name: OpenIPMI
|
Name: OpenIPMI
|
||||||
Version: 2.0.18
|
Version: 2.0.18
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
License: LGPLv2+ and GPLv2+ or BSD
|
License: LGPLv2+ and GPLv2+ or BSD
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
URL: http://sourceforge.net/projects/openipmi/
|
URL: http://sourceforge.net/projects/openipmi/
|
||||||
Source: http://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz
|
Source: http://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz
|
||||||
Source1: openipmi.sysconf
|
Source1: openipmi.sysconf
|
||||||
Source2: openipmi.initscript
|
Source2: openipmi.initscript
|
||||||
Source3: openipmigui.desktop
|
Source3: README.initscript
|
||||||
Source4: README.initscript
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildRequires: gdbm-devel swig glib2-devel net-snmp-devel ncurses-devel
|
BuildRequires: gdbm-devel swig glib2-devel net-snmp-devel ncurses-devel
|
||||||
BuildRequires: openssl-devel python-devel perl-devel tcl-devel tkinter
|
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
|
The OpenIPMI-devel package contains the development libraries and header files
|
||||||
of the OpenIPMI project.
|
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
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="-fPIC $RPM_OPT_FLAGS"
|
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
|
# get rid of rpath
|
||||||
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
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
|
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 -d ${RPM_BUILD_ROOT}%{_initrddir}
|
||||||
install -m 755 %SOURCE2 ${RPM_BUILD_ROOT}%{_initrddir}/ipmi
|
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
|
%post
|
||||||
/sbin/chkconfig --add ipmi
|
/sbin/chkconfig --add ipmi
|
||||||
@ -159,14 +154,11 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
|
|
||||||
%files gui
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_bindir}/openipmigui
|
|
||||||
%{_mandir}/man1/openipmigui*
|
|
||||||
%{python_sitearch}/openipmigui
|
|
||||||
%{_datadir}/applications/fedora-openipmigui.desktop
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Oct 26 2010 Jan Safranek <jsafrane@redhat.com> - 2.0.18-5
|
||||||
- Rebuilt for new Net-SNMP
|
- Rebuilt for new Net-SNMP
|
||||||
|
|
||||||
|
@ -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;
|
|
Loading…
Reference in New Issue
Block a user