File rds-tools.spec of Package rds-tools

#
# spec file for package rds-tools (Version 1.2)
#
# Copyright (c) 2008 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 http://bugs.opensuse.org/
#

# norootforbuild


Name:           rds-tools
Summary:        RDS Support Tools
Version:        1.2
Release:        3
License:        BSD 3-Clause; GPL v2 only
Group:          System/Console
Url:            http://www.openfabrics.org
Source:         %{name}-%{version}-2.tar.bz2
Patch0:         rds-tools-external_cflags.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
ExcludeArch:    s390 s390x

%description
A collection of support tools for the RDS socket API.



%prep
%setup -q -n %{name}-%{version}-2
%patch

%build
export CFLAGS=$RPM_OPT_FLAGS
autoconf
%configure
make

%install
for i in rds-gen rds-sink rds-info rds-stress; do
install -m 755 -D $i $RPM_BUILD_ROOT/%{_bindir}/$i
done
for i in rds-info.1 rds-gen.1 rds-sink.1 rds-stress.1; do
install -m 644 -D $i $RPM_BUILD_ROOT/%{_mandir}/man1/$i
done

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%{_bindir}/*
%{_mandir}/man1/*

%changelog
* Tue Oct 28 2008 jjolly@suse.de
- Updated to version from OFED 1.4 rc3 (although there is likely
  no change, I will take no chances with OFED)
- Added ExcludeArch: s390 s390x
* Fri Sep 12 2008 jjolly@suse.de
- Updated to v1.2-2 from OFED 1.4 RC1
* Tue Aug 21 2007 hvogel@suse.de
- Update to version from OFED 1.2.5
* Fri Jul 06 2007 hvogel@suse.de
- Initial Package, Version 1.0
openSUSE Build Service is sponsored by