]> git.pld-linux.org Git - packages/OpenIPMI.git/blob - OpenIPMI.spec
- updated to 2.0.0, updated link patch
[packages/OpenIPMI.git] / OpenIPMI.spec
1 Summary:        IPMI abstraction layer
2 Summary(pl):    Warstwa abstrakcji IPMI
3 Name:           OpenIPMI
4 Version:        2.0.0
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:  03176ff27cdd3dbce6c0bab7ab4eb234
10 Patch0:         %{name}-link.patch
11 URL:            http://openipmi.sourceforge.net/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  gdbm-devel
15 BuildRequires:  glib2-devel >= 2.0
16 BuildRequires:  libtool >= 1:1.4.2-9
17 BuildRequires:  ncurses-devel
18 BuildRequires:  net-snmp-devel
19 BuildRequires:  perl-devel
20 BuildRequires:  pkgconfig
21 BuildRequires:  popt-devel
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 OpenIPMI project aims to develop an open code base to allow access to
26 platform information using Intelligent Platform Management Interface
27 (IPMI).
28
29 %description -l pl
30 Celem projektu OpenIPMI jest stworzenie otwartej podstawy kodu
31 pozwalaj±cego na dostêp do informacji o platformie pzy u¿yciu
32 interfejsu IPMI (Intelligent Platform Management Interface -
33 interfejsu inteligentnego zarz±dzania platform±)
34
35 %package devel
36 Summary:        Development part of OpenIPMI Toolkit libraries
37 Summary(pl):    Programistyczna cze¶æ bibliotek OpenIPMI
38 Group:          Development/Libraries
39 Requires:       %{name} = %{version}-%{release}
40
41 %description devel
42 Development part of OpenIPMI libraries.
43
44 %description devel -l pl
45 Programistyczna cze¶æ bibliotek OpenIPMI.
46
47 %package static
48 Summary:        Static OpenIPMI libraries
49 Summary(pl):    Statyczne biblioteki OpenIPMI
50 Group:          Development/Libraries
51 Requires:       %{name}-devel = %{version}-%{release}
52
53 %description static
54 Static OpenIPMI Toolkit libraries.
55
56 %description static -l pl
57 Statyczne biblioteki OpenIPMI.
58
59 %package -n perl-%{name}
60 Summary:        Perl interface to OpenIPMI
61 Summary(pl):    Perlowy interfejs do OpenIPMI
62 Group:          Development/Languages/Perl
63 Requires:       %{name} = %{version}-%{release}
64
65 %description -n perl-%{name}
66 Perl interface to OpenIPMI.
67
68 %description -n perl-%{name} -l pl
69 Perlowy interfejs do OpenIPMI.
70
71 %prep
72 %setup -q
73 %patch0 -p1
74
75 %build
76 %{__libtoolize}
77 %{__aclocal}
78 %{__autoconf}
79 %{__automake}
80 CPPFLAGS="-I/usr/include/ncurses"
81 %configure
82 %{__make}
83
84 %install
85 rm -rf $RPM_BUILD_ROOT
86
87 %{__make} install \
88         DESTDIR=$RPM_BUILD_ROOT
89
90 %clean
91 rm -rf $RPM_BUILD_ROOT
92
93 %post   -p /sbin/ldconfig
94 %postun -p /sbin/ldconfig
95
96 %files
97 %defattr(644,root,root,755)
98 %doc ChangeLog FAQ README* TODO
99 %attr(755,root,root) %{_bindir}/*
100 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
101 %{_mandir}/man[178]/*
102
103 %files devel
104 %defattr(644,root,root,755)
105 %attr(755,root,root) %{_libdir}/lib*.so
106 %{_libdir}/*.la
107 %{_includedir}/%{name}
108 %{_pkgconfigdir}/*.pc
109
110 %files static
111 %defattr(644,root,root,755)
112 %{_libdir}/lib*.a
113
114 %files -n perl-%{name}
115 %defattr(644,root,root,755)
116 %{perl_vendorarch}/OpenIPMI.pm
117 %dir %{perl_vendorarch}/auto/OpenIPMI
118 %attr(755,root,root) %{perl_vendorarch}/auto/OpenIPMI/OpenIPMI.so
This page took 0.035949 seconds and 4 git commands to generate.