]> git.pld-linux.org Git - packages/OpenIPMI.git/blob - OpenIPMI.spec
- initial pld release
[packages/OpenIPMI.git] / OpenIPMI.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        IPMI abstraction layer
3 Name:           OpenIPMI
4 Version:        1.1.5
5 Release:        1
6 License:        Apache-style License
7 Group:          Libraries
8 Source0:        http://dl.sourceforge.net/openipmi/%{name}-%{version}.tar.gz
9 # Source0-md5:  133fc7a56b815c4f1b64bd790a0d0dc6
10 URL:            http://openipmi.sourceforge.net/
11 BuildRequires:  ncurses-devel
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 Open IPMI project aims to develop an open code base to allow access to
16 platform information using Intelligent Platform Management Interface
17 (IPMI).
18
19 %package devel
20 Summary:        Development part of OpenIPMI Toolkit libraries
21 Group:          Development/Libraries
22 Requires:       %{name} = %{version}
23
24 %description devel
25 Development part of OpenIPMI library.
26
27 %package static
28 Summary:        Static OpenIPMI libraries
29 Group:          Development/Libraries
30 Requires:       %{name}-devel = %{version}
31
32 %description static
33 Static OpenIPMI Toolkit libraries.
34
35 # this is workaround only, to be removed in future
36 %define         no_install_post_strip   1
37
38 %prep
39 %setup -q
40
41 %build
42 %{__libtoolize}
43 %{__aclocal}
44 %{__autoconf}
45 %{__automake}
46 CPPFLAGS="-I%{_includedir}/ncurses";
47 %configure
48 %{__make}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52
53 %{__make} install \
54         DESTDIR=$RPM_BUILD_ROOT
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %post   -p /sbin/ldconfig
60 %postun -p /sbin/ldconfig
61
62 %files
63 %defattr(644,root,root,755)
64 %attr(755,root,root) %{_libdir}/lib*.so.*.*
65 %doc ChangeLog FAQ README* TODO
66 %attr(755,root,root) %{_bindir}/*
67 %{_infodir}/%{name}*
68 %{_mandir}/man?/*
69
70 %files devel
71 %defattr(644,root,root,755)
72 %attr(755,root,root) %{_libdir}/lib*.so
73 %{_libdir}/*.la
74 %{_includedir}/%{name}
75
76 %files static
77 %defattr(644,root,root,755)
78 %{_libdir}/lib*.a
This page took 0.041152 seconds and 4 git commands to generate.