Репозиторий Sisyphus
Последнее обновление: 5 февраля 2023 | Пакетов: 18173 | Посещений: 26644939
en ru br
Репозитории ALT
S:2.0.33-alt1
5.1: 2.0.18-alt1.0.M51.1
4.0: 2.0.16-alt2.M40.1
www.altlinux.org/Changes

Группа :: Система/Настройка/Оборудование
Пакет: openipmi

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%set_verify_elf_method unresolved=relaxed

Name: openipmi
Summary: %name - Library interface to IPMI
Version: 2.0.32
Release: alt2
License: LGPLv2.1
# VCS: https://git.code.sf.net/p/openipmi/code
Url: http://openipmi.sourceforge.net
Group: System/Configuration/Hardware
Source: %name-%version.tar
Patch0: %name-%version-alt.patch

BuildRequires: libpopt-devel python3-devel libnet-snmp-devel rpm-build-python3
BuildRequires: libncurses-devel libssl-devel tkinter swig
BuildRequires: glib2-devel tcl-devel libedit-devel libreadline-devel

%description
This package contains basic tools used with OpenIPMI.

%package -n lib%name
Summary: %name - Library interface to IPMI
Group: System/Configuration/Hardware

%description -n lib%name
This package contains a shared library implementation of IPMI.

%package -n lib%name-devel
Summary: Development files for OpenIPMI
Group: Development/C
Requires: lib%name = %version-%release

%description -n lib%name-devel
Contains additional files need for a developer to create applications
and/or middleware that depends on libOpenIPMI

%package perl
Summary: Perl interface for OpenIPMI
Group: System/Configuration/Hardware
Requires: lib%name = %version-%release

%description perl
A Perl interface for OpenIPMI.

%package -n python3-module-%name
Summary: Python interface for OpenIPMI
Group: System/Configuration/Hardware
Requires: lib%name = %version-%release

%description -n python3-module-%name
A Python interface for OpenIPMI.

%package gui
Summary: GUI (in python) for OpenIPMI
Group: System/Configuration/Hardware
Requires: python3-module-%name = %version-%release

%description gui
A GUI interface for OpenIPMI.  Written in python an requiring wxWidgets.

%package ui
Summary: User Interface (ui)
Group: System/Configuration/Hardware
Requires: lib%name = %version-%release

%description ui
This package contains a user interface

%package lanserv
Summary: Emulates an IPMI network listener
Group: System/Configuration/Hardware

%description lanserv
This package contains a network IPMI listener.

%prep
%setup
%patch0 -p1

%build
%autoreconf
export CFLAGS="-fPIC $RPM_OPT_FLAGS"
%configure --disable-static \
  --with-tcl=yes \
  --with-tk=yes \
  --with-tkinter=yes \
  --with-tclcflags='-I/usr/include' \
  --with-pythoninstall=%python3_sitelibdir \
  --with-python=%__python3
%make

%install
make DESTDIR=%buildroot install
install -d %buildroot%_initdir
install -d %buildroot%_sysconfdir/sysconfig
install ipmi.init %buildroot%_initdir/ipmi
install ipmi.sysconf %buildroot%_sysconfdir/sysconfig/ipmi

rm -f %buildroot%_libdir/libOpenIPMIglib12.*

%files
%doc COPYING COPYING.LIB FAQ INSTALL README README.Force
%doc README.MotorolaMXP CONFIGURING_FOR_LAN COPYING.BSD
%_initdir/ipmi
%_sysconfdir/sysconfig/ipmi

%files -n lib%name
%_libdir/libOpenIPMIcmdlang.so.*
%_libdir/libOpenIPMIglib.so.*
%_libdir/libOpenIPMItcl.so.*
%_libdir/libOpenIPMIposix.so.*
%_libdir/libOpenIPMIpthread.so.*
%_libdir/libOpenIPMI.so.*
%_libdir/libOpenIPMIutils.so.*
%_libdir/libOpenIPMIui.so.*

%files perl
%perl_vendor_archlib/OpenIPMI*
%perl_vendor_autolib/OpenIPMI
%doc swig/OpenIPMI.i swig/perl/sample swig/perl/ipmi_powerctl

%files -n python3-module-%name
%python3_sitelibdir/*OpenIPMI.*
%python3_sitelibdir/__pycache__/*OpenIPMI.*
%doc swig/OpenIPMI.i

%files gui
%dir %python3_sitelibdir/openipmigui
%python3_sitelibdir/openipmigui/*
%_bindir/openipmigui

%files -n lib%name-devel
%_includedir/OpenIPMI
%_libdir/*.so
%_libdir/pkgconfig/*

%files ui
%_bindir/ipmi_ui
%_bindir/ipmicmd
%_bindir/openipmicmd
%_bindir/ipmish
%_bindir/openipmish
%_bindir/openipmi_eventd
%_bindir/solterm
%_bindir/rmcp_ping
%_man1dir/ipmi_ui.1*
%_man1dir/openipmi_eventd.1*
%_man1dir/openipmicmd.1*
%_man1dir/openipmish.1*
%_man1dir/openipmigui.1*
%_man1dir/solterm.1*
%_man1dir/rmcp_ping.1*
%_man7dir/ipmi_cmdlang.7*
%_man7dir/openipmi_conparms.7*

%files lanserv
%config(noreplace) %_sysconfdir/ipmi/ipmisim1.emu
%config(noreplace) %_sysconfdir/ipmi/lan.conf
%_bindir/ipmilan
%_bindir/ipmi_sim
%_bindir/sdrcomp
%_libdir/libIPMIlanserv.so.*
%_man8dir/ipmilan.8*
%_man1dir/ipmi_sim.1*
%_man5dir/ipmi_lan.5*
%_man5dir/ipmi_sim_cmd.5*



%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin