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: 946d26b89d4cab4d32c97f1201a19b28
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
23 BuildRequires: swig-perl >= 1.3.25
24 BuildRequires: swig-python >= 1.3.25
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 OpenIPMI project aims to develop an open code base to allow access to
29 platform information using Intelligent Platform Management Interface
33 Celem projektu OpenIPMI jest stworzenie otwartej podstawy kodu
34 pozwalaj±cego na dostêp do informacji o platformie pzy u¿yciu
35 interfejsu IPMI (Intelligent Platform Management Interface -
36 interfejsu inteligentnego zarz±dzania platform±)
39 Summary: Development part of OpenIPMI Toolkit libraries
40 Summary(pl): Programistyczna cze¶æ bibliotek OpenIPMI
41 Group: Development/Libraries
42 Requires: %{name} = %{version}-%{release}
46 Development part of OpenIPMI libraries.
48 %description devel -l pl
49 Programistyczna cze¶æ bibliotek OpenIPMI.
52 Summary: Static OpenIPMI libraries
53 Summary(pl): Statyczne biblioteki OpenIPMI
54 Group: Development/Libraries
55 Requires: %{name}-devel = %{version}-%{release}
58 Static OpenIPMI Toolkit libraries.
60 %description static -l pl
61 Statyczne biblioteki OpenIPMI.
63 %package -n perl-%{name}
64 Summary: Perl interface to OpenIPMI
65 Summary(pl): Perlowy interfejs do OpenIPMI
66 Group: Development/Languages/Perl
67 Requires: %{name} = %{version}-%{release}
69 %description -n perl-%{name}
70 Perl interface to OpenIPMI.
72 %description -n perl-%{name} -l pl
73 Perlowy interfejs do OpenIPMI.
75 %package -n python-%{name}
76 Summary: Python interface to OpenIPMI
77 Summary(pl): Pythonowy interfejs do OpenIPMI
78 Group: Development/Languages/Python
79 Requires: %{name} = %{version}-%{release}
80 %pyrequires_eq python-libs
82 %description -n python-%{name}
83 Python interface to OpenIPMI.
85 %description -n perl-%{name} -l pl
86 Pythonowy interfejs do OpenIPMI.
97 CPPFLAGS="-I/usr/include/ncurses"
102 rm -rf $RPM_BUILD_ROOT
105 DESTDIR=$RPM_BUILD_ROOT \
106 PYTHON_INSTALL_DIR=%{py_sitedir}
108 rm -f $RPM_BUILD_ROOT%{py_sitedir}/*.py
111 rm -rf $RPM_BUILD_ROOT
113 %post -p /sbin/ldconfig
114 %postun -p /sbin/ldconfig
117 %defattr(644,root,root,755)
118 %doc ChangeLog FAQ README* TODO
119 %attr(755,root,root) %{_bindir}/*
120 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
121 %{_mandir}/man[178]/*
124 %defattr(644,root,root,755)
125 %attr(755,root,root) %{_libdir}/lib*.so
127 %{_includedir}/%{name}
128 %{_pkgconfigdir}/*.pc
131 %defattr(644,root,root,755)
134 %files -n perl-%{name}
135 %defattr(644,root,root,755)
136 %{perl_vendorarch}/OpenIPMI.pm
137 %dir %{perl_vendorarch}/auto/OpenIPMI
138 %attr(755,root,root) %{perl_vendorarch}/auto/OpenIPMI/OpenIPMI.so
140 %files -n python-%{name}
141 %defattr(644,root,root,755)
142 %attr(755,root,root) %{py_sitedir}/*.so
143 %{py_sitedir}/*.py[oc]