]> git.pld-linux.org Git - packages/OpenIPMI.git/commitdiff
- initial pld release
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 6 Dec 2003 11:18:14 +0000 (11:18 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    OpenIPMI.spec -> 1.1

OpenIPMI.spec [new file with mode: 0644]

diff --git a/OpenIPMI.spec b/OpenIPMI.spec
new file mode 100644 (file)
index 0000000..98b3620
--- /dev/null
@@ -0,0 +1,78 @@
+%include       /usr/lib/rpm/macros.perl
+Summary:       IPMI abstraction layer
+Name:          OpenIPMI
+Version:       1.1.5
+Release:       1
+License:       Apache-style License
+Group:         Libraries
+Source0:       http://dl.sourceforge.net/openipmi/%{name}-%{version}.tar.gz
+# Source0-md5: 133fc7a56b815c4f1b64bd790a0d0dc6
+URL:           http://openipmi.sourceforge.net/
+BuildRequires: ncurses-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Open IPMI project aims to develop an open code base to allow access to
+platform information using Intelligent Platform Management Interface
+(IPMI).
+
+%package devel
+Summary:       Development part of OpenIPMI Toolkit libraries
+Group:         Development/Libraries
+Requires:      %{name} = %{version}
+
+%description devel
+Development part of OpenIPMI library.
+
+%package static
+Summary:       Static OpenIPMI libraries
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}
+
+%description static
+Static OpenIPMI Toolkit libraries.
+
+# this is workaround only, to be removed in future
+%define                no_install_post_strip   1
+
+%prep
+%setup -q
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+CPPFLAGS="-I%{_includedir}/ncurses";
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post   -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*.so.*.*
+%doc ChangeLog FAQ README* TODO
+%attr(755,root,root) %{_bindir}/*
+%{_infodir}/%{name}*
+%{_mandir}/man?/*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*.so
+%{_libdir}/*.la
+%{_includedir}/%{name}
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
This page took 0.111163 seconds and 4 git commands to generate.