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: python-devel
24 BuildRequires: swig-perl >= 1.3.25
25 BuildRequires: swig-python >= 1.3.25
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 OpenIPMI project aims to develop an open code base to allow access to
30 platform information using Intelligent Platform Management Interface
34 Celem projektu OpenIPMI jest stworzenie otwartej podstawy kodu
35 pozwalaj±cego na dostêp do informacji o platformie pzy u¿yciu
36 interfejsu IPMI (Intelligent Platform Management Interface -
37 interfejsu inteligentnego zarz±dzania platform±)
40 Summary: Development part of OpenIPMI Toolkit libraries
41 Summary(pl): Programistyczna cze¶æ bibliotek OpenIPMI
42 Group: Development/Libraries
43 Requires: %{name} = %{version}-%{release}
47 Development part of OpenIPMI libraries.
49 %description devel -l pl
50 Programistyczna cze¶æ bibliotek OpenIPMI.
53 Summary: Static OpenIPMI libraries
54 Summary(pl): Statyczne biblioteki OpenIPMI
55 Group: Development/Libraries
56 Requires: %{name}-devel = %{version}-%{release}
59 Static OpenIPMI Toolkit libraries.
61 %description static -l pl
62 Statyczne biblioteki OpenIPMI.
64 %package -n perl-%{name}
65 Summary: Perl interface to OpenIPMI
66 Summary(pl): Perlowy interfejs do OpenIPMI
67 Group: Development/Languages/Perl
68 Requires: %{name} = %{version}-%{release}
70 %description -n perl-%{name}
71 Perl interface to OpenIPMI.
73 %description -n perl-%{name} -l pl
74 Perlowy interfejs do OpenIPMI.
76 %package -n python-%{name}
77 Summary: Python interface to OpenIPMI
78 Summary(pl): Pythonowy interfejs do OpenIPMI
79 Group: Development/Languages/Python
80 Requires: %{name} = %{version}-%{release}
81 %pyrequires_eq python-libs
83 %description -n python-%{name}
84 Python interface to OpenIPMI.
86 %description -n perl-%{name} -l pl
87 Pythonowy interfejs do OpenIPMI.
98 CPPFLAGS="-I/usr/include/ncurses"
103 rm -rf $RPM_BUILD_ROOT
106 DESTDIR=$RPM_BUILD_ROOT \
107 PYTHON_INSTALL_DIR=%{py_sitedir}
109 rm -f $RPM_BUILD_ROOT%{py_sitedir}/*.py
112 rm -rf $RPM_BUILD_ROOT
114 %post -p /sbin/ldconfig
115 %postun -p /sbin/ldconfig
118 %defattr(644,root,root,755)
119 %doc ChangeLog FAQ README* TODO
120 %attr(755,root,root) %{_bindir}/*
121 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
122 %{_mandir}/man[178]/*
125 %defattr(644,root,root,755)
126 %attr(755,root,root) %{_libdir}/lib*.so
128 %{_includedir}/%{name}
129 %{_pkgconfigdir}/*.pc
132 %defattr(644,root,root,755)
135 %files -n perl-%{name}
136 %defattr(644,root,root,755)
137 %{perl_vendorarch}/OpenIPMI.pm
138 %dir %{perl_vendorarch}/auto/OpenIPMI
139 %attr(755,root,root) %{perl_vendorarch}/auto/OpenIPMI/OpenIPMI.so
141 %files -n python-%{name}
142 %defattr(644,root,root,755)
143 %attr(755,root,root) %{py_sitedir}/*.so
144 %{py_sitedir}/*.py[oc]