]> git.pld-linux.org Git - packages/bluez.git/blobdiff - bluez.spec
up to 5.65
[packages/bluez.git] / bluez.spec
index 39f3e5092b28d3d2b29cb9e6a7e9c24a89e9d6f0..db7288d5f67ad4477a8f1984d6df91aa7ce5cdc3 100644 (file)
@@ -8,12 +8,12 @@
 Summary:       Bluetooth utilities
 Summary(pl.UTF-8):     Narzędzia Bluetooth
 Name:          bluez
-Version:       5.54
-Release:       3
+Version:       5.65
+Release:       1
 License:       GPL v2+
 Group:         Applications/System
 Source0:       https://www.kernel.org/pub/linux/bluetooth/%{name}-%{version}.tar.xz
-# Source0-md5: e637feb2dbb7582bbbff1708367a847c
+# Source0-md5: bc07c802e95d4ee29d99f4f82c5abcf6
 Source1:       %{name}.init
 Source2:       %{name}.sysconfig
 # Scripts for automatically btattach-ing serial ports connected to Broadcom HCIs
@@ -29,27 +29,28 @@ BuildRequires:      automake
 BuildRequires: check-devel >= 0.9.6
 BuildRequires: cups-devel
 BuildRequires: dbus-devel >= 1.6
-BuildRequires: ell-devel >= 0.28
+BuildRequires: docutils
+BuildRequires: ell-devel >= 0.39
 BuildRequires: glib2-devel >= 1:2.28
 BuildRequires: json-c-devel >= 0.13
 BuildRequires: libical-devel
 BuildRequires: libtool
 BuildRequires: pkgconfig >= 1:0.9.0
 BuildRequires: readline-devel
-BuildRequires: rpmbuild(macros) >= 1.682
+BuildRequires: rpmbuild(macros) >= 2.011
 BuildRequires: systemd-devel
 BuildRequires: tar >= 1:1.22
 BuildRequires: udev-devel >= 1:172
 BuildRequires: xz
-Requires(post,preun,postun):   systemd-units >= 38
+Requires(post,preun,postun):   systemd-units >= 1:250.1
 Requires:      %{name}-libs = %{version}-%{release}
 Requires:      dbus-libs >= 1.6
-Requires:      ell >= 0.28
+Requires:      ell >= 0.39
 Requires:      glib2 >= 1:2.28
 Requires:      hwdata >= 0.225
 Requires:      json-c >= 0.13
 Requires:      rc-scripts
-Requires:      systemd-units >= 38
+Requires:      systemd-units >= 1:250.1
 Requires:      udev >= 1:172
 Provides:      bluez-hcidump = %{version}
 Provides:      bluez-utils = %{version}-%{release}
@@ -58,15 +59,15 @@ Provides:   dbus(org.openobex.client)
 Provides:      obex-data-server = %{version}
 # moved somewhere or dropped?
 #Obsoletes:    alsa-plugins-bluetooth
-Obsoletes:     bluez-hcidump
-Obsoletes:     bluez-hciemu
-Obsoletes:     bluez-pan
-Obsoletes:     bluez-sdp
-Obsoletes:     bluez-systemd
-Obsoletes:     bluez-utils
-Obsoletes:     bluez-utils-init
-Obsoletes:     obexd
-Obsoletes:     obex-data-server
+Obsoletes:     bluez-hcidump < 3
+Obsoletes:     bluez-hciemu < 2
+Obsoletes:     bluez-pan < 2
+Obsoletes:     bluez-sdp < 2
+Obsoletes:     bluez-systemd < 4.98-3
+Obsoletes:     bluez-utils < 4
+Obsoletes:     bluez-utils-init < 4
+Obsoletes:     obexd < 1
+Obsoletes:     obex-data-server < 1
 # moved somewhere or dropped?
 #Obsoletes:    gstreamer-bluetooth < 4.101-3
 #Obsoletes:    gstreamer0.10-bluetooth < 5
@@ -133,7 +134,7 @@ bluezctl).
 Summary:       Bluetooth libraries
 Summary(pl.UTF-8):     Biblioteki Bluetooth
 Group:         Libraries
-Obsoletes:     bluez-sdp
+Obsoletes:     bluez-sdp < 2
 
 %description libs
 Libraries for use in Bluetooth applications.
@@ -150,7 +151,7 @@ Summary:    Header files for Bluetooth applications
 Summary(pl.UTF-8):     Pliki nagłówkowe dla aplikacji Bluetooth
 Group:         Development/Libraries
 Requires:      %{name}-libs = %{version}-%{release}
-Obsoletes:     bluez-sdp-devel
+Obsoletes:     bluez-sdp-devel < 2
 
 %description libs-devel
 bluez-libs-devel contains header files for use in Bluetooth
@@ -165,7 +166,7 @@ Summary:    Static Bluetooth libraries
 Summary(pl.UTF-8):     Biblioteki statyczne Bluetooth
 Group:         Development/Libraries
 Requires:      %{name}-libs-devel = %{version}-%{release}
