2024-01-05 20:52:25 +01:00
|
|
|
%define pkgver %(echo %version | tr _ -)
|
2024-01-05 20:52:26 +01:00
|
|
|
%define commit %(echo %version | cut -d. -f5)
|
2024-01-05 20:52:25 +01:00
|
|
|
Name: bluez-tools
|
2024-01-05 20:52:26 +01:00
|
|
|
Version: 0.2.0.20201025git.f653217
|
|
|
|
Release: 1mamba
|
2024-01-05 20:52:25 +01:00
|
|
|
Summary: A set of tools to manage bluetooth devices for linux
|
|
|
|
Group: Applications/Communication
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 20:52:26 +01:00
|
|
|
URL: https://code.google.com/archive/p/bluez-tools
|
|
|
|
Source: https://github.com/khvzak/bluez-tools.git/master@%{commit}/bluez-tools-%{version}.tar.bz2
|
2024-01-05 20:52:25 +01:00
|
|
|
Patch0: bluez-tools-0.1.38_662e-pin-option-and-ps3.patch
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libglib-devel
|
|
|
|
BuildRequires: libreadline-devel
|
2024-01-05 20:52:26 +01:00
|
|
|
BuildRequires: libtermcap-devel
|
2024-01-05 20:52:25 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 20:52:25 +01:00
|
|
|
Conflicts: bluez4-tools
|
|
|
|
Provides: bluez5-tools
|
2024-01-05 20:52:26 +01:00
|
|
|
Obsoletes: bluez5-tools < 0.2.0.20201025git.f653217
|
2024-01-05 20:52:25 +01:00
|
|
|
Requires: bluez5
|
2024-01-05 20:52:25 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
A set of tools to manage bluetooth devices for linux.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
2024-01-05 20:52:25 +01:00
|
|
|
%setup -q -n bluez-tools-%{pkgver}
|
2024-01-05 20:52:25 +01:00
|
|
|
#%patch0 -p1
|
2024-01-05 20:52:25 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-05 20:52:25 +01:00
|
|
|
./autogen.sh
|
2024-01-05 20:52:25 +01:00
|
|
|
%configure
|
2024-01-05 20:52:25 +01:00
|
|
|
%make LIBREADLINE="-lreadline -ltermcap"
|
2024-01-05 20:52:25 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/bt-adapter
|
|
|
|
%{_bindir}/bt-agent
|
|
|
|
%{_bindir}/bt-device
|
|
|
|
%{_bindir}/bt-network
|
|
|
|
%{_bindir}/bt-obex
|
|
|
|
%{_mandir}/man1/bt-adapter.1*
|
|
|
|
%{_mandir}/man1/bt-agent.1*
|
|
|
|
%{_mandir}/man1/bt-device.1*
|
|
|
|
%{_mandir}/man1/bt-network.1*
|
|
|
|
%{_mandir}/man1/bt-obex.1*
|
|
|
|
%doc AUTHORS COPYING
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 20:52:26 +01:00
|
|
|
* Tue Oct 17 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.0.20201025git.f653217-1mamba
|
|
|
|
- update to 0.2.0.20201025git.f653217
|
|
|
|
|
2024-01-05 20:52:25 +01:00
|
|
|
* Thu Sep 07 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.0.20161216git-2mamba
|
|
|
|
- rename from bluez5-tools to bluez-tools; obsolete bluez5-tools; conflict with bluez4-tools
|
|
|
|
|
|
|
|
* Fri Dec 16 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.0.20161216git-1mamba
|
|
|
|
- update to 0.2.0.20161216git
|
2024-01-05 20:52:25 +01:00
|
|
|
|
2024-01-05 20:52:25 +01:00
|
|
|
* Thu Dec 15 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.38_662e-4mamba
|
|
|
|
- rebuilt with fix: bt-obex: symbol lookup error: /usr/lib/libreadline.so.6: undefined symbol: UP
|
|
|
|
|
2024-01-05 20:52:25 +01:00
|
|
|
* Tue Nov 19 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.38_662e-3mamba
|
|
|
|
- require obex-client
|
|
|
|
|
|
|
|
* Wed Nov 06 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.38_662e-2mamba
|
|
|
|
- added patch from openelec to add bt-device -p option to pass pin from cmdline (patch also adds some ps3 support)
|
|
|
|
(http://openelec.tv/forum/104-bluetooth-remotes/24473-ps3-remote-controller-in-openelec-alternate-solutions)
|
|
|
|
- require obexd
|
|
|
|
- fixed group
|
|
|
|
|
|
|
|
* Thu Oct 31 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.38_662e-1mamba
|
|
|
|
- package created by silvan using the webbuild interface
|