File spu-tools.spec of Package spu-tools

#
# spec file for package spu-tools (Version 2.3.0)
#
# 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:           spu-tools
Version:        2.3.0
Release:        2
Url:            http://sourceforge.net/projects/libspe
Summary:        User space tools for Cell/B.E.
License:        GPL v2 only
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  help2man ncurses-devel
Source:         %{name}-%{version}.tar.bz2
Group:          System/Management
# match Cell for package installation
Supplements:    modalias(platform:cbe-mic)
# match ps3flash for package installation
Supplements:    modalias(ps3:8)

%description
The spu-tools package contains user space tools for Cell/B.E.
   Currently, it contain two tools: - spu-top: a tool like top to
   watch the SPU's on a Cell BE System. It shows information about
   SPUs and running SPU contexts.

- spu-ps: a tool like ps, which dumps a report on the currently running
SPU contexts.



%prep
%setup -q

%build
make CFLAGS="$RPM_OPT_FLAGS" %{?jobs:-j%jobs}

%clean 
#rm -rf $RPM_BUILD_ROOT

%install
make DESTDIR=$RPM_BUILD_ROOT install

%files 
%defattr(-,root,root)
/usr/bin/spu-top
/usr/bin/spu-ps
%_mandir/man1/spu-top.1.gz
%_mandir/man1/spu-ps.1.gz

%changelog
* Wed Nov 05 2008 sassmann@suse.de
- add supplements statement to match Cell hardware for automatic
  package installation (bnc#430179)
* Thu Oct 23 2008 sassmann@suse.de
- update spu-tools to version 2.3.0 (bnc#438245)
* Wed Aug 20 2008 meissner@suse.de
- use rpm_opt_flags
* Tue Aug 05 2008 sassmann@suse.de
- add ncurses-devel BuildRequires
- remove Requires ncurses
* Wed Jul 23 2008 sassmann@suse.de
- intial release of package spu-tools (version 2.2.80)
openSUSE Build Service is sponsored by