5 Summary: IPMI abstraction layer
6 Summary(pl): Warstwa abstrakcji IPMI
10 License: LGPL (library), GPL (ipmicmd)
12 Source0: http://dl.sourceforge.net/openipmi/%{name}-%{version}.tar.gz
13 # Source0-md5: b5474114ff84a872c5075744201bc4f0
14 Patch0: %{name}-link.patch
15 URL: http://openipmi.sourceforge.net/
16 BuildRequires: autoconf
17 BuildRequires: automake
18 BuildRequires: gcc >= 5:3.2
19 BuildRequires: gdbm-devel
20 BuildRequires: glib2-devel >= 2.0
21 BuildRequires: libtool >= 1:1.4.2-9
22 BuildRequires: ncurses-devel
23 BuildRequires: net-snmp-devel
24 BuildRequires: perl-devel
25 BuildRequires: pkgconfig
26 BuildRequires: popt-devel
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 OpenIPMI project aims to develop an open code base to allow access to
32 platform information using Intelligent Platform Management Interface
36 Celem projektu OpenIPMI jest stworzenie otwartej podstawy kodu
37 pozwalaj±cego na dostêp do informacji o platformie pzy u¿yciu
38 interfejsu IPMI (Intelligent Platform Management Interface -
39 interfejsu inteligentnego zarz±dzania platform±)
42 Summary: Development part of OpenIPMI Toolkit libraries
43 Summary(pl): Programistyczna cze¶æ bibliotek OpenIPMI
44 Group: Development/Libraries
45 Requires: %{name} = %{version}-%{release}
48 Development part of OpenIPMI libraries.
50 %description devel -l pl
51 Programistyczna cze¶æ bibliotek OpenIPMI.
54 Summary: Static OpenIPMI libraries
55 Summary(pl): Statyczne biblioteki OpenIPMI
56 Group: Development/Libraries
57 Requires: %{name}-devel = %{version}-%{release}
60 Static OpenIPMI Toolkit libraries.
62 %description static -l pl
63 Statyczne biblioteki OpenIPMI.
65 %package -n perl-%{name}
66 Summary: Perl interface to OpenIPMI
67 Summary(pl): Perlowy interfejs do OpenIPMI
68 Group: Development/Languages/Perl
69 Requires: %{name} = %{version}-%{release}
71 %description -n perl-%{name}
72 Perl interface to OpenIPMI.
74 %description -n perl-%{name} -l pl
75 Perlowy interfejs do OpenIPMI.
77 %package -n python-%{name}
78 Summary: Python interface to OpenIPMI
79 Summary(pl): Pythonowy interfejs do OpenIPMI
80 Group: Development/Languages/Python
81 Requires: %{name} = %{version}-%{release}
82 %pyrequires_eq python-libs
84 %description -n python-%{name}
85 Python interface to OpenIPMI.
87 %description -n perl-%{name} -l pl
88 Pythonowy interfejs do OpenIPMI.
99 CPPFLAGS="-I/usr/include/ncurses"
104 rm -rf $RPM_BUILD_ROOT
107 DESTDIR=$RPM_BUILD_ROOT
109 rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/*.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_sitescriptdir}/*.so
144 %{py_sitescriptdir}/*.py[oc]