File snipl.spec of Package snipl

# spec file for package snipl (Version
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# 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

# norootforbuild

Name:           snipl
Group:          System/Management
License:        IBM Public License
BuildRequires:  glib2-devel heartbeat-devel libnet
ExclusiveArch:  s390 s390x
AutoReqProv:    on
Release:        5
Summary:        Simple Network IPL
Source:         %name-%{version}.tar.bz2
Source1:        hwmcaapi-2.10.1-76.s390x.rpm
Source2:        hwmcaapi-devel-2.10.1-76.s390x.rpm
Source3:        dmsvsma.x
Source4:        SUSE_NonWarranted_hwmcaapi_tool_License-2007-04-21.txt
Patch1:         snipl-
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

snIPL - simple network IPL (Linux Image Control for LPAR / VM) - is a
command line tool which serves as remote linux image control using
basic Support Element (SE) functions or basic z/VM system management
functions (available since z/VM 4.4) on one or more images.


cp -p %SOURCE3 %SOURCE4 .
mkdir hwmcaapi
cd hwmcaapi
rpm2cpio %SOURCE1 | cpio -id
rpm2cpio %SOURCE2 | cpio -id


mkdir -p $RPM_BUILD_ROOT/%_libdir
cp -a $RPM_BUILD_ROOT/%_libdir
cp -a hwmcaapi/%_libdir/*.so* $RPM_BUILD_ROOT/%_libdir
make install PREFIX=$RPM_BUILD_ROOT/usr LIB_STRING=%_lib
rm -f $RPM_BUILD_ROOT/%_libdir/stonith/plugins/stonith2/*.la
rm -f $RPM_BUILD_ROOT/%_libdir/stonith/plugins/stonith2/*.a


%doc LICENSE README.snipl SUSE_NonWarranted_hwmcaapi_tool_License-2007-04-21.txt
%doc %_mandir/man8/snipl.8.gz

* Thu May 14 2009
- added missing license file (bnc#498414)
* Tue Feb 17 2009
- update snipl ->, hwmcaapi -> 2.10.1-76 (bnc#467547)
  - snipl stonith plugin: ignore some vmsmapi command reply complains - not
  returning an error code for them to stonith.
* Mon Dec 08 2008
- fixed BuildRequires (heartbeat-common-devel -> heartbeat-devel)
* Wed Oct 15 2008
- activate ExclusiveArch
* Wed Sep 10 2008
- update -> (bug #420370)
  - correct configuration data handling for LPARs to allow proper password
  - correct newline handling when sending operating system commands in LPAR
  - enhance fencing availability for stonith HA by allowing different
  image-servers for an image in a snipl configuration
* Thu Aug 07 2008
- add exclusivearch to specfile
* Mon Feb 19 2007
- update -> (fixes memleaks)
* Wed Feb 07 2007
- added missing libs (,
* Tue Jan 23 2007
- update -> (includes heartbeat 2 plugin)
  (update from Fate#301623)
* Wed Oct 11 2006
- intitial package (Fate#301623)
openSUSE Build Service is sponsored by