File rds-tools.spec of Package rds-tools

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

# norootforbuild


Name:           rds-tools
Summary:        RDS Support Tools
Version:        1.4_1
Release:        2
License:        BSD 3-clause (or similar) ; GPL v2 only
Group:          System/Console
Url:            http://www.openfabrics.org
Source:         %{name}-1.4-1.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}-1.4-1
%patch0

%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
openSUSE Build Service is sponsored by