Summary: Blueman - Bluetooth management utility for GNOME
Summary(pl.UTF-8): Blueman - narzędzie do zarządzania łącznością Bluetooth dla GNOME
Name: blueman
-Version: 2.2.5
+Version: 2.4.2
Release: 1
License: GPL v3+
Group: X11/Applications
Source0: https://github.com/blueman-project/blueman/releases/download/%{version}/%{name}-%{version}.tar.xz
-# Source0-md5: 59a73a5f8e75777d51eb23820187a016
-Patch0: ayatana-indicator.patch
+# Source0-md5: 4871bb9cbc2037e8192006a59cb68c4c
URL: https://github.com/blueman-project/blueman
+BuildRequires: autoconf >= 2.61
+BuildRequires: automake >= 1:1.16.3
BuildRequires: bluez-libs-devel >= 5.48
%{?with_mate:BuildRequires: caja-python-devel}
%{?with_cinnamon:BuildRequires: cinnamon-nemo-python-devel}
BuildRequires: polkit-devel
BuildRequires: python-pygobject3-common-devel >= 3.27.2
BuildRequires: python3-Cython
-BuildRequires: python3-devel >= 1:3.6
+BuildRequires: python3-devel >= 1:3.8
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 2.011
BuildRequires: systemd-units
BuildRequires: tar >= 1:1.22
BuildRequires: xz
+Requires(post,postun): desktop-file-utils
+Requires(post,postun): glib2 >= 1:2.32
Requires(post,postun): gtk-update-icon-cache
Requires(post,postun): hicolor-icon-theme
Requires(post,preun,postun): systemd-units >= 1:250.1
Requires: bluez >= 5.48
Requires: dbus >= 1.9.18
Requires: glib2 >= 1:2.32
-Requires: gtk+3 >= 3.22
+Requires: gtk+3 >= 3.24
Requires: pango
Requires: python3 >= %py3_ver
Requires: python3-pycairo
Requires: systemd-units >= 1:250.1
Suggests: NetworkManager-libs
Suggests: iproute2
-Suggests: libayatana-appindicator-gtk3
Suggests: pulseaudio-bluetooth
Suggests: pulseaudio-hal
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%prep
%setup -q
-%patch0 -p1
%build
+%{__libtoolize}
%{__aclocal}
%{__autoconf}
+%{__autoheader}
+%{__automake}
%configure \
CYTHONEXEC=/usr/bin/cython3 \
NETWORKTOOLS=/sbin/ip \
%post
%update_icon_cache hicolor
-glib-compile-schemas %{_datadir}/glib-2.0/schemas
+%update_desktop_database_post
+%glib_compile_schemas
%service %{name}-mechanism restart
%systemd_post %{name}-mechanism.service
%systemd_user_post blueman-applet.service blueman-manager.service
%preun
if [ "$1" = "0" ]; then
- %service -q %{name}-mechanism stop
+ %service -q %{name}-mechanism stop
fi
%systemd_preun %{name}-mechanism.service
%systemd_user_preun blueman-applet.service blueman-manager.service
%postun
%update_icon_cache hicolor
-glib-compile-schemas %{_datadir}/glib-2.0/schemas
+%update_desktop_database_postun
+%glib_compile_schemas
%systemd_reload
%files -f %{name}.lang