Summary: IPMI abstraction layer Summary(pl): Warstwa abstrakcji IPMI Name: OpenIPMI Version: 1.1.8 Release: 1 License: LGPL (library), GPL (ipmicmd) Group: Libraries Source0: http://dl.sourceforge.net/openipmi/%{name}-%{version}.tar.gz # Source0-md5: b9ea45fffe80ed0d00890a080e9fb612 Patch0: %{name}-link.patch URL: http://openipmi.sourceforge.net/ BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool >= 1:1.4.2-9 BuildRequires: ncurses-devel BuildRequires: popt-devel 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} %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} %description static Static OpenIPMI Toolkit libraries. %description static -l pl Statyczne biblioteki 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 %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.*.* %{_infodir}/%{name}* %{_mandir}/man?/* %files devel %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/lib*.so %{_libdir}/*.la %{_includedir}/%{name} %files static %defattr(644,root,root,755) %{_libdir}/lib*.a