-Obsoletes:     bluez-sdp-static
+Obsoletes:     bluez-sdp-static < 2
 
 %description libs-static
 bluez-libs-static contains development static libraries for use in
@@ -195,6 +196,7 @@ aplikacji Bluetooth.
        --enable-experimental \
        --enable-external-ell \
        --enable-health \
+       --enable-hid2hci \
        --enable-library \
        --enable-tools \
        --enable-cups \
@@ -205,13 +207,12 @@ aplikacji Bluetooth.
        --enable-sap \
        --enable-sixaxis \
        --enable-static \
+       --with-udevdir=%{udevdir} \
        --with-systemdsystemunitdir=%{systemdunitdir} \
        --with-systemduserunitdir=%{systemduserunitdir}
 
 %{__make} \
-       cupsdir=%{cupsdir} \
-       rulesdir=%{udevdir}/rules.d \
-       udevdir=%{udevdir}
+       cupsdir=%{cupsdir}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -231,12 +232,12 @@ install profiles/input/*.conf $RPM_BUILD_ROOT%{_sysconfdir}/bluetooth
 install profiles/network/*.conf $RPM_BUILD_ROOT%{_sysconfdir}/bluetooth
 
 #serial port connected Broadcom HCIs scripts
-install %{SOURCE3} $RPM_BUILD_ROOT/%{udevdir}/rules.d/
-install %{SOURCE4} $RPM_BUILD_ROOT/%{systemdunitdir}/
-install %{SOURCE5} $RPM_BUILD_ROOT/%{_libexecdir}/bluetooth/
+install %{SOURCE3} $RPM_BUILD_ROOT%{udevdir}/rules.d
+install %{SOURCE4} $RPM_BUILD_ROOT%{systemdunitdir}
+install %{SOURCE5} $RPM_BUILD_ROOT%{_libexecdir}/bluetooth
 
 # Install the HCI emulator, useful for testing
-install emulator/btvirt ${RPM_BUILD_ROOT}/%{_libexecdir}/bluetooth/
+install emulator/btvirt $RPM_BUILD_ROOT%{_libexecdir}/bluetooth
 
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libbluetooth.la
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/bluetooth/plugins/*.{la,a}
@@ -248,6 +249,7 @@ rm -rf $RPM_BUILD_ROOT
 /sbin/chkconfig --add bluetooth
 %service bluetooth restart
 %systemd_post bluetooth.service
+%systemd_user_post obex.service
 
 %preun
 if [ "$1" = "0" ]; then
@@ -255,16 +257,16 @@ if [ "$1" = "0" ]; then
        /sbin/chkconfig --del bluetooth
 fi
 %systemd_preun bluetooth.service
+%systemd_user_preun obex.service
 
 %postun
 %systemd_reload
 
-%triggerpostun -- bluez < 4.98-3
-%systemd_trigger bluetooth.service
-
 %triggerpostun -- bluez < 5.13-1
 %service rfcomm stop
 /sbin/chkconfig --del rfcomm
+# bluez < 4.98-3
+%systemd_trigger bluetooth.service
 
 %post   libs -p /sbin/ldconfig
 %postun libs -p /sbin/ldconfig
@@ -272,15 +274,16 @@ fi
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README
-%attr(755,root,root) %{_bindir}/bccmd
 %attr(755,root,root) %{_bindir}/bluemoon
 %attr(755,root,root) %{_bindir}/bluetoothctl
 %attr(755,root,root) %{_bindir}/btattach
 %attr(755,root,root) %{_bindir}/btmon
 %attr(755,root,root) %{_bindir}/hex2hcd
+%attr(755,root,root) %{_bindir}/isotest
 %attr(755,root,root) %{_bindir}/l2ping
 %attr(755,root,root) %{_bindir}/l2test
 %attr(755,root,root) %{_bindir}/mesh-cfgclient
+%attr(755,root,root) %{_bindir}/mesh-cfgtest
 %attr(755,root,root) %{_bindir}/meshctl
 %attr(755,root,root) %{_bindir}/mpris-proxy
 %attr(755,root,root) %{_bindir}/rctest
@@ -323,9 +326,10 @@ fi
 %attr(755,root,root) %{udevdir}/hid2hci
 %{udevdir}/rules.d/69-btattach-bcm.rules
 %{udevdir}/rules.d/97-hid2hci.rules
-%{_mandir}/man1/bccmd.1*
 %{_mandir}/man1/btattach.1*
+%{_mandir}/man1/btmon.1*
 %{_mandir}/man1/hid2hci.1*
+%{_mandir}/man1/isotest.1*
 %{_mandir}/man1/l2ping.1*
 %{_mandir}/man1/rctest.1*
 %if %{with deprecated}
@@ -337,6 +341,7 @@ fi
 %{_mandir}/man1/rfcomm.1*
 %{_mandir}/man1/sdptool.1*
 %endif
+%{_mandir}/man8/bluetooth-meshd.8*
 %{_mandir}/man8/bluetoothd.8*
 
 %files -n cups-backend-bluetooth
This page took 0.040925 seconds and 4 git commands to generate.