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: 03176ff27cdd3dbce6c0bab7ab4eb234
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
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 OpenIPMI project aims to develop an open code base to allow access to
28 platform information using Intelligent Platform Management Interface
32 Celem projektu OpenIPMI jest stworzenie otwartej podstawy kodu
33 pozwalaj±cego na dostêp do informacji o platformie pzy u¿yciu
34 interfejsu IPMI (Intelligent Platform Management Interface -
35 interfejsu inteligentnego zarz±dzania platform±)
38 Summary: Development part of OpenIPMI Toolkit libraries
39 Summary(pl): Programistyczna cze¶æ bibliotek OpenIPMI
40 Group: Development/Libraries
41 Requires: %{name} = %{version}-%{release}
44 Development part of OpenIPMI libraries.
46 %description devel -l pl
47 Programistyczna cze¶æ bibliotek OpenIPMI.
50 Summary: Static OpenIPMI libraries
51 Summary(pl): Statyczne biblioteki OpenIPMI
52 Group: Development/Libraries
53 Requires: %{name}-devel = %{version}-%{release}
56 Static OpenIPMI Toolkit libraries.
58 %description static -l pl
59 Statyczne biblioteki OpenIPMI.
61 %package -n perl-%{name}
62 Summary: Perl interface to OpenIPMI
63 Summary(pl): Perlowy interfejs do OpenIPMI
64 Group: Development/Languages/Perl
65 Requires: %{name} = %{version}-%{release}
67 %description -n perl-%{name}
68 Perl interface to OpenIPMI.
70 %description -n perl-%{name} -l pl
71 Perlowy interfejs do OpenIPMI.
82 CPPFLAGS="-I/usr/include/ncurses"
87 rm -rf $RPM_BUILD_ROOT
90 DESTDIR=$RPM_BUILD_ROOT
93 rm -rf $RPM_BUILD_ROOT
95 %post -p /sbin/ldconfig
96 %postun -p /sbin/ldconfig
99 %defattr(644,root,root,755)
100 %doc ChangeLog FAQ README* TODO
101 %attr(755,root,root) %{_bindir}/*
102 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
103 %{_mandir}/man[178]/*
106 %defattr(644,root,root,755)
107 %attr(755,root,root) %{_libdir}/lib*.so
109 %{_includedir}/%{name}
110 %{_pkgconfigdir}/*.pc
113 %defattr(644,root,root,755)
116 %files -n perl-%{name}
117 %defattr(644,root,root,755)
118 %{perl_vendorarch}/OpenIPMI.pm
119 %dir %{perl_vendorarch}/auto/OpenIPMI
120 %attr(755,root,root) %{perl_vendorarch}/auto/OpenIPMI/OpenIPMI.so