summaryrefslogtreecommitdiff
path: root/doc/ipmiutil.spec
diff options
context:
space:
mode:
Diffstat (limited to 'doc/ipmiutil.spec')
-rw-r--r--doc/ipmiutil.spec60
1 files changed, 39 insertions, 21 deletions
diff --git a/doc/ipmiutil.spec b/doc/ipmiutil.spec
index cd849f2..7cae79d 100644
--- a/doc/ipmiutil.spec
+++ b/doc/ipmiutil.spec
@@ -3,7 +3,7 @@
# Copyright (c) 2012 Andy Cress
#
Name: ipmiutil
-Version: 2.9.3
+Version: 2.9.6
Release: 1%{?dist}
Summary: Easy-to-use IPMI server management utilities
License: BSD
@@ -13,19 +13,24 @@ URL: http://ipmiutil.sourceforge.net
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
# Suggests: cron or vixie-cron or cronie or similar
%if 0%{?fedora} >= 15
-BuildRequires: systemd
+BuildRequires: systemd autoconf automake
Requires: systemd-units
%endif
%if 0%{?suse_version} >= 1210
%define req_systemd 1
%endif
+%if 0%{?sles_version} >= 10
+BuildRequires: libopenssl-devel
+%else
+BuildRequires: openssl-devel
+%endif
%if 0%{?req_systemd}
-BuildRequires: openssl-devel gcc gcc-c++ libtool systemd
+BuildRequires: gcc gcc-c++ libtool systemd
%define unit_dir %{_unitdir}
%define systemd_fls %{unit_dir}
# Requires: %{?systemd_requires}
%else
-BuildRequires: openssl-devel gcc gcc-c++ libtool
+BuildRequires: gcc gcc-c++ libtool
%if 0%{?fedora} == 16
%define unit_dir /lib/systemd/system
%else
@@ -50,12 +55,19 @@ detected, ipmiutil will use user-space direct I/Os instead.
%package devel
Group: Development/Libraries
Summary: Includes libraries and headers for the ipmiutil package
-Provides: ipmiutil-static = %{version}-%{release}
%description devel
The ipmiutil-devel package contains headers and libraries which are
useful for building custom IPMI applications.
+%package static
+Group: Development/Libraries
+Summary: Includes static libraries for the ipmiutil package
+
+%description static
+The ipmiutil-static package contains static libraries which are
+useful for building custom IPMI applications.
+
%prep
%setup -q
@@ -162,9 +174,11 @@ rm -rf %{buildroot}
%{_datadir}/%{name}/ievents.h
%{_datadir}/%{name}/Makefile
%{_includedir}/ipmicmd.h
-%{_libdir}/libipmiutil.a
%{_libdir}/libipmiutil.so
+%files static
+%defattr(-,root,root)
+%{_libdir}/libipmiutil.a
%pre
%if 0%{?req_systemd}
@@ -182,13 +196,13 @@ then
%if 0%{?req_systemd}
%service_add_post ipmi_port.service ipmiutil_evt.service ipmiutil_asy.service ipmiutil_wdt.service
%else
- if [ -x /bin/systemctl ]; then
+ if [ -x /bin/systemctl ] && [ -d %{unit_dir} ]; then
echo "IINITDIR=%{init_dir}" >>%{_datadir}/%{name}/ipmiutil.env
- cp -f ${scr_dir}/ipmiutil_evt.service %{unit_dir}
- cp -f ${scr_dir}/ipmiutil_asy.service %{unit_dir}
- cp -f ${scr_dir}/ipmiutil_wdt.service %{unit_dir}
- cp -f ${scr_dir}/ipmi_port.service %{unit_dir}
- # systemctl enable ipmi_port.service >/dev/null 2>&1 || :
+ cp -f ${scr_dir}/ipmiutil_evt.service %{unit_dir}
+ cp -f ${scr_dir}/ipmiutil_asy.service %{unit_dir}
+ cp -f ${scr_dir}/ipmiutil_wdt.service %{unit_dir}
+ cp -f ${scr_dir}/ipmi_port.service %{unit_dir}
+ # systemctl enable ipmi_port.service >/dev/null 2>&1 || :
else
cp -f ${scr_dir}/ipmiutil_wdt %{init_dir}
cp -f ${scr_dir}/ipmiutil_asy %{init_dir}
@@ -321,6 +335,10 @@ fi
%endif
%changelog
+* Mon Nov 03 2014 Andrew Cress <arcress at users.sourceforge.net> 2.9.5-1
+- separate libipmiutil.a into ipmiutil-static package
+* Thu Aug 28 2014 Andrew Cress <arcress at users.sourceforge.net> 2.9.4-1
+- Updated to ipmiutil-2.9.4
* Tue Aug 21 2012 Andrew Cress <arcress at users.sourceforge.net> 2.8.5-2
Added F18 systemd macros for RH bug #850163
* Fri May 04 2012 Andrew Cress <arcress at users.sourceforge.net> 2.8.4-1
@@ -367,18 +385,18 @@ fi
rpmlint tweaks for ipmiutil-1.9.8
* Mon May 21 2007 Andrew Cress <arcress at users.sourceforge.net>
added isroot flag for chroot cases
-* Mon May 18 2007 Andrew Cress <arcress at users.sourceforge.net>
+* Fri May 18 2007 Andrew Cress <arcress at users.sourceforge.net>
added ipmi_port init handling
* Mon Jul 10 2006 Andrew Cress <arcress at users.sourceforge.net>
changed to libfreeipmi.so.2, include and run ipmi_if.sh
* Tue Aug 02 2005 Andrew Cress <arcress at users.sourceforge.net>
changed not to run pefconfig if already configured
-* Wed Feb 03 2005 Andrew Cress <arcress at users.sourceforge.net>
+* Thu Feb 03 2005 Andrew Cress <arcress at users.sourceforge.net>
changed /usr/man to /usr/share/man,
fixed postun to recognize rpm -U via arg 1
* Mon Nov 1 2004 Andrew Cress <arcress at users.sourceforge.net>
added freeipmi install files and logic
-* Tue Aug 23 2004 Andrew Cress <arcress at users.sourceforge.net>
+* Mon Aug 23 2004 Andrew Cress <arcress at users.sourceforge.net>
- added MIB links to /usr/share/snmp/mibs
* Tue Aug 10 2004 Andrew Cress <arcress at users.sourceforge.net>
- added icmd utility to the rpm
@@ -388,7 +406,7 @@ fi
- added checksel cron job
* Tue Jan 28 2003 Andrew Cress <arcress at users.sourceforge.net>
- added sensor & fruconfig for ipmiutil 1.2.8
-* Tue Aug 2 2002 Andrew Cress <arcress at users.sourceforge.net>
+* Fri Aug 2 2002 Andrew Cress <arcress at users.sourceforge.net>
- fixed bug 793 (dont need Require:ipmidrvr) for ipmiutil 1.2.2
* Tue Jul 2 2002 Andrew Cress <arcress at users.sourceforge.net>
- fixed bug 555 in showsel for ipmiutil 1.2.1
@@ -402,15 +420,15 @@ fi
- updated for 1.1.3, added source rpm, changed license, etc.
* Thu Jan 31 2002 Andrew Cress <arcress at users.sourceforge.net>
- updated for 1.1.0-2, changed selpef to pefconfig
-* Thu Jan 25 2002 Andrew Cress <arcress at users.sourceforge.net>
+* Fri Jan 25 2002 Andrew Cress <arcress at users.sourceforge.net>
- updated for 1.1.0, changed to ipmidrvr rather than isc dependency
-* Thu Jan 16 2002 Andrew Cress <arcress at users.sourceforge.net>
+* Wed Jan 16 2002 Andrew Cress <arcress at users.sourceforge.net>
- updated for 1.1.0, added hwreset utility
-* Thu Dec 14 2001 Andrew Cress <arcress at users.sourceforge.net>
+* Fri Dec 14 2001 Andrew Cress <arcress at users.sourceforge.net>
- updated for 1.0.0, man page updates
-* Thu Nov 19 2001 Andrew Cress <arcress at users.sourceforge.net>
+* Mon Nov 19 2001 Andrew Cress <arcress at users.sourceforge.net>
- updated for 0.9.0, uses new OSS bmc_panic, so don't install module.
-* Thu Nov 13 2001 Andrew Cress <arcress at users.sourceforge.net>
+* Tue Nov 13 2001 Andrew Cress <arcress at users.sourceforge.net>
- updated for 0.8.5, add "Requires: isc" (#32), hide selpef output (#38)
* Thu Nov 8 2001 Andrew Cress <arcress at users.sourceforge.net>
- updated for 0.8.4, eliminate "file exists" messages by fixing removal