mirror of
https://abf.rosa.ru/djam/bluez.git
synced 2025-02-23 15:12:52 +00:00
Require bluez-pin-provider instead of bluez-pin
This commit is contained in:
parent
aeb20c3774
commit
ee1b16bec8
1 changed files with 53 additions and 55 deletions
82
bluez.spec
82
bluez.spec
|
@ -1,11 +1,11 @@
|
||||||
%define major 3
|
%define major 3
|
||||||
%define libname %mklibname %{name} %{major}
|
%define libname %mklibname %{name} %{major}
|
||||||
%define devname %mklibname -d %{name}
|
%define devname %mklibname %{name} -d
|
||||||
|
|
||||||
Name: bluez
|
|
||||||
Summary: Official Linux Bluetooth protocol stack
|
Summary: Official Linux Bluetooth protocol stack
|
||||||
|
Name: bluez
|
||||||
Version: 5.21
|
Version: 5.21
|
||||||
Release: 1
|
Release: 2
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: Communications
|
Group: Communications
|
||||||
URL: http://www.bluez.org/
|
URL: http://www.bluez.org/
|
||||||
|
@ -26,25 +26,21 @@ Patch3: 0001-Allow-using-obexd-without-systemd-in-the-user-sessio.patch
|
||||||
Patch4: 0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch
|
Patch4: 0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch
|
||||||
Patch5: 0002-autopair-Don-t-handle-the-iCade.patch
|
Patch5: 0002-autopair-Don-t-handle-the-iCade.patch
|
||||||
Patch7: 0004-agent-Assert-possible-infinite-loop.patch
|
Patch7: 0004-agent-Assert-possible-infinite-loop.patch
|
||||||
|
|
||||||
Requires(pre): rpm-helper
|
|
||||||
|
|
||||||
BuildRequires: flex
|
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
BuildRequires: readline-devel
|
BuildRequires: flex
|
||||||
BuildRequires: expat-devel
|
|
||||||
BuildRequires: cups-devel
|
BuildRequires: cups-devel
|
||||||
|
BuildRequires: readline-devel
|
||||||
BuildRequires: pkgconfig(dbus-1)
|
BuildRequires: pkgconfig(dbus-1)
|
||||||
|
BuildRequires: pkgconfig(expat)
|
||||||
BuildRequires: pkgconfig(glib-2.0)
|
BuildRequires: pkgconfig(glib-2.0)
|
||||||
BuildRequires: pkgconfig(libcap-ng)
|
BuildRequires: pkgconfig(libcap-ng)
|
||||||
|
BuildRequires: pkgconfig(libical)
|
||||||
BuildRequires: pkgconfig(libusb)
|
BuildRequires: pkgconfig(libusb)
|
||||||
BuildRequires: pkgconfig(libusb-1.0)
|
BuildRequires: pkgconfig(libusb-1.0)
|
||||||
BuildRequires: pkgconfig(libical)
|
|
||||||
BuildRequires: pkgconfig(udev) >= 186
|
|
||||||
BuildRequires: pkgconfig(libical)
|
|
||||||
BuildRequires: pkgconfig(systemd)
|
BuildRequires: pkgconfig(systemd)
|
||||||
|
BuildRequires: pkgconfig(udev) >= 186
|
||||||
Requires: bluez-pin
|
Requires(pre): rpm-helper
|
||||||
|
Requires: bluez-pin-provider
|
||||||
Suggests: obex-data-server
|
Suggests: obex-data-server
|
||||||
Obsoletes: bluez-alsa < 5.0
|
Obsoletes: bluez-alsa < 5.0
|
||||||
Obsoletes: bluez-gstreamer < 5.0
|
Obsoletes: bluez-gstreamer < 5.0
|
||||||
|
@ -52,12 +48,6 @@ Obsoletes: bluez-gstreamer < 5.0
|
||||||
%description
|
%description
|
||||||
These are the official Bluetooth communication libraries for Linux.
|
These are the official Bluetooth communication libraries for Linux.
|
||||||
|
|
||||||
%post
|
|
||||||
%_post_service bluetooth
|
|
||||||
|
|
||||||
%postun
|
|
||||||
%_preun_service bluetooth
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%{_bindir}/ciptool
|
%{_bindir}/ciptool
|
||||||
%{_bindir}/hcitool
|
%{_bindir}/hcitool
|
||||||
|
@ -98,8 +88,13 @@ These are the official Bluetooth communication libraries for Linux.
|
||||||
%{_libdir}/bluetooth/plugins/sixaxis.so
|
%{_libdir}/bluetooth/plugins/sixaxis.so
|
||||||
%{_libdir}/bluetooth/plugins/playstation-peripheral.so
|
%{_libdir}/bluetooth/plugins/playstation-peripheral.so
|
||||||
|
|
||||||
|
%post
|
||||||
|
%_post_service bluetooth
|
||||||
|
|
||||||
#--------------------------------------------------------------------
|
%postun
|
||||||
|
%_preun_service bluetooth
|
||||||
|
|
||||||
|
#----------------------------------------------------------------------------
|
||||||
|
|
||||||
%package cups
|
%package cups
|
||||||
Summary: CUPS printer backend for Bluetooth printers
|
Summary: CUPS printer backend for Bluetooth printers
|
||||||
|
@ -112,7 +107,7 @@ This package contains the CUPS backend for Bluetooth printers.
|
||||||
%files cups
|
%files cups
|
||||||
%{_prefix}/lib/cups/backend/bluetooth
|
%{_prefix}/lib/cups/backend/bluetooth
|
||||||
|
|
||||||
#--------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
|
|
||||||
%package -n %{libname}
|
%package -n %{libname}
|
||||||
Summary: Official Linux Bluetooth protocol stack
|
Summary: Official Linux Bluetooth protocol stack
|
||||||
|
@ -123,7 +118,27 @@ These are the official Bluetooth communication libraries for Linux.
|
||||||
|
|
||||||
%files -n %{libname}
|
%files -n %{libname}
|
||||||
/%{_lib}/libbluetooth.so.%{major}*
|
/%{_lib}/libbluetooth.so.%{major}*
|
||||||
#--------------------------------------------------------------------
|
|
||||||
|
#----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
%package -n %{devname}
|
||||||
|
Summary: Headers for developing programs that will use %{name}
|
||||||
|
Group: Development/C++
|
||||||
|
Requires: %{libname} = %{EVRD}
|
||||||
|
Provides: %{name}-devel = %{EVRD}
|
||||||
|
|
||||||
|
%description -n %{devname}
|
||||||
|
This package contains the headers that programmers will need to develop
|
||||||
|
applications which will use libraries from %{name}.
|
||||||
|
|
||||||
|
%files -n %{devname}
|
||||||
|
%doc AUTHORS ChangeLog README
|
||||||
|
%dir %{_includedir}/bluetooth
|
||||||
|
%{_includedir}/bluetooth/*.h
|
||||||
|
%{_libdir}/*.so
|
||||||
|
%{_libdir}/pkgconfig/bluez.pc
|
||||||
|
|
||||||
|
#----------------------------------------------------------------------------
|
||||||
|
|
||||||
%package hid2hci
|
%package hid2hci
|
||||||
Summary: Put HID proxying bluetooth HCI's into HCI mode
|
Summary: Put HID proxying bluetooth HCI's into HCI mode
|
||||||
|
@ -156,7 +171,7 @@ and mouse.
|
||||||
%post hid2hci
|
%post hid2hci
|
||||||
%{_bindir}/udevadm trigger --subsystem-match=usb
|
%{_bindir}/udevadm trigger --subsystem-match=usb
|
||||||
|
|
||||||
#--------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
|
|
||||||
%package test
|
%package test
|
||||||
Summary: Tools for testing of various Bluetooth-functions
|
Summary: Tools for testing of various Bluetooth-functions
|
||||||
|
@ -174,24 +189,7 @@ BLUETOOTH trademarks are owned by Bluetooth SIG, Inc., U.S.A.
|
||||||
%{_bindir}/rctest
|
%{_bindir}/rctest
|
||||||
%{_bindir}/test-*
|
%{_bindir}/test-*
|
||||||
|
|
||||||
#--------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
%package -n %{devname}
|
|
||||||
Summary: Headers for developing programs that will use %{name}
|
|
||||||
Group: Development/C++
|
|
||||||
Requires: %{libname} = %{version}
|
|
||||||
Provides: %{name}-devel = %{version}-%{release}
|
|
||||||
|
|
||||||
%description -n %{devname}
|
|
||||||
This package contains the headers that programmers will need to develop
|
|
||||||
applications which will use libraries from %{name}.
|
|
||||||
|
|
||||||
%files -n %{devname}
|
|
||||||
%doc AUTHORS ChangeLog README
|
|
||||||
%dir %{_includedir}/bluetooth
|
|
||||||
%{_includedir}/bluetooth/*.h
|
|
||||||
%{_libdir}/*.so
|
|
||||||
%{_libdir}/pkgconfig/bluez.pc
|
|
||||||
#--------------------------------------------------------------------
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
Loading…
Add table
Reference in a new issue