bluez-firmware/bluez-firmware.spec

101 lines
3.1 KiB
RPMSpec

#
# spec file for package bluez-firmware (Version 1.2)
#
# 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: bluez-firmware
Url: http://bluez.sourceforge.net
Version: 1.2
Release: 125
Summary: Bluetooth(TM) Firmware
License: GPL v2 or later; GPLv2 and redistributable unmodifiable binary firmware
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