OpenIPMI/OpenIPMI.spec

73 lines
1.8 KiB
RPMSpec

Summary: OpenIPMI (Intelligent Platform Management Interface) library and tools
Name: OpenIPMI
Version: 1.4.11
Release: 5
License: GPL
Group: System Environment/Base
Source: http://prdownloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz
Patch1: OpenIPMI-1.4.11-gcc4.patch
BuildRoot: /var/tmp/%{name}-%{version}-root
BuildPrereq: gdbm-devel swig
%description
The Open IPMI project aims to develop an open code base to allow access to
platform information using Intelligent Platform Management Interface (IPMI).
This package contains the runtime libraries and tools of the OpenIPMI project.
%package devel
Group: Development/Libraries
Summary: The development environment for the OpenIPMI project.
Requires: %{name} = %{version}
%description devel
The OpenIPMI-devel package contains the development libraries and header files
of the OpenIPMI project.
%prep
%setup -q
%patch1 -p1 -b .gcc4
%build
%configure
make
%install
%makeinstall
rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.la
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%{_bindir}/*
%{_libdir}/*.so.*
%{_libdir}/pkgconfig/*
%{_mandir}/man[178]/*
%{_libdir}/perl5/site_perl/*/*-linux-thread-multi/OpenIPMI.pm
%dir %{_libdir}/perl5/site_perl/*/*-linux-thread-multi/auto/OpenIPMI
%{_libdir}/perl5/site_perl/*/*-linux-thread-multi/auto/OpenIPMI/*
%files devel
%defattr(-,root,root)
%{_includedir}/OpenIPMI
%{_libdir}/*.so
%{_libdir}/*.a
%changelog
* Wed Mar 30 2005 Phil Knirsch <pknirsch@redhat.com> 1.4.11-5
- Correctly put libs in the proper packages
* Thu Mar 17 2005 Phil Knirsch <pknirsch@redhat.com> 1.4.11-4
- gcc4 rebuild fixes
- Added missing gdbm-devel buildprereq
* Wed Mar 02 2005 Phil Knirsch <pknirsch@redhat.com> 1.4.11-3
- bump release and rebuild with gcc 4
* Tue Feb 08 2005 Karsten Hopp <karsten@redhat.de> 1.4.11-2
- update
* Tue Oct 26 2004 Phil Knirsch <pknirsch@redhat.com>
- Initial version