update license to new format OBS-URL: https://build.opensuse.org/request/show/157047 OBS-URL: https://build.opensuse.org/package/show/Base:System/bluez-firmware?expand=0&rev=8
68 lines
2.2 KiB
RPMSpec
68 lines
2.2 KiB
RPMSpec
#
|
|
# spec file for package bluez-firmware
|
|
#
|
|
# Copyright (c) 2013 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/
|
|
#
|
|
|
|
|
|
Name: bluez-firmware
|
|
Url: http://bluez.sourceforge.net
|
|
Version: 1.2
|
|
Release: 0
|
|
Summary: Bluetooth(TM) Firmware
|
|
License: GPL-2.0+ and GPL-2.0 and SUSE-Firmware
|
|
Group: Hardware/Mobile
|
|
Source: http://bluez.sf.net/download/%{name}-%{version}.tar.gz
|
|
Source1: bfusb.tar.bz2
|
|
BuildRequires: automake
|
|
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.
|
|
|
|
%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
|