!3 更新 pi-bluetooth 版本为 0.1.15,source0 改为链接
From: @woqidaideshi Reviewed-by: @jianminw Signed-off-by:
This commit is contained in:
commit
df434a2d4e
@ -1,32 +0,0 @@
|
||||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: pi-bluetooth
|
||||
Source: https://github.com/RPi-Distro/pi-bluetooth
|
||||
|
||||
Files: *
|
||||
Copyright: 2016 Raspberry Pi (Trading) Ltd.
|
||||
License: BSD-3-Clause
|
||||
|
||||
License: BSD-3-Clause
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions
|
||||
are met:
|
||||
1. Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
2. Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
3. Neither the name of the University nor the names of its contributors
|
||||
may be used to endorse or promote products derived from this software
|
||||
without specific prior written permission.
|
||||
.
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE HOLDERS OR
|
||||
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
||||
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
BIN
pi-bluetooth-1f8d16200050b59ff9b859ee7565cdf7b08053bb.tar.gz
Normal file
BIN
pi-bluetooth-1f8d16200050b59ff9b859ee7565cdf7b08053bb.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
@ -2,10 +2,11 @@
|
||||
%global _rules_path /lib/udev/rules.d
|
||||
%global _systemd_path /lib/systemd/system
|
||||
%global _license_path /usr/share/licenses/raspi
|
||||
%global commitid 1f8d16200050b59ff9b859ee7565cdf7b08053bb
|
||||
%global debug_package %{nil}
|
||||
|
||||
Name: raspberrypi-bluetooth
|
||||
Version: 20200729
|
||||
Version: 20200904
|
||||
Release: 2
|
||||
Summary: bluetooth files used for RaspberryPi
|
||||
License: BSD-3-Clause
|
||||
@ -14,26 +15,25 @@ ExclusiveArch: aarch64
|
||||
Provides: raspberrypi-bluetooth = %{version}-%{release}
|
||||
|
||||
URL: https://github.com/RPi-Distro/pi-bluetooth
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
Source1: LICENCE.pi-bluetooth
|
||||
|
||||
%prep
|
||||
%setup -q -c
|
||||
Source0: https://github.com/RPi-Distro/pi-bluetooth/archive/%{commitid}/pi-bluetooth-%{commitid}.tar.gz
|
||||
|
||||
%description
|
||||
This package contains executable files of bluetooth required by some RaspberryPi devices.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version} -c
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_bin_path}
|
||||
mkdir -p %{buildroot}%{_rules_path}
|
||||
mkdir -p %{buildroot}%{_systemd_path}
|
||||
mkdir -p %{buildroot}%{_license_path}
|
||||
install -p -m 644 %{_sourcedir}/LICENCE.* %{buildroot}%{_license_path}/
|
||||
cd %{name}-%{version}
|
||||
cd pi-bluetooth-%{commitid}
|
||||
install -p -m 755 usr/bin/* %{buildroot}%{_bin_path}/
|
||||
install -p -m 644 lib/udev/rules.d/90-pi-bluetooth.rules %{buildroot}%{_rules_path}/
|
||||
install -p -m 644 debian/pi-bluetooth.bthelper\@.service %{buildroot}%{_systemd_path}/bthelper\@.service
|
||||
install -p -m 644 debian/pi-bluetooth.hciuart.service %{buildroot}%{_systemd_path}/hciuart.service
|
||||
install -p -m 644 debian/copyright %{buildroot}%{_license_path}/LICENSE.pi-bluetooth
|
||||
|
||||
cd -
|
||||
|
||||
@ -47,7 +47,13 @@ cd -
|
||||
%{_systemd_path}/*
|
||||
|
||||
%changelog
|
||||
* Mon 31 Aug 2020 Yafen Fang<yafen@iscas.ac.cn> - 20200729-2
|
||||
* Wed Sep 16 2020 Yafen Fang<yafen@iscas.ac.cn> - 20200904-2
|
||||
- Change source0's name.
|
||||
|
||||
* Fri Sep 4 2020 Yafen Fang<yafen@iscas.ac.cn> - 20200904-1
|
||||
- Update pi-bluetooth version to 0.1.15 release.
|
||||
|
||||
* Mon Aug 31 2020 Yafen Fang<yafen@iscas.ac.cn> - 20200729-2
|
||||
- Add source url in spec.
|
||||
|
||||
* Wed Jul 29 2020 Yafen Fang<yafen@iscas.ac.cn> - 20200729-1
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: RPi-Distro/pi-bluetooth
|
||||
tag_prefix: "^v"
|
||||
seperator: "."
|
||||
tag_prefix: ^
|
||||
seperator: .
|
||||
Loading…
x
Reference in New Issue
Block a user