bluez/bluez.spec

390 lines
13 KiB
RPMSpec
Raw Permalink Normal View History

Name: bluez
Version: 5.50
Release: 2mamba
Summary: Userspace tools for the Bluetooth wireless library for Linux
Group: Applications/Communication
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.bluez.org
Source: http://www.kernel.org/pub/linux/bluetooth/bluez-%{version}.tar.gz
Patch0: bluez5-5.41-mode-43xx-firmware-into-lib-firmware.patch
Patch1: bluez5-5.41-bcm43xx-Add-bcm43xx-3wire-variant.patch
Patch2: bluez5-5.41-bcm43xx-The-UART-speed-must-be-reset-after-the-firmw.patch
Patch3: bluez5-5.41-Increase-firmware-load-timeout-to-30s.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libdbus-devel
BuildRequires: libglib-devel
BuildRequires: libical-devel
BuildRequires: libreadline-devel
BuildRequires: libtermcap-devel
BuildRequires: libudev-devel
## AUTOBUILDREQ-END
BuildRequires: flex
BuildRequires: bison
BuildRequires: libcap-ng-devel
BuildRequires: systemd-devel
Requires: bluez-firmware
Requires: libbluetooth = %{version}-%{release}
Conflicts: bluez4
Provides: bluez5
Obsoletes: bluez5
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Userspace tools for the Bluetooth wireless library for Linux.
%package -n libbluetooth
Group: System/Libraries
Summary: The Bluetooth wireless library for Linux
Conflicts: libbluetooth4
Provides: libbluetooth5
Obsoletes: libbluetooth5
Provides: libbluez
%description -n libbluetooth
The Bluetooth wireless library for Linux.
%package -n libbluetooth-devel
Group: Development/Libraries
Summary: Static libraries and headers for libbluetooth
Requires: libbluetooth = %{version}-%{release}
Conflicts: libbluetooth4-devel
Provides: libbluetooth5-devel
Obsoletes: libbluetooth5-devel
Provides: libbluez-devel
%description -n libbluetooth-devel
The Bluetooth wireless library for Linux.
This package contains static libraries and header files need for development.
%prep
%setup -q -n bluez-%{version}
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%build
%configure \
--libexecdir=/%{_lib} \
--enable-usb \
--enable-tools \
--enable-deprecated \
--enable-cups \
--enable-library \
LIBS="-ltermcap"
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall \
rulesdir=%{_sysconfdir}/udev/rules.d
for f in network input; do
install -D -m0644 profiles/$f/$f.conf %{buildroot}%{_sysconfdir}/bluetooth/$f.conf
done
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
# new install
#
# disable service by default as it is started by udev now
/sbin/chkconfig --del bluetooth 2>&1 &>/dev/null
%systemd_user_post obex
if [ $1 -gt 1 ]; then
# Enable on upgrade
systemctl --no-reload preset --global obex
fi
:
%preun
%systemd_user_preun obex
:
%post -n libbluetooth -p /sbin/ldconfig
%postun -n libbluetooth -p /sbin/ldconfig
%files
%defattr(-,root,root)
%config(noreplace) %{_sysconfdir}/bluetooth/*
%config %{_sysconfdir}/dbus-1/system.d/bluetooth.conf
%{_sysconfdir}/udev/rules.d/97-hid2hci.rules
%{_bindir}/*
/lib/udev/hid2hci
#/lib/udev/rules.d/97-hid2hci.rules
/%{_lib}/bluetooth/bluetoothd
/%{_lib}/bluetooth/obexd
/lib/systemd/system/bluetooth.service
%{_prefix}/lib/systemd/user/obex.service
%{_libdir}/cups/backend/bluetooth
%{_datadir}/dbus-1/services/org.bluez.obex.service
%{_datadir}/dbus-1/system-services/org.bluez.service
%{_mandir}/man1/*
%{_mandir}/man8/*
%files -n libbluetooth
%defattr(-,root,root)
%{_libdir}/libbluetooth.so.*
%doc AUTHORS COPYING
%files -n libbluetooth-devel
%defattr(-,root,root)
%dir %{_includedir}/bluetooth
%{_includedir}/bluetooth/*.h
%{_libdir}/libbluetooth.la
%{_libdir}/libbluetooth.so
%{_libdir}/pkgconfig/bluez.pc
%doc ChangeLog README
%changelog
* Wed Feb 20 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 5.50-2mamba
- enable systemd user obex service
* Sat Nov 10 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 5.50-1mamba
- update to 5.50
* Mon Nov 13 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 5.47-3mamba
- provide libbluez and libbluez-devel for legacy
* Sat Nov 04 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 5.47-2mamba
- renamed from bluez5 to bluez
* Fri Oct 06 2017 Automatic Build System <autodist@mambasoft.it> 5.47-1mamba
- automatic version update by autodist
* Thu Sep 07 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 5.46-2mamba
- rebuilt with tools
* Sun Jul 30 2017 Automatic Build System <autodist@mambasoft.it> 5.46-1mamba
- automatic version update by autodist
* Sat May 06 2017 Automatic Build System <autodist@mambasoft.it> 5.45-1mamba
- automatic version update by autodist
* Tue Feb 28 2017 Automatic Build System <autodist@mambasoft.it> 5.44-1mamba
- automatic version update by autodist
* Sat Oct 29 2016 Automatic Build System <autodist@mambasoft.it> 5.43-1mamba
- automatic version update by autodist
* Mon Sep 26 2016 Automatic Build System <autodist@mambasoft.it> 5.42-1mamba
- automatic version update by autodist
* Tue Jul 19 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 5.41-2mamba
- added patches for bcm43430 (rpi3)
- libbluetooth5: conflict with libbluetooth
* Mon Jul 18 2016 Automatic Build System <autodist@mambasoft.it> 5.41-1mamba
- automatic version update by autodist
* Sun Jun 05 2016 Automatic Build System <autodist@mambasoft.it> 5.40-1mamba
- automatic version update by autodist
* Tue Apr 05 2016 Automatic Build System <autodist@mambasoft.it> 5.39-1mamba
- automatic version update by autodist
* Fri Mar 18 2016 Automatic Build System <autodist@mambasoft.it> 5.38-1mamba
- automatic version update by autodist
* Sun Jan 03 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 5.37-2mamba
- renamed from bluez to bluez5; added conflict with bluez
* Mon Dec 28 2015 Automatic Build System <autodist@mambasoft.it> 5.37-1mamba
- automatic version update by autodist
* Thu Nov 05 2015 Automatic Build System <autodist@mambasoft.it> 5.36-1mamba
- automatic version update by autodist
* Mon Sep 28 2015 Automatic Build System <autodist@mambasoft.it> 5.35-1mamba
- automatic version update by autodist
* Fri Sep 04 2015 Automatic Build System <autodist@mambasoft.it> 5.34-1mamba
- automatic version update by autodist
* Tue Aug 18 2015 Automatic Build System <autodist@mambasoft.it> 5.33-1mamba
- automatic version update by autodist
* Sun Jun 29 2014 Automatic Build System <autodist@mambasoft.it> 5.20-1mamba
- automatic version update by autodist
* Sat May 24 2014 Automatic Build System <autodist@mambasoft.it> 5.19-1mamba
- automatic version update by autodist
* Mon Apr 21 2014 Automatic Build System <autodist@mambasoft.it> 5.18-1mamba
- automatic version update by autodist
* Fri Apr 04 2014 Automatic Build System <autodist@mambasoft.it> 5.17-1mamba
- automatic version update by autodist
* Tue Mar 11 2014 Automatic Build System <autodist@mambasoft.it> 5.16-1mamba
- automatic version update by autodist
* Sat Feb 22 2014 Automatic Build System <autodist@mambasoft.it> 5.15-1mamba
- automatic version update by autodist
* Sat Feb 01 2014 Automatic Build System <autodist@mambasoft.it> 5.14-1mamba
- automatic version update by autodist
* Sat Dec 28 2013 Automatic Build System <autodist@mambasoft.it> 5.13-1mamba
- automatic version update by autodist
* Wed Dec 11 2013 Automatic Build System <autodist@mambasoft.it> 5.12-1mamba
- automatic version update by autodist
* Fri Nov 22 2013 Automatic Build System <autodist@mambasoft.it> 5.11-1mamba
- automatic version update by autodist
* Thu Oct 17 2013 Automatic Build System <autodist@mambasoft.it> 5.10-1mamba
- automatic update by autodist
* Fri Sep 20 2013 Automatic Build System <autodist@mambasoft.it> 5.9-1mamba
- automatic version update by autodist
* Tue Aug 27 2013 Automatic Build System <autodist@mambasoft.it> 5.8-1mamba
- automatic update by autodist
* Thu Jul 04 2013 Automatic Build System <autodist@mambasoft.it> 5.7-1mamba
- automatic version update by autodist
* Sun Jun 23 2013 Automatic Build System <autodist@mambasoft.it> 5.6-1mamba
- automatic version update by autodist
* Tue May 28 2013 Automatic Build System <autodist@mambasoft.it> 5.5-1mamba
- automatic update by autodist
* Tue Apr 16 2013 Automatic Build System <autodist@mambasoft.it> 5.4-1mamba
- automatic version update by autodist
* Sat Mar 02 2013 Automatic Build System <autodist@mambasoft.it> 5.3-1mamba
- automatic version update by autodist
* Mon Jan 21 2013 Automatic Build System <autodist@mambasoft.it> 5.1-1mamba
- automatic version update by autodist
* Mon Aug 13 2012 Automatic Build System <autodist@mambasoft.it> 4.101-1mamba
- automatic version update by autodist
* Sun Jun 03 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 4.99-1mamba
- update to 4.99
* Thu Aug 18 2011 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 4.96-1mamba
- update to 4.96
* Mon Jul 25 2011 Automatic Build System <autodist@mambasoft.it> 4.95-1mamba
- automatic version update by autodist
* Sat Jun 25 2011 Automatic Build System <autodist@mambasoft.it> 4.94-1mamba
- automatic update by autodist
* Sat Mar 12 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 4.89-2mamba
- configure options reworked
* Thu Mar 10 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 4.89-1mamba
- update to 4.89
* Mon Aug 16 2010 Automatic Build System <autodist@mambasoft.it> 4.69-1mamba
- automatic update by autodist
* Fri Jul 09 2010 Automatic Build System <autodist@mambasoft.it> 4.67-1mamba
- automatic update by autodist
* Sat Jun 26 2010 Automatic Build System <autodist@mambasoft.it> 4.66-1mamba
- automatic update by autodist
* Fri Feb 19 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 4.61-1mamba
- update to 4.61
* Mon Jan 04 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 4.59-1mamba
- update to 4.59
- added patches to support more bluetooth devices
- added missing build requirements
* Thu Oct 15 2009 Automatic Build System <autodist@mambasoft.it> 4.56-1mamba
- automatic update by autodist
* Thu Aug 27 2009 Automatic Build System <autodist@mambasoft.it> 4.50-1mamba
- automatic update by autodist
* Thu Aug 20 2009 Automatic Build System <autodist@mambasoft.it> 4.48-1mamba
- automatic update by autodist
* Fri Aug 07 2009 Automatic Build System <autodist@mambasoft.it> 4.47-1mamba
- automatic update by autodist
* Sat Jul 25 2009 Automatic Build System <autodist@mambasoft.it> 4.46-1mamba
- automatic update by autodist
* Mon Jul 06 2009 Automatic Build System <autodist@mambasoft.it> 4.43-1mamba
- automatic update by autodist
* Sat Jun 27 2009 Automatic Build System <autodist@mambasoft.it> 4.42-1mamba
- automatic update by autodist
* Thu Jun 18 2009 Automatic Build System <autodist@mambasoft.it> 4.41-1mamba
- automatic update by autodist
* Sat May 02 2009 Automatic Build System <autodist@mambasoft.it> 4.37-1mamba
- automatic update by autodist
* Mon Apr 20 2009 Automatic Build System <autodist@mambasoft.it> 4.36-1mamba
- automatic update by autodist
* Sat Apr 18 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 4.34-4mamba
- removed library duplicates in bluez package
* Mon Apr 13 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 4.34-3mamba
- don't obsolete libbluez for compatibility
* Fri Apr 10 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 4.34-2mamba
- rebuilt enabling configure options instead of --enable-all
* Thu Apr 09 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 4.34-1mamba
- update to 4.34
* Wed May 28 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 3.32-1mamba
- update to 3.32
- fixed udev rules file location
* Mon Apr 28 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 3.30-1mamba
- update to 3.30
- added requirement for bluez-firmware
* Tue Mar 06 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 3.9-1qilnx
- update to version 3.9 by autospec
* Tue Feb 21 2006 Davide Madrisan <davide.madrisan@qilinux.it> 2.25-2qilnx
- start and stop the bluetooth service using 'service'
- enable and start the bluetooth service by default
* Wed Feb 01 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 2.25-1qilnx
- update to version 2.25 by autospec
- added initscript patch
* Wed Dec 07 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 2.22-1qilnx
- update to version 2.22 by autospec
* Thu Oct 13 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 2.21-1qilnx
- update to version 2.21 by autospec
* Fri Aug 26 2005 Davide Madrisan <davide.madrisan@qilinux.it> 2.19-1qilnx
- update to version 2.19 by autospec
- also fix security issue QSA-2005-092 (CAN-2005-2547)
- dbus support enabled
* Wed Dec 01 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 2.11-2qilnx
- added initscript chkconfig header
* Mon Nov 29 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 2.11-1qilnx
- new version build
- added bluetooth initscript
* Fri Sep 10 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 2.10-1qilnx
- first build