Summary: IPMI abstraction layer Summary(pl): Warstwa abstrakcji IPMI Name: OpenIPMI Version: 2.0.2 Release: 0.99 License: LGPL (library), GPL (ipmicmd) Group: Libraries Source0: http://dl.sourceforge.net/openipmi/%{name}-%{version}.tar.gz # Source0-md5: 8ac7849e72fe849c5ce95e6dd8719ca3 Patch0: %{name}-link.patch URL: http://openipmi.sourceforge.net/ BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc >= 5:3.2 BuildRequires: gdbm-devel BuildRequires: glib2-devel >= 2.0 BuildRequires: libtool >= 1:1.4.2-9 BuildRequires: ncurses-devel BuildRequires: net-snmp-devel BuildRequires: perl-devel BuildRequires: pkgconfig BuildRequires: popt-devel BuildRequires: swig BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description OpenIPMI project aims to develop an open code base to allow access to platform information using Intelligent Platform Management Interface (IPMI). %description -l pl Celem projektu OpenIPMI jest stworzenie otwartej podstawy kodu pozwalającego na dostęp do informacji o platformie pzy użyciu interfejsu IPMI (Intelligent Platform Management Interface - interfejsu inteligentnego zarządzania platformą) %package devel Summary: Development part of OpenIPMI Toolkit libraries Summary(pl): Programistyczna cześć bibliotek OpenIPMI Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel Development part of OpenIPMI libraries. %description devel -l pl Programistyczna cześć bibliotek OpenIPMI. %package static Summary: Static OpenIPMI libraries Summary(pl): Statyczne biblioteki OpenIPMI Group: Development/Libraries Requires: %{name}-devel = %{version}-%{release} %description static Static OpenIPMI Toolkit libraries. %description static -l pl Statyczne biblioteki OpenIPMI. %package -n perl-%{name} Summary: Perl interface to OpenIPMI Summary(pl): Perlowy interfejs do OpenIPMI Group: Development/Languages/Perl Requires: %{name} = %{version}-%{release} %description -n perl-%{name} Perl interface to OpenIPMI. %description -n perl-%{name} -l pl Perlowy interfejs do OpenIPMI. %package -n python-%{name} Summary: Python interface to OpenIPMI Summary(pl): Pythonowy interfejs do OpenIPMI Group: Development/Languages/Python Requires: %{name} = %{version}-%{release} %pyrequires_eq python-libs %description -n python-%{name} Python interface to OpenIPMI. %description -n perl-%{name} -l pl Pythonowy interfejs do OpenIPMI. %prep %setup -q %patch0 -p1 %build %{__libtoolize} %{__aclocal} %{__autoconf} %{__automake} CPPFLAGS="-I/usr/include/ncurses" %configure %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT \ PYTHON_INSTALL_DIR=%{py_sitedir} rm -f $RPM_BUILD_ROOT%{py_sitedir}/*.py %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(644,root,root,755) %doc ChangeLog FAQ README* TODO %attr(755,root,root) %{_bindir}/* %attr(755,root,root) %{_libdir}/lib*.so.*.*.* %{_mandir}/man[178]/* %files devel %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/lib*.so %{_libdir}/*.la %{_includedir}/%{name} %{_pkgconfigdir}/*.pc %files static %defattr(644,root,root,755) %{_libdir}/lib*.a %files -n perl-%{name} %defattr(644,root,root,755) %{perl_vendorarch}/OpenIPMI.pm %dir %{perl_vendorarch}/auto/OpenIPMI %attr(755,root,root) %{perl_vendorarch}/auto/OpenIPMI/OpenIPMI.so %files -n python-%{name} %defattr(644,root,root,755) %attr(755,root,root) %{py_sitedir}/*.so %{py_sitedir}/*.py[oc]