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: 51195f28b2afa3eb0e88f8da12c6c8d6
10 Patch0: %{name}-link.patch
11 URL: http://openipmi.sourceforge.net/
12 BuildRequires: autoconf
13 BuildRequires: automake
14 BuildRequires: glib2-devel >= 2.0
15 BuildRequires: libtool >= 1:1.4.2-9
16 BuildRequires: ncurses-devel
17 BuildRequires: net-snmp-devel
18 BuildRequires: perl-devel
19 BuildRequires: pkgconfig
20 BuildRequires: popt-devel
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 OpenIPMI project aims to develop an open code base to allow access to
25 platform information using Intelligent Platform Management Interface
29 Celem projektu OpenIPMI jest stworzenie otwartej podstawy kodu
30 pozwalaj±cego na dostêp do informacji o platformie pzy u¿yciu
31 interfejsu IPMI (Intelligent Platform Management Interface -
32 interfejsu inteligentnego zarz±dzania platform±)
35 Summary: Development part of OpenIPMI Toolkit libraries
36 Summary(pl): Programistyczna cze¶æ bibliotek OpenIPMI
37 Group: Development/Libraries
38 Requires: %{name} = %{version}-%{release}
41 Development part of OpenIPMI libraries.
43 %description devel -l pl
44 Programistyczna cze¶æ bibliotek OpenIPMI.
47 Summary: Static OpenIPMI libraries
48 Summary(pl): Statyczne biblioteki OpenIPMI
49 Group: Development/Libraries
50 Requires: %{name}-devel = %{version}-%{release}
53 Static OpenIPMI Toolkit libraries.
55 %description static -l pl
56 Statyczne biblioteki OpenIPMI.
58 %package -n perl-%{name}
59 Summary: Perl interface to OpenIPMI
60 Summary(pl): Perlowy interfejs do OpenIPMI
61 Group: Development/Languages/Perl
62 Requires: %{name} = %{version}-%{release}
64 %description -n perl-%{name}
65 Perl interface to OpenIPMI.
67 %description -n perl-%{name} -l pl
68 Perlowy interfejs do OpenIPMI.
79 CPPFLAGS="-I/usr/include/ncurses"
84 rm -rf $RPM_BUILD_ROOT
87 DESTDIR=$RPM_BUILD_ROOT
90 rm -rf $RPM_BUILD_ROOT
92 %post -p /sbin/ldconfig
93 %postun -p /sbin/ldconfig
96 %defattr(644,root,root,755)
97 %doc ChangeLog FAQ README* TODO
98 %attr(755,root,root) %{_bindir}/*
99 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
100 %{_mandir}/man[178]/*
103 %defattr(644,root,root,755)
104 %attr(755,root,root) %{_libdir}/lib*.so
106 %{_includedir}/%{name}
107 %{_pkgconfigdir}/*.pc
110 %defattr(644,root,root,755)
113 %files -n perl-%{name}
114 %defattr(644,root,root,755)
115 %{perl_vendorarch}/OpenIPMI.pm
116 %dir %{perl_vendorarch}/auto/OpenIPMI
117 %attr(755,root,root) %{perl_vendorarch}/auto/OpenIPMI/OpenIPMI.so