File bluez-firmware.spec of Package bluez-firmware

#
# spec file for package bluez-firmware (Version 1.2)
#
# 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:           bluez-firmware
URL:            http://bluez.sourceforge.net
Version:        1.2
Release:        28
Summary:        Bluetooth(TM) Firmware
License:        GNU General Public License (GPL)
Group:          Hardware/Mobile
Autoreqprov:    on
Source:         http://bluez.sf.net/download/%{name}-%{version}.tar.gz
Source1:        bfusb.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Obsoletes:      bluez-bluefw
# Modules: bcm203x.ko bfusb.ko
Supplements: modalias(usb:v057Cp2200d*dc*dsc*dp*ic*isc*ip*)
Supplements: modalias(usb:v0A5Cp2033d*dc*dsc*dp*ic*isc*ip*)
# Generated with: extract-modaliases -i bcm203x -i bfusb kernel-default.rpm

%description
Bluetooth(TM) Firmware. Package contains firmware images for some
   Bluetooth(TM) adapters. Currently supported are: * Broadcom
   Corporation BCM2033

* AVM Computersysteme Vertriebs GmbH BLUEFRITZ! USB

The BLUETOOTH trademarks are owned by Bluetooth SIG, Inc., USA.



Authors:
--------
    Max Krasnyansky <maxk@qualcomm.com>
    Marcel Holtmann <marcel@holtmann.org>

%prep
%setup -b 1

%build
%{?suse_update_config:%{suse_update_config -f . }}
autoreconf -f
CFLAGS="$RPM_OPT_FLAGS" ./configure --mandir=%{_mandir}
make

%install
make DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} install
rm $RPM_BUILD_ROOT/lib/firmware/BCM-LEGAL.txt
install -D -m 644 ../bfusb/bfubase.frm $RPM_BUILD_ROOT/lib/firmware/bfubase.frm

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
/lib/firmware/*
%doc AUTHORS COPYING INSTALL ChangeLog NEWS README broadcom/BCM-LEGAL.txt

%changelog
* Sun Mar 18 2007 - ro@suse.de
- remove /lib/firmware directory from filelist (in filesystem)
* Thu Jul 06 2006 - seife@suse.de
- update to v1.2:
  * ver 1.2:
  Add ST Microelectronics firmware files.
  * ver 1.1:
  Add old Broadcom firmware files.
* Wed Mar 08 2006 - agruen@suse.de
- Add modalias tags (155357).
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Oct 05 2005 - dmueller@suse.de
- add norootforbuild
* Thu Sep 30 2004 - kkeil@suse.de
- remove obsolete dependency on kernel-source
* Mon Aug 30 2004 - kkeil@suse.de
- update to bluez-firmware-1.0
* Sat Feb 07 2004 - kkeil@suse.de
- firmware.agent is now part of hotplug
* Thu Jan 29 2004 - ro@suse.de
- fix including kernel header
* Tue Aug 12 2003 - kkeil@suse.de
- first version
openSUSE Build Service is sponsored by