forked from pool/src_vipa
87 lines
2.5 KiB
RPMSpec
87 lines
2.5 KiB
RPMSpec
#
|
|
# spec file for package src_vipa (Version 2.0.3)
|
|
#
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
# This file and all modifications and additions to the pristine
|
|
# package are under the same license as the package itself.
|
|
#
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
Name: src_vipa
|
|
URL: http://www10.software.ibm.com/developerworks/opensource/linux390/useful_add-ons.shtml
|
|
Version: 2.0.3
|
|
Release: 37
|
|
Summary: Virtual Source IP address support for HA solutions
|
|
License: Other License(s), see package
|
|
Group: Productivity/Clustering/HA
|
|
Autoreqprov: on
|
|
Source: src_vipa-%version.tar.gz
|
|
Patch: src_vipa.makefile.patch
|
|
Patch1: src_vipa.build.patch
|
|
Patch2: src_vipa-ignore_ldconfig.patch
|
|
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
|
|
%setup -q -n %name
|
|
%patch
|
|
%patch1
|
|
%patch2
|
|
|
|
%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*
|
|
|
|
%changelog -n src_vipa
|
|
* Mon Feb 12 2007 - ro@suse.de
|
|
- fix build as non-root
|
|
* Fri Aug 25 2006 - aj@suse.de
|
|
- Fix build.
|
|
- Do not set LD_LIBRARY without need.
|
|
- Fix usage of uninitialized variable.
|
|
* Thu May 18 2006 - schwab@suse.de
|
|
- Use RPM_OPT_FLAGS.
|
|
- Fix building of shared library.
|
|
* Wed Jan 25 2006 - mls@suse.de
|
|
- converted neededforbuild to BuildRequires
|
|
* Tue Apr 12 2005 - ihno@suse.de
|
|
- update to 2.0.3 (code drop 2005-02-15)
|
|
* Thu Nov 11 2004 - ro@suse.de
|
|
- fixed file list
|
|
* Fri Nov 28 2003 - bk@suse.de
|
|
- update to 2.0.0 and added further glibc-2.3.2 compile fixes
|
|
* Tue Aug 12 2003 - ro@suse.de
|
|
- fix build on x86_64
|
|
* Wed Jun 25 2003 - ro@suse.de
|
|
- fix bind definition
|
|
* Mon Jul 22 2002 - bk@suse.de
|
|
- update to 1.0.1 which fixes a lib64 problem
|
|
* Fri Jul 19 2002 - bk@suse.de
|
|
- initial version
|