]> git.pld-linux.org Git - packages/blueman.git/blobdiff - blueman.spec
up to 2.4.2
[packages/blueman.git] / blueman.spec
index 10195235e5a6dbbe1825c04bbd9a29b2b47fe7e4..7c449983f8e1b29a06a4ba8ea5927430b47bb0fc 100644 (file)
@@ -8,14 +8,15 @@
 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}
@@ -27,19 +28,21 @@ BuildRequires:      pkgconfig >= 1:0.9.0
 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
@@ -47,7 +50,6 @@ Requires:     python3-pygobject3 >= 3.27.2
 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)
@@ -145,11 +147,13 @@ Wtyczka Bluemana dla Thunara.
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
+%{__libtoolize}
 %{__aclocal}
 %{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure \
        CYTHONEXEC=/usr/bin/cython3 \
        NETWORKTOOLS=/sbin/ip \
@@ -182,21 +186,23 @@ rm -rf $RPM_BUILD_ROOT
 
 %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
This page took 0.097733 seconds and 4 git commands to generate.