1 # - check python package
2 # what about /usr/share/python2.4/site-packages/OpenIPMI.py ?
4 Summary: IPMI abstraction layer
5 Summary(pl): Warstwa abstrakcji IPMI
9 License: LGPL (library), GPL (ipmicmd)
11 Source0: http://dl.sourceforge.net/openipmi/%{name}-%{version}.tar.gz
12 # Source0-md5: b5474114ff84a872c5075744201bc4f0
13 Patch0: %{name}-link.patch
14 URL: http://openipmi.sourceforge.net/
15 BuildRequires: autoconf
16 BuildRequires: automake
17 BuildRequires: gcc >= 5:3.2
18 BuildRequires: gdbm-devel
19 BuildRequires: glib2-devel >= 2.0
20 BuildRequires: libtool >= 1:1.4.2-9
21 BuildRequires: ncurses-devel
22 BuildRequires: net-snmp-devel
23 BuildRequires: perl-devel
24 BuildRequires: pkgconfig
25 BuildRequires: popt-devel
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 OpenIPMI project aims to develop an open code base to allow access to
31 platform information using Intelligent Platform Management Interface
35 Celem projektu OpenIPMI jest stworzenie otwartej podstawy kodu
36 pozwalaj±cego na dostêp do informacji o platformie pzy u¿yciu
37 interfejsu IPMI (Intelligent Platform Management Interface -
38 interfejsu inteligentnego zarz±dzania platform±)
41 Summary: Development part of OpenIPMI Toolkit libraries
42 Summary(pl): Programistyczna cze¶æ bibliotek OpenIPMI
43 Group: Development/Libraries
44 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}
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
108 rm -rf $RPM_BUILD_ROOT
110 %post -p /sbin/ldconfig
111 %postun -p /sbin/ldconfig
114 %defattr(644,root,root,755)
115 %doc ChangeLog FAQ README* TODO
116 %attr(755,root,root) %{_bindir}/*
117 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
118 %{_mandir}/man[178]/*
121 %defattr(644,root,root,755)
122 %attr(755,root,root) %{_libdir}/lib*.so
124 %{_includedir}/%{name}
125 %{_pkgconfigdir}/*.pc
128 %defattr(644,root,root,755)
131 %files -n perl-%{name}
132 %defattr(644,root,root,755)
133 %{perl_vendorarch}/OpenIPMI.pm
134 %dir %{perl_vendorarch}/auto/OpenIPMI
135 %attr(755,root,root) %{perl_vendorarch}/auto/OpenIPMI/OpenIPMI.so
137 %files -n python-%{name}
138 %defattr(644,root,root,755)
139 %attr(755,root,root) %{py_sitescriptdir}/*.so
140 %{py_sitescriptdir}/*.py[oc]