diff options
Diffstat (limited to 'doc/ipmiutil.spec')
-rw-r--r-- | doc/ipmiutil.spec | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/doc/ipmiutil.spec b/doc/ipmiutil.spec index 245eb44..308289e 100644 --- a/doc/ipmiutil.spec +++ b/doc/ipmiutil.spec @@ -3,7 +3,7 @@ # Copyright (c) 2012 Andy Cress # Name: ipmiutil -Version: 2.9.4 +Version: 2.9.5 Release: 1%{?dist} Summary: Easy-to-use IPMI server management utilities License: BSD @@ -13,7 +13,7 @@ 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 @@ -30,7 +30,7 @@ BuildRequires: gcc gcc-c++ libtool systemd %define systemd_fls %{unit_dir} # Requires: %{?systemd_requires} %else -BuildRequires: gcc gcc-c++ libtool +BuildRequires: gcc gcc-c++ libtool %if 0%{?fedora} == 16 %define unit_dir /lib/systemd/system %else @@ -55,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 @@ -167,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} |