1 %include /usr/lib/rpm/macros.perl
2 Summary: IPMI abstraction layer
6 License: Apache-style License
8 Source0: http://dl.sourceforge.net/openipmi/%{name}-%{version}.tar.gz
9 # Source0-md5: 133fc7a56b815c4f1b64bd790a0d0dc6
10 URL: http://openipmi.sourceforge.net/
11 BuildRequires: ncurses-devel
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 Open IPMI project aims to develop an open code base to allow access to
16 platform information using Intelligent Platform Management Interface
20 Summary: Development part of OpenIPMI Toolkit libraries
21 Group: Development/Libraries
22 Requires: %{name} = %{version}
25 Development part of OpenIPMI library.
28 Summary: Static OpenIPMI libraries
29 Group: Development/Libraries
30 Requires: %{name}-devel = %{version}
33 Static OpenIPMI Toolkit libraries.
35 # this is workaround only, to be removed in future
36 %define no_install_post_strip 1
46 CPPFLAGS="-I%{_includedir}/ncurses";
51 rm -rf $RPM_BUILD_ROOT
54 DESTDIR=$RPM_BUILD_ROOT
57 rm -rf $RPM_BUILD_ROOT
59 %post -p /sbin/ldconfig
60 %postun -p /sbin/ldconfig
63 %defattr(644,root,root,755)
64 %attr(755,root,root) %{_libdir}/lib*.so.*.*
65 %doc ChangeLog FAQ README* TODO
66 %attr(755,root,root) %{_bindir}/*
71 %defattr(644,root,root,755)
72 %attr(755,root,root) %{_libdir}/lib*.so
74 %{_includedir}/%{name}
77 %defattr(644,root,root,755)