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
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}
45 Development part of OpenIPMI libraries.
47 %description devel -l pl
48 Programistyczna cze¶æ bibliotek OpenIPMI.
51 Summary: Static OpenIPMI libraries
52 Summary(pl): Statyczne biblioteki OpenIPMI
53 Group: Development/Libraries
54 Requires: %{name}-devel = %{version}-%{release}
57 Static OpenIPMI Toolkit libraries.
59 %description static -l pl
60 Statyczne biblioteki OpenIPMI.
62 %package -n perl-%{name}
63 Summary: Perl interface to OpenIPMI
64 Summary(pl): Perlowy interfejs do OpenIPMI
65 Group: Development/Languages/Perl
66 Requires: %{name} = %{version}-%{release}
68 %description -n perl-%{name}
69 Perl interface to OpenIPMI.
71 %description -n perl-%{name} -l pl
72 Perlowy interfejs do OpenIPMI.
74 %package -n python-%{name}
75 Summary: Python interface to OpenIPMI
76 Summary(pl): Pythonowy interfejs do OpenIPMI
77 Group: Development/Languages/Python
78 Requires: %{name} = %{version}-%{release}
79 %pyrequires_eq python-libs
81 %description -n python-%{name}
82 Python interface to OpenIPMI.
84 %description -n perl-%{name} -l pl
85 Pythonowy interfejs do OpenIPMI.
96 CPPFLAGS="-I/usr/include/ncurses"
101 rm -rf $RPM_BUILD_ROOT
104 DESTDIR=$RPM_BUILD_ROOT \
105 PYTHON_INSTALL_DIR=%{py_sitedir}
107 rm -f $RPM_BUILD_ROOT%{py_sitedir}/*.py
110 rm -rf $RPM_BUILD_ROOT
112 %post -p /sbin/ldconfig
113 %postun -p /sbin/ldconfig
116 %defattr(644,root,root,755)
117 %doc ChangeLog FAQ README* TODO
118 %attr(755,root,root) %{_bindir}/*
119 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
120 %{_mandir}/man[178]/*
123 %defattr(644,root,root,755)
124 %attr(755,root,root) %{_libdir}/lib*.so
126 %{_includedir}/%{name}
127 %{_pkgconfigdir}/*.pc
130 %defattr(644,root,root,755)
133 %files -n perl-%{name}
134 %defattr(644,root,root,755)
135 %{perl_vendorarch}/OpenIPMI.pm
136 %dir %{perl_vendorarch}/auto/OpenIPMI
137 %attr(755,root,root) %{perl_vendorarch}/auto/OpenIPMI/OpenIPMI.so
139 %files -n python-%{name}
140 %defattr(644,root,root,755)
141 %attr(755,root,root) %{py_sitedir}/*.so
142 %{py_sitedir}/*.py[oc]