1 Summary: IPMI abstraction layer
2 Summary(pl): Warstwa abstrakcji IPMI
6 License: LGPL (library), GPL (ipmicmd)
8 Source0: http://dl.sourceforge.net/openipmi/%{name}-%{version}.tar.gz
9 # Source0-md5: 8ac7849e72fe849c5ce95e6dd8719ca3
10 Patch0: %{name}-link.patch
11 URL: http://openipmi.sourceforge.net/
12 BuildRequires: autoconf
13 BuildRequires: automake
14 BuildRequires: gcc >= 5:3.2
15 BuildRequires: gdbm-devel
16 BuildRequires: glib2-devel >= 2.0
17 BuildRequires: libtool >= 1:1.4.2-9
18 BuildRequires: ncurses-devel
19 BuildRequires: net-snmp-devel
20 BuildRequires: perl-devel
21 BuildRequires: pkgconfig
22 BuildRequires: popt-devel
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 OpenIPMI project aims to develop an open code base to allow access to
28 platform information using Intelligent Platform Management Interface
32 Celem projektu OpenIPMI jest stworzenie otwartej podstawy kodu
33 pozwalaj±cego na dostêp do informacji o platformie pzy u¿yciu
34 interfejsu IPMI (Intelligent Platform Management Interface -
35 interfejsu inteligentnego zarz±dzania platform±)
38 Summary: Development part of OpenIPMI Toolkit libraries
39 Summary(pl): Programistyczna cze¶æ bibliotek OpenIPMI
40 Group: Development/Libraries
41 Requires: %{name} = %{version}-%{release}
44 Development part of OpenIPMI libraries.
46 %description devel -l pl
47 Programistyczna cze¶æ bibliotek OpenIPMI.
50 Summary: Static OpenIPMI libraries
51 Summary(pl): Statyczne biblioteki OpenIPMI
52 Group: Development/Libraries
53 Requires: %{name}-devel = %{version}-%{release}
56 Static OpenIPMI Toolkit libraries.
58 %description static -l pl
59 Statyczne biblioteki OpenIPMI.
61 %package -n perl-%{name}
62 Summary: Perl interface to OpenIPMI
63 Summary(pl): Perlowy interfejs do OpenIPMI
64 Group: Development/Languages/Perl
65 Requires: %{name} = %{version}-%{release}
67 %description -n perl-%{name}
68 Perl interface to OpenIPMI.
70 %description -n perl-%{name} -l pl
71 Perlowy interfejs do OpenIPMI.
73 %package -n python-%{name}
74 Summary: Python interface to OpenIPMI
75 Summary(pl): Pythonowy interfejs do OpenIPMI
76 Group: Development/Languages/Python
77 Requires: %{name} = %{version}-%{release}
78 %pyrequires_eq python-libs
80 %description -n python-%{name}
81 Python interface to OpenIPMI.
83 %description -n perl-%{name} -l pl
84 Pythonowy interfejs do OpenIPMI.
95 CPPFLAGS="-I/usr/include/ncurses"
100 rm -rf $RPM_BUILD_ROOT
103 DESTDIR=$RPM_BUILD_ROOT \
104 PYTHON_INSTALL_DIR=%{py_sitedir}
106 rm -f $RPM_BUILD_ROOT%{py_sitedir}/*.py
109 rm -rf $RPM_BUILD_ROOT
111 %post -p /sbin/ldconfig
112 %postun -p /sbin/ldconfig
115 %defattr(644,root,root,755)
116 %doc ChangeLog FAQ README* TODO
117 %attr(755,root,root) %{_bindir}/*
118 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
119 %{_mandir}/man[178]/*
122 %defattr(644,root,root,755)
123 %attr(755,root,root) %{_libdir}/lib*.so
125 %{_includedir}/%{name}
126 %{_pkgconfigdir}/*.pc
129 %defattr(644,root,root,755)
132 %files -n perl-%{name}
133 %defattr(644,root,root,755)
134 %{perl_vendorarch}/OpenIPMI.pm
135 %dir %{perl_vendorarch}/auto/OpenIPMI
136 %attr(755,root,root) %{perl_vendorarch}/auto/OpenIPMI/OpenIPMI.so
138 %files -n python-%{name}
139 %defattr(644,root,root,755)
140 %attr(755,root,root) %{py_sitedir}/*.so
141 %{py_sitedir}/*.py[oc]