]> git.pld-linux.org Git - packages/blueman.git/blobdiff - blueman.spec
python3 epoch
[packages/blueman.git] / blueman.spec
index b18c82013f8886c21b054bd8e49c358e5b43186c..d30745fc77c07f260da47930b5af35decd75908d 100644 (file)
@@ -6,40 +6,42 @@
 
 Summary:       Blueman - bluetooth management utility for GNOME
 Name:          blueman
-Version:       2.1.3
-Release:       2
+Version:       2.1.4
+Release:       1
 License:       GPL
 Group:         X11/Applications
 Source0:       https://github.com/blueman-project/blueman/releases/download/%{version}/%{name}-%{version}.tar.xz
-# Source0-md5: b341822c8362bf9619fbbc22c957b00c
+# Source0-md5: e0e4703ace8cc6ed31c5a099cfaf091d
 URL:           https://github.com/blueman-project/blueman
-BuildRequires: autoconf
+BuildRequires: autoconf >= 2.61
 BuildRequires: automake
 BuildRequires: bluez-libs-devel >= 5.0
 %{?with_mate:BuildRequires:    caja-python-devel}
 %{?with_cinnamon:BuildRequires:        cinnamon-nemo-python-devel}
 BuildRequires: gettext-tools
-BuildRequires: glib2-devel >= 2.32
+BuildRequires: glib2-devel >= 1:2.32
 BuildRequires: gtk+3-devel >= 3.12
 BuildRequires: intltool >= 0.35.0
 BuildRequires: libtool
 %{?with_gnome:BuildRequires:   nautilus-python-devel}
-BuildRequires: pkgconfig >= 0.9.0
-BuildRequires: python-Cython
-BuildRequires: python-devel >= 3.3
+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.3
 BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) >= 1.527
+BuildRequires: systemd-units
 Requires(post,postun): gtk-update-icon-cache
 Requires(post,postun): hicolor-icon-theme
 Requires(post,preun,postun):   systemd-units >= 38
 Requires:      bluez-libs >= 5.0
 Requires:      bluez-utils >= 5.0
+Requires:      glib2 >= 1:2.32
 Requires:      gtk+3 >= 3.12
-Requires:      python >= %py_ver
-Requires:      python-appindicator-gtk2
-Requires:      python-bluetooth
-Requires:      python-pygtk-gtk
+Requires:      python3 >= %py3_ver
+Requires:      python3-pygobject3 >= 3.27.2
+Suggests:      libappindicator-gtk3
 Suggests:      pulseaudio-bluetooth
 Suggests:      pulseaudio-hal
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -121,6 +123,7 @@ Wtyczka Blueman-a dla Thunar-a.
 
 %build
 %configure \
+       CYTHONEXEC=/usr/bin/cython3 \
        NETWORKTOOLS=/sbin/ip \
        --disable-static \
        --disable-schemas-compile \
@@ -139,7 +142,7 @@ rm -rf $RPM_BUILD_ROOT
        DESTDIR=$RPM_BUILD_ROOT
 
 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
-%{__rm} $RPM_BUILD_ROOT%{_libdir}/python3.8/site-packages/_blueman.la
+%{__rm} $RPM_BUILD_ROOT%{py3_sitedir}/_blueman.la
 
 # DO NOT RUN py_postclean - breaks plugins and everything
 
@@ -202,8 +205,8 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas
 %{_datadir}/dbus-1/services/org.blueman.Applet.service
 %{_datadir}/polkit-1/actions/org.blueman.policy
 %{_datadir}/polkit-1/rules.d/blueman.rules
-%attr(755,root,root) %{_libdir}/python3.8/site-packages/_blueman.so
-%{_libdir}/python3.8/site-packages/%{name}
+%attr(755,root,root) %{py3_sitedir}/_blueman.so
+%{py3_sitedir}/%{name}
 
 %if %{with mate}
 %files caja
This page took 0.043709 seconds and 4 git commands to generate.