]> git.pld-linux.org Git - packages/OpenIPMI.git/blob - OpenIPMI.spec
- updated to 1.4.8, removed obsolete headers patch
[packages/OpenIPMI.git] / OpenIPMI.spec
1 Summary:        IPMI abstraction layer
2 Summary(pl):    Warstwa abstrakcji IPMI
3 Name:           OpenIPMI
4 Version:        1.4.8
5 Release:        1
6 License:        LGPL (library), GPL (ipmicmd)
7 Group:          Libraries
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)
22
23 %description
24 OpenIPMI project aims to develop an open code base to allow access to
25 platform information using Intelligent Platform Management Interface
26 (IPMI).
27
28 %description -l pl
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±)
33
34 %package devel
35 Summary:        Development part of OpenIPMI Toolkit libraries
36 Summary(pl):    Programistyczna cze¶æ bibliotek OpenIPMI
37 Group:          Development/Libraries
38 Requires:       %{name} = %{version}-%{release}
39
40 %description devel
41 Development part of OpenIPMI libraries.
42
43 %description devel -l pl
44 Programistyczna cze¶æ bibliotek OpenIPMI.
45
46 %package static
47 Summary:        Static OpenIPMI libraries
48 Summary(pl):    Statyczne biblioteki OpenIPMI
49 Group:          Development/Libraries
50 Requires:       %{name}-devel = %{version}-%{release}
51
52 %description static
53 Static OpenIPMI Toolkit libraries.
54
55 %description static -l pl
56 Statyczne biblioteki OpenIPMI.
57
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}
63
64 %description -n perl-%{name}
65 Perl interface to OpenIPMI.
66
67 %description -n perl-%{name} -l pl
68 Perlowy interfejs do OpenIPMI.
69
70 %prep
71 %setup -q
72 %patch0 -p1
73
74 %build
75 %{__libtoolize}
76 %{__aclocal}
77 %{__autoconf}
78 %{__automake}
79 CPPFLAGS="-I/usr/include/ncurses"
80 %configure
81 %{__make}
82
83 %install
84 rm -rf $RPM_BUILD_ROOT
85
86 %{__make} install \
87         DESTDIR=$RPM_BUILD_ROOT
88
89 %clean
90 rm -rf $RPM_BUILD_ROOT
91
92 %post   -p /sbin/ldconfig
93 %postun -p /sbin/ldconfig
94
95 %files
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]/*
101
102 %files devel
103 %defattr(644,root,root,755)
104 %attr(755,root,root) %{_libdir}/lib*.so
105 %{_libdir}/*.la
106 %{_includedir}/%{name}
107 %{_pkgconfigdir}/*.pc
108
109 %files static
110 %defattr(644,root,root,755)
111 %{_libdir}/lib*.a
112
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
This page took 0.077666 seconds and 4 git commands to generate.