2007-01-16 00:37:58 +01:00
|
|
|
#
|
2008-09-25 01:17:34 +02:00
|
|
|
# spec file for package src_vipa (Version 2.0.4)
|
2007-01-16 00:37:58 +01:00
|
|
|
#
|
2009-06-18 00:26:20 +02:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:37:58 +01:00
|
|
|
#
|
2008-09-25 01:17:34 +02:00
|
|
|
# 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.
|
|
|
|
|
2007-01-16 00:37:58 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2007-02-12 01:48:09 +01:00
|
|
|
# norootforbuild
|
2007-01-16 00:37:58 +01:00
|
|
|
|
2008-09-25 01:17:34 +02:00
|
|
|
|
2007-01-16 00:37:58 +01:00
|
|
|
Name: src_vipa
|
2008-09-25 01:17:34 +02:00
|
|
|
Url: http://www10.software.ibm.com/developerworks/opensource/linux390/useful_add-ons.shtml
|
|
|
|
Version: 2.0.4
|
2009-11-16 16:35:49 +01:00
|
|
|
Release: 3
|
2007-01-16 00:37:58 +01:00
|
|
|
Summary: Virtual Source IP address support for HA solutions
|
2008-09-25 01:17:34 +02:00
|
|
|
License: Common Public License Version 1.0
|
2007-01-16 00:37:58 +01:00
|
|
|
Group: Productivity/Clustering/HA
|
2008-09-25 01:17:34 +02:00
|
|
|
AutoReqProv: on
|
|
|
|
Source: src_vipa-%version.tar.bz2
|
2007-02-12 01:48:09 +01:00
|
|
|
Patch2: src_vipa-ignore_ldconfig.patch
|
2007-01-16 00:37:58 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
This package provides very flexible means of source IP address
|
|
|
|
selection to arbitrary applications. This is particularly useful for
|
|
|
|
high availability setups, where the dummy device holds a "VIPA"
|
|
|
|
(virtual IP address). Please read the
|
|
|
|
/usr/share/doc/packages/src_vipa/README and the manpage of src_vipa for
|
|
|
|
further information.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2008-09-25 01:17:34 +02:00
|
|
|
%setup -q
|
|
|
|
# %patch
|
|
|
|
# %patch1
|
2007-02-12 01:48:09 +01:00
|
|
|
%patch2
|
2007-01-16 00:37:58 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
make SRC_VIPA_PATH=%_libdir
|
|
|
|
make CFLAGS="$RPM_OPT_FLAGS -Wall"
|
|
|
|
|
|
|
|
%install
|
|
|
|
make INSTROOT=%buildroot SRC_VIPA_PATH=%buildroot%_libdir install
|
|
|
|
#mkdir -p $RPM_BUILD_ROOT/{%{_sbindir},%{_mandir}/man8/}
|
|
|
|
#install vconfig $RPM_BUILD_ROOT/%{_sbindir}
|
|
|
|
#cp -p vconfig.8 $RPM_BUILD_ROOT%{_mandir}/man8/
|
|
|
|
#cp %SOURCE2 .
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(444,root,root,755)
|
|
|
|
%doc README LICENSE
|
|
|
|
%doc %{_mandir}/man8/*.8.gz
|
|
|
|
%attr(555,root,root) %_sbindir/*
|
|
|
|
%attr(555,root,root) %_libdir/src_vipa*
|
|
|
|
|
2008-09-25 01:17:34 +02:00
|
|
|
%changelog
|