File ps3-utils.spec of Package ps3-utils

#
# spec file for package ps3-utils (Version 2.3)
#
# 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:           ps3-utils
Version:        2.3
Release:        1
Url:            http://www.kernel.org/pub/linux/kernel/people/geoff/cell/ps3-utils/
Summary:        Playstation 3 utilities
License:        GPL v2 only
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source0:        %{name}-%{version}.tar.bz2
Group:          Productivity/Other
ExclusiveArch:  ppc ppc64
# match ps3flash for package installation
Supplements:    modalias(ps3:8)

%description
PS3 kernel utilities. Containing ps3-video-mode ps3-boot-game-os
ps3-dump-bootloader ps3-flash-util ps3-rtc-init.



Authors:
--------
    geoffrey.levand@am.sony.com

%package -n ps3-utils-devel
License:        GPL v2 only
Requires:       %{name} = %{version}
Summary:        Playstation 3 utilities
Group:          Productivity/Other

%description -n ps3-utils-devel
PS3 kernel utilities. Containing ps3-video-mode ps3-boot-game-os
ps3-dump-bootloader ps3-flash-util ps3-rtc-init.



Authors:
--------
    geoffrey.levand@am.sony.com

%prep
%setup -q

%build
%configure \
	--disable-static \
	--prefix=%{_prefix}
make %{?jobs:-j%jobs}

%clean 
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%install
make install DESTDIR=$RPM_BUILD_ROOT

%files 
%defattr(-,root,root)
/usr/bin/ps3-video-mode
/usr/sbin/ps3-*
%{_libdir}/*.so.*
%doc INSTALL COPYING
%_mandir/man8/ps3*.gz
%exclude %{_libdir}/*.la

%files -n %{name}-devel
%defattr(-,root,root)
/usr/include/*.h
%{_libdir}/*.so

%changelog
* Wed Nov 05 2008 sassmann@suse.de
- update to version 2.3
  * ps3-flash-util: add --db-test option
  * Build file cleanups
- add supplements statement to match PS3 hardware for automatic
  package installation (bnc#430179)
* Wed Oct 15 2008 ro@suse.de
- added ExclusiveArch
* Thu Mar 20 2008 sassmann@suse.de
- inital release of ps3-utils (version 2.2.0)
openSUSE Build Service is sponsored by