- Fixed several specfile problems (#453751)
- Update to OpenIPMI-2.0.14
This commit is contained in:
parent
031b9b6d24
commit
9881167686
@ -1,2 +1,2 @@
|
|||||||
|
OpenIPMI-2.0.14.tar.gz
|
||||||
ipmitool-1.8.9.tar.gz
|
ipmitool-1.8.9.tar.gz
|
||||||
OpenIPMI-2.0.13.tar.gz
|
|
||||||
|
@ -2,21 +2,22 @@
|
|||||||
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||||
Summary: OpenIPMI (Intelligent Platform Management Interface) library and tools
|
Summary: OpenIPMI (Intelligent Platform Management Interface) library and tools
|
||||||
Name: OpenIPMI
|
Name: OpenIPMI
|
||||||
Version: 2.0.13
|
Version: 2.0.14
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
License: BSD and BSD with advertising and LGPLv2+ and GPLv2+
|
License: BSD and BSD with advertising and LGPLv2+ and GPLv2+
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
URL: http://sourceforge.net/projects/openipmi/
|
URL: http://sourceforge.net/projects/openipmi/
|
||||||
Source: http://prdownloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz
|
Source: http://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz
|
||||||
Source2: http://prdownloads.sourceforge.net/ipmitool/ipmitool-%{ipmitoolver}.tar.gz
|
Source2: http://downloads.sourceforge.net/ipmitool/ipmitool-%{ipmitoolver}.tar.gz
|
||||||
Source3: openipmi.sysconf
|
Source3: openipmi.sysconf
|
||||||
Source4: openipmi.initscript
|
Source4: openipmi.initscript
|
||||||
Patch100: ipmitool-1.8.9-open.patch
|
Patch100: ipmitool-1.8.9-open.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
PreReq: chkconfig
|
BuildRequires: gdbm-devel swig glib2-devel net-snmp-devel ncurses-devel
|
||||||
BuildPrereq: gdbm-devel swig glib2-devel net-snmp-devel ncurses-devel
|
BuildRequires: openssl-devel python-devel readline-devel popt-devel
|
||||||
BuildPrereq: openssl-devel python-devel readline-devel popt-devel
|
BuildRequires: perl-devel
|
||||||
BuildPrereq: perl-devel
|
Requires(post): chkconfig
|
||||||
|
Requires(preun): chkconfig
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The Open IPMI project aims to develop an open code base to allow access to
|
The Open IPMI project aims to develop an open code base to allow access to
|
||||||
@ -42,6 +43,7 @@ ipmitool project.
|
|||||||
%package perl
|
%package perl
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Summary: OpenIPMI Perl language bindings
|
Summary: OpenIPMI Perl language bindings
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
|
|
||||||
%description perl
|
%description perl
|
||||||
The OpenIPMI-perl package contains the Perl language bindings for OpenIPMI.
|
The OpenIPMI-perl package contains the Perl language bindings for OpenIPMI.
|
||||||
@ -55,7 +57,8 @@ The OpenIPMI-perl package contains the Python language bindings for OpenIPMI.
|
|||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Summary: The development environment for the OpenIPMI project.
|
Summary: The development environment for the OpenIPMI project
|
||||||
|
Requires: pkgconfig
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
@ -66,9 +69,16 @@ of the OpenIPMI project.
|
|||||||
%setup -q -a 2
|
%setup -q -a 2
|
||||||
pushd ipmitool-%{ipmitoolver}
|
pushd ipmitool-%{ipmitoolver}
|
||||||
%patch100 -p1 -b .open
|
%patch100 -p1 -b .open
|
||||||
|
for f in AUTHORS ChangeLog; do
|
||||||
|
iconv -f iso-8859-1 -t utf8 < ${f} > ${f}.utf8
|
||||||
|
mv ${f}.utf8 ${f}
|
||||||
|
done
|
||||||
|
popd
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --with-pythoninstall=%{python_sitearch}
|
%configure --with-pythoninstall=%{python_sitearch}
|
||||||
|
sed -i 's|^sys_lib_dlsearch_path_spec="/lib /usr/lib|sys_lib_dlsearch_path_spec="/%{_lib} /%{_libdir}|' libtool
|
||||||
|
sed -i 's| -rpath \$(libdir)\( \$(libOpenIPMIposix_la_LDFLAGS)\)|\1|' unix/Makefile
|
||||||
make
|
make
|
||||||
pushd ipmitool-%{ipmitoolver}
|
pushd ipmitool-%{ipmitoolver}
|
||||||
%configure
|
%configure
|
||||||
@ -76,6 +86,7 @@ make
|
|||||||
popd
|
popd
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.la
|
rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.la
|
||||||
# Remove python cruft in 32bit libdir on 64bit archs...
|
# Remove python cruft in 32bit libdir on 64bit archs...
|
||||||
@ -116,7 +127,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%config(noreplace) %{_sysconfdir}/sysconfig/ipmi
|
%config(noreplace) %{_sysconfdir}/sysconfig/ipmi
|
||||||
%config %{_initrddir}/ipmi
|
%{_initrddir}/ipmi
|
||||||
%{_bindir}/ipmicmd
|
%{_bindir}/ipmicmd
|
||||||
%{_bindir}/ipmilan
|
%{_bindir}/ipmilan
|
||||||
%{_bindir}/ipmish
|
%{_bindir}/ipmish
|
||||||
@ -136,11 +147,12 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_mandir}/man8/ipmilan*
|
%{_mandir}/man8/ipmilan*
|
||||||
|
|
||||||
%files perl
|
%files perl
|
||||||
%{_libdir}/perl5/vendor_perl/*/*-linux-thread-multi/OpenIPMI.pm
|
%defattr(-,root,root)
|
||||||
%dir %{_libdir}/perl5/vendor_perl/*/*-linux-thread-multi/auto/OpenIPMI
|
%attr(644,root,root) %{perl_vendorarch}/OpenIPMI.pm
|
||||||
%{_libdir}/perl5/vendor_perl/*/*-linux-thread-multi/auto/OpenIPMI/*
|
%{perl_vendorarch}/auto/OpenIPMI/
|
||||||
|
|
||||||
%files python
|
%files python
|
||||||
|
%defattr(-,root,root)
|
||||||
%{_libdir}/python*/site-packages/*
|
%{_libdir}/python*/site-packages/*
|
||||||
|
|
||||||
%files tools
|
%files tools
|
||||||
@ -154,7 +166,6 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%files libs
|
%files libs
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/*.so.*
|
||||||
%{_libdir}/pkgconfig/*
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -162,8 +173,13 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_includedir}/OpenIPMI
|
%{_includedir}/OpenIPMI
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
%{_libdir}/*.a
|
%{_libdir}/*.a
|
||||||
|
%{_libdir}/pkgconfig/*.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jul 29 2008 Phil Knirsch <pknirsch@redhat.com> - 2.0.14-1
|
||||||
|
- Fixed several specfile problems (#453751)
|
||||||
|
- Update to OpenIPMI-2.0.14
|
||||||
|
|
||||||
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.0.13-2
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.0.13-2
|
||||||
- Autorebuild for GCC 4.3
|
- Autorebuild for GCC 4.3
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user