]> git.pld-linux.org Git - packages/OpenIPMI.git/blame - OpenIPMI.spec
- initial pld release
[packages/OpenIPMI.git] / OpenIPMI.spec
CommitLineData
e25b096b
AM
1%include /usr/lib/rpm/macros.perl
2Summary: IPMI abstraction layer
3Name: OpenIPMI
4Version: 1.1.5
5Release: 1
6License: Apache-style License
7Group: Libraries
8Source0: http://dl.sourceforge.net/openipmi/%{name}-%{version}.tar.gz
9# Source0-md5: 133fc7a56b815c4f1b64bd790a0d0dc6
10URL: http://openipmi.sourceforge.net/
11BuildRequires: ncurses-devel
12BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14%description
15Open IPMI project aims to develop an open code base to allow access to
16platform information using Intelligent Platform Management Interface
17(IPMI).
18
19%package devel
20Summary: Development part of OpenIPMI Toolkit libraries
21Group: Development/Libraries
22Requires: %{name} = %{version}
23
24%description devel
25Development part of OpenIPMI library.
26
27%package static
28Summary: Static OpenIPMI libraries
29Group: Development/Libraries
30Requires: %{name}-devel = %{version}
31
32%description static
33Static 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}
46CPPFLAGS="-I%{_includedir}/ncurses";
47%configure
48%{__make}
49
50%install
51rm -rf $RPM_BUILD_ROOT
52
53%{__make} install \
54 DESTDIR=$RPM_BUILD_ROOT
55
56%clean
57rm -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.072527 seconds and 4 git commands to generate.