From 5cd6123b4d116704bd7d3f4d1f7e36fb784519ec90f848db20b7b3465cffc972 Mon Sep 17 00:00:00 2001 From: Thomas Renninger Date: Mon, 19 Mar 2012 10:56:23 +0000 Subject: [PATCH] - Adjust .spec file via format_spec_file OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/freeipmi?expand=0&rev=3 --- freeipmi.changes | 5 ++ freeipmi.spec | 125 +++++++++++++++++------------------------------ 2 files changed, 50 insertions(+), 80 deletions(-) diff --git a/freeipmi.changes b/freeipmi.changes index 589e63a..795073a 100644 --- a/freeipmi.changes +++ b/freeipmi.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Mar 19 10:14:02 UTC 2012 - trenn@suse.de + +- Adjust .spec file via format_spec_file + ------------------------------------------------------------------- Tue Mar 6 16:11:04 UTC 2012 - trenn@suse.de diff --git a/freeipmi.spec b/freeipmi.spec index b0973dd..d6fb08b 100644 --- a/freeipmi.spec +++ b/freeipmi.spec @@ -1,6 +1,21 @@ # +# spec file for package freeipmi +# +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2003-2008 FreeIPMI Core Team # +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + %define name freeipmi %define version 1.1.2 @@ -10,62 +25,66 @@ %define release 1%{?dist} %endif -Name: %{name} -Version: %{version} -Release: %{release} -License: GPL-3.0+ -Group: Applications/System -URL: http://www.gnu.org/software/freeipmi/ -Source: ftp://ftp.zresearch.com/pub/freeipmi/%{version}/%{name}-%{version}.tar.bz2 -Patch1: add_default_start.patch +Name: %{name} +Version: %{version} +Release: %{release} +License: GPL-3.0+ +Group: Applications/System +Url: http://www.gnu.org/software/freeipmi/ +Source: ftp://ftp.zresearch.com/pub/freeipmi/%{version}/%{name}-%{version}.tar.bz2 +Patch1: add_default_start.patch %if 0%{?suse_version} -Patch2: adapt_to_suse_docdir.patch +Patch2: adapt_to_suse_docdir.patch %endif -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: libgcrypt-devel texinfo automake libtool pkg-config +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: automake libgcrypt-devel libtool pkg-config texinfo Requires(post): info Requires(preun): info -Obsoletes: freeipmi-ipmimonitoring +Obsoletes: freeipmi-ipmimonitoring # Necessary as only those archs implement iopl and friends (#368541) -ExclusiveArch: %{ix86} x86_64 ia64 alpha -Summary: FreeIPMI +ExclusiveArch: %{ix86} x86_64 ia64 alpha +Summary: FreeIPMI + %description This project provides "Remote-Console" (out-of-band) and "System Management Software" (in-band) based on Intelligent Platform Management Interface specification. %package devel -Summary: Development package for FreeIPMI -Group: Development/System -Requires: freeipmi = %{version}-%{release} +Summary: Development package for FreeIPMI +Group: Development/System +Requires: freeipmi = %{version}-%{release} + %description devel Development package for FreeIPMI. This package includes the FreeIPMI header files and static libraries. %package bmc-watchdog -Summary: FreeIPMI BMC watchdog -Group: Applications/System +Summary: FreeIPMI BMC watchdog +Group: Applications/System %if 0%{?suse_version} -PreReq: %fillup_prereq +PreReq: %fillup_prereq %endif -Requires: freeipmi = %{version}-%{release} +Requires: freeipmi = %{version}-%{release} %if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version} || 0%{?fedora} || 0%{?rhel} Requires(post): chkconfig Requires(preun): chkconfig %endif -Requires: logrotate +Requires: logrotate + %description bmc-watchdog Provides a watchdog daemon for OS monitoring and recovery. %package ipmidetectd -Summary: IPMI node detection monitoring daemon -Group: Applications/System -Requires: freeipmi = %{version}-%{release} +Summary: IPMI node detection monitoring daemon +Group: Applications/System +Requires: freeipmi = %{version}-%{release} %if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version} || 0%{?fedora} || 0%{?rhel} Requires(post): chkconfig Requires(preun): chkconfig %endif + %description ipmidetectd This service detects and monitors IPMI nodes. @@ -356,7 +375,7 @@ fi %dir %{_includedir}/freeipmi/spec %dir %{_includedir}/freeipmi/templates %dir %{_includedir}/freeipmi/util - + %{_includedir}/ipmiconsole.h %{_includedir}/ipmidetect.h %{_includedir}/ipmi_monitoring.h @@ -408,57 +427,3 @@ fi %{_mandir}/man8/ipmidetectd.8* %changelog -* Mon Apr 7 2008 Albert Chu 0.6.0 -- Add freeipmi.7 and libfreeipmi.3 manpage. - -* Wed Apr 2 2008 Albert Chu 0.6.0 -- Add freeipmi-bugs-and-workarounds.txt. - -* Tue Mar 27 2008 Albert Chu 0.6.0 -- Add ipmi-oem tool and manpage. - -* Mon Feb 18 2008 Albert Chu 0.6.0 -- Add ipmi-sensors-config tool and manpage. - -* Wed Jan 9 2008 Albert Chu 0.6.0 -- Obsolete old subpackage freeipmi-ipmimonitoring. - -* Tue Dec 18 2007 Albert Chu 0.6.0 -- Use %{version} instead of 0.6.4 for substitution in paths. - -* Fri Dec 14 2007 Albert Chu 0.6.0 -- Update packaging for libfreeipmi reorganization - -* Wed Nov 19 2007 Albert Chu 0.5.0 -- Remove ipmimonitoring subpackage. Merge into head package. - -* Wed Nov 19 2007 Phil Knirsch 0.5.0 -- More fixes for Fedora Review: - o Added ExclusiveArch due to missing lopl (#368541) -- Several fixes due to Fedora package review: - o Fixed Group for all subpackages - o Added missng Requires(Post|Preun) for several packages - o Removed static libraries and .la files - o Fixed open bug (missing mode for O_CREATE) - o Fixed incorrect options for bmc-watchdog daemon -- Specfile cleanup for Fedora inclusion -- Fixed several rpmlint warnings and errors: - o Moved all devel libs to proper package - -* Wed Aug 01 2007 Troy Telford 0.4.0 -- Some package cleanup so it builds on SLES - -* Wed Jun 13 2007 Phil Knirsch 0.4.beta0-1 -- Some package cleanup and split of configuration and initscript - -* Fri Feb 28 2007 Albert Chu 0.4.beta0-1 -- Add ipmidetectd subpackage. - -* Fri Feb 16 2007 Albert Chu 0.4.beta0-1 -- Add ipmimonitoring subpackage. - -* Sun Jul 30 2006 Albert Chu 0.3.beta0-1 -- Re-architect for 0.3.X - -* Mon May 15 2006 Albert Chu 0.3.beta0-1 -- Fixed up spec file to pass rpmlint