d0b0f2b
Name:		blueman
d0b0f2b
Summary:	GTK+ Bluetooth Manager
d0b0f2b
License:	GPLv2+
f7cc85f
f7cc85f
Epoch:		1
02e1f26
Version:	2.2.4
02e1f26
Release:	1%{?dist}
f7cc85f
d0b0f2b
URL:		https://github.com/blueman-project/blueman
c14f91c
Source0:	%{URL}/releases/download/%{version}/blueman-%{version}.tar.gz
a8133e3
3db80f1
BuildRequires:	pkgconfig(appindicator3-0.1)
b897270
BuildRequires:	pkgconfig(bluez)
3db80f1
BuildRequires:	pkgconfig(gdk-pixbuf-2.0)
3db80f1
BuildRequires:	pkgconfig(gtk+-3.0)
3db80f1
BuildRequires:	pkgconfig(libnm)
c85a4e5
BuildRequires:	pkgconfig(polkit-agent-1)
3db80f1
BuildRequires:	pkgconfig(pygobject-3.0)
5d70be7
BuildRequires:	pkgconfig(python3)
d0b0f2b
BuildRequires:	desktop-file-utils
5d70be7
BuildRequires:	intltool >= 0.35.0
6da5132
BuildRequires:	iproute
6da5132
BuildRequires:	make
3f5919c
BuildRequires:	python3-Cython >= 0.21
3db80f1
BuildRequires:	python3-cairo-devel
3db80f1
BuildRequires:	python3-dbus
50f7e82
BuildRequires:	systemd
d0b0f2b
b897270
%{?systemd_requires}
b897270
Requires:	bluez
319bdab
Requires:	bluez-obexd
d0b0f2b
Requires:	dbus
7846d32
Requires:	dconf
7846d32
Requires:	desktop-notification-daemon
3db80f1
Requires:	iproute
3f5919c
Requires:	python3-dbus
3db80f1
Requires:	python3dist(pygobject) >= 3.27.2
d0b0f2b
Requires:	pulseaudio-libs-glib2
7846d32
Requires:	(pulseaudio-module-bluetooth if pulseaudio)
d0b0f2b
d0b0f2b
Provides:	dbus-bluez-pin-helper
69a5e98
69a5e98
%description
69a5e98
Blueman is a tool to use Bluetooth devices. It is designed to provide simple,
69a5e98
yet effective means for controlling BlueZ API and simplifying bluetooth tasks
69a5e98
such as:
69a5e98
- Connecting to 3G/EDGE/GPRS via dial-up
69a5e98
- Connecting to/Creating bluetooth networks
69a5e98
- Connecting to input devices
69a5e98
- Connecting to audio devices
9e70d10
- Sending/Receiving files via OBEX
69a5e98
- Pairing
69a5e98
69a5e98
69a5e98
%prep
c14f91c
%setup -q
9e70d10
6da5132
9e70d10
%build
7979d52
export PYTHON=%{_bindir}/python3
7979d52
7979d52
# Override the "_configure" macro - the name of the script
7979d52
# in this repo is ./autogen.sh, not ./configure
7979d52
%global _configure ./autogen.sh
3828bca
%configure --disable-static \
3828bca
           --enable-thunar-sendto=no \
6da5132
           --disable-schemas-compile
6da5132
%make_build
69a5e98
69a5e98
69a5e98
%install
9e70d10
%{make_install}
9e70d10
2b46af6
find %{buildroot} -name '*.la' -exec rm -f {} ';'
2b46af6
rm -rf %{buildroot}%{_datadir}/doc/blueman/
69a5e98
69a5e98
%find_lang blueman
69a5e98
69a5e98
# we need to own this, not only because of SELinux
2b46af6
mkdir -p %{buildroot}%{_sharedstatedir}/blueman
2b46af6
touch %{buildroot}%{_sharedstatedir}/blueman/network.state
69a5e98
b897270
98e693d
%check
2b46af6
desktop-file-validate %{buildroot}%{_sysconfdir}/xdg/autostart/blueman.desktop
2b46af6
desktop-file-validate %{buildroot}%{_datadir}/applications/blueman-*.desktop
98e693d
98e693d
69a5e98
%post
b897270
%systemd_post blueman-mechanism.service
b897270
%systemd_user_post blueman-applet.service
69a5e98
69a5e98
%postun
b897270
%systemd_postun_with_restart blueman-mechanism.service
69a5e98
b897270
%preun
b897270
%systemd_preun blueman-mechanism.service
b897270
%systemd_user_preun blueman-applet.service
b897270
69a5e98
69a5e98
%files -f blueman.lang
69a5e98
%doc CHANGELOG.md FAQ README.md
69a5e98
%license COPYING
69a5e98
%{_bindir}/*
3f5919c
%{python3_sitelib}/blueman/
3f5919c
%{python3_sitearch}/*.so
9e70d10
%{_libexecdir}/blueman-*
69a5e98
%{_sysconfdir}/xdg/autostart/blueman.desktop
9e70d10
%{_datadir}/applications/blueman-*.desktop
9e70d10
%{_datadir}/icons/hicolor/*/*/*
69a5e98
%{_datadir}/blueman/
7846d32
%{_datadir}/dbus-1/services/org.blueman.*.service
7846d32
%{_datadir}/dbus-1/system.d/org.blueman.*.conf
7846d32
%{_datadir}/dbus-1/system-services/org.blueman.*.service
69a5e98
%{_datadir}/glib-2.0/schemas/*
c85a4e5
%{_datadir}/polkit-1/actions/org.blueman.policy
2b46af6
%{_datadir}/polkit-1/rules.d/blueman.rules
69a5e98
%{_mandir}/man1/*
7846d32
%{_unitdir}/blueman-*.service
7846d32
%{_userunitdir}/blueman-*.service
69a5e98
%dir %{_sharedstatedir}/blueman
69a5e98
%ghost %attr(0644,root,root) %{_sharedstatedir}/blueman/network.state
69a5e98
b897270
69a5e98
%changelog
02e1f26
* Tue Feb 08 2022 Artur Frenszek-Iwicki <fedora@svgames.pl> - 1:2.2.4-1
02e1f26
- Update to v2.2.4
02e1f26
- Drop "Obsoletes: blueman-nautilus" (originally added for 1.x.y -> 2.0.0 upgrade, not needed for a long time now)
02e1f26
b5acb2a
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.2.3-2
b5acb2a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
b5acb2a
e830fc3
* Thu Oct 28 2021 Artur Frenszek-Iwicki <fedora@svgames.pl> - 1:2.2.3-1
e830fc3
- Update to v2.2.3
e830fc3
0ece038
* Fri Aug 06 2021 Artur Frenszek-Iwicki <fedora@svgames.pl> - 1:2.2.2-1
0ece038
- Update to v2.2.2
0ece038
f6d7913
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.2.1-3
f6d7913
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
f6d7913
813922c
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1:2.2.1-2
813922c
- Rebuilt for Python 3.10
813922c
7846d32
* Thu Jun 03 2021 Artur Frenszek-Iwicki <fedora@svgames.pl> - 1:2.2.1-1
7846d32
- Update to v2.2.1
7846d32
- Do not pull in pulseaudio-specific dependencies on pipewire systems
7846d32
228c63d
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1:2.1.4-4
228c63d
- Rebuilt for updated systemd-rpm-macros
228c63d
  See https://pagure.io/fesco/issue/2583.
228c63d
066eca8
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.1.4-3
066eca8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
066eca8
6da5132
* Wed Dec 30 2020 Artur Frenszek-Iwicki <fedora@svgames.pl> - 1:2.1.4-2
6da5132
- Enable appindicator support
6da5132
3db80f1
* Wed Oct 28 2020 Artur Frenszek-Iwicki <fedora@svgames.pl> - 1:2.1.4-1
3db80f1
- Update to v2.1.4
3db80f1
- Update list of dependencies
3db80f1
fce6e59
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.1.3-4
fce6e59
- Second attempt - Rebuilt for
fce6e59
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
fce6e59
c70bf64
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.1.3-3
c70bf64
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
c70bf64
59279eb
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1:2.1.3-2
59279eb
- Rebuilt for Python 3.9
59279eb
f7cc85f
* Fri May 08 2020 Artur Iwicki <fedora@svgames.pl> - 1:2.1.3-1
f7cc85f
- Update to latest upstream release (2.1.3)
f7cc85f
85af695
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.1.2-2
85af695
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
85af695
cab18b8
* Fri Jan 24 2020 Artur Iwicki <fedora@svgames.pl> - 1:2.1.2-1
cab18b8
- Update to latest upstream release (2.1.2)
cab18b8
dd3d034
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1:2.1.1-4
dd3d034
- Rebuilt for Python 3.8.0rc1 (#1748018)
dd3d034
2d950fa
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1:2.1.1-3
2d950fa
- Rebuilt for Python 3.8
2d950fa
79b28e8
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.1.1-2
79b28e8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
79b28e8
e4c431f
* Mon Jul 08 2019 Artur Iwicki <fedora@svgames.pl> - 1:2.1.1-1
cab18b8
- Update to latest upstream release (2.1.1)
e4c431f
c14f91c
* Mon Jun 10 2019 Artur Iwicki <fedora@svgames.pl> - 1:2.1-1
cab18b8
- Update to latest upstream release (2.1)
c14f91c
- Drop Patch0 and Patch1 (they were backports from today's release)
c14f91c
a8133e3
* Sat Jun 08 2019 Artur Iwicki <fedora@svgames.pl> - 1:2.1-0.17.beta1
a8133e3
- Add two upstream patches for crashes and IO issues
a8133e3
7979d52
* Mon May 06 2019 Artur Iwicki <fedora@svgames.pl> - 1:2.1-0.16.beta1
7979d52
- Upgrade to new upstream pre-release
7979d52
db4e5c7
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.1-0.15.alpha3
db4e5c7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
db4e5c7
2b46af6
* Thu Dec 27 2018 Artur Iwicki <fedora@svgames.pl> - 1:2.1-0.14.alpha3
2b46af6
- Upgrade to new upstream pre-release
2b46af6
- Remove the Group: tag (no longer used in Fedora)
2b46af6
2b46af6
* Tue Sep 11 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1:2.1-0.13.alpha2
8d776ef
- pygobject3 → python3-gobject-base
8d776ef
d2e105c
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.1-0.12.alpha2
d2e105c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
d2e105c
6b5d2f5
* Mon Jul 02 2018 Miro Hrončok <mhroncok@redhat.com> - 1:2.1-0.11.alpha2
6b5d2f5
- Rebuilt for Python 3.7
6b5d2f5
935656b
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.1-0.10.alpha2
935656b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
935656b
f6f6b83
* Sun Jan 07 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1:2.1-0.9.alpha2
f6f6b83
- Remove obsolete scriptlets
f6f6b83
284afda
* Mon Dec 11 2017 Pete Walter <pwalter@fedoraproject.org> - 1:2.1-0.8.alpha2
284afda
- Update to 2.1 alpha2
284afda
4fe6078
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.1-0.7.alpha1
4fe6078
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
4fe6078
34fb181
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.1-0.6.alpha1
34fb181
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
34fb181
95e0f87
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.1-0.5.alpha1
95e0f87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
95e0f87
fc67227
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1:2.1-0.4.alpha1
fc67227
- Rebuild for Python 3.6
fc67227
319bdab
* Wed Sep 21 2016 Peter Walter <pwalter@fedoraproject.org> - 1:2.1-0.3.alpha1
319bdab
- Fix obexd dependencies (#1377640)
319bdab
c85a4e5
* Tue Sep 20 2016 Peter Walter <pwalter@fedoraproject.org> - 1:2.1-0.2.alpha1
c85a4e5
- Enable polkit support
98e693d
- Validate desktop files
c85a4e5
b1201c8
* Mon Sep 19 2016 Peter Walter <pwalter@fedoraproject.org> - 1:2.1-0.1.alpha1
b897270
- Update to 2.1 alpha1
b897270
4c45ca6
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.0.4-3
4c45ca6
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
4c45ca6
5d70be7
* Wed May 18 2016 Leigh Scott <leigh123linux@googlemail.com> - 1:2.0.4-2
5d70be7
- patch to try and fix some of the dbus exceptions
5d70be7
1c5757e
* Sun Apr 03 2016 Leigh Scott <leigh123linux@googlemail.com> - 1:2.0.4-1
1c5757e
- update to 2.0.4 release
1c5757e
8bc76e5
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-0.8.gita0408c1
8bc76e5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
8bc76e5
ddd874a
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1-0.7.gita0408c1
ddd874a
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
ddd874a
50f7e82
* Mon Nov 09 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.1-0.6.gita0408c1
50f7e82
- update to latest git
50f7e82
0bdbcf6
* Fri Oct 30 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.1-0.5.git608efb8
0bdbcf6
- update to latest git
0bdbcf6
d1bbf9a
* Fri Sep 18 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.1-0.4.git2a812a8
d1bbf9a
- update to latest git
d1bbf9a
3f5919c
* Wed Sep 16 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.1-0.3.git7a2e20e
3f5919c
- build against python3
3f5919c
ced9fbf
* Mon Aug 24 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.1-0.2.git7a2e20e
ced9fbf
- update to latest git
ced9fbf
3828bca
* Wed Aug 12 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.1-0.1.git0a5defd
3828bca
- update to git
3828bca
75b5216
* Mon Jul 27 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.0-11
75b5216
- add requires dconf (bz 1246995)
75b5216
d0b0f2b
* Mon Jul 13 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.0-10
d0b0f2b
- remove requires desktop-notification-daemon and PolicyKit-authentication-agent
d0b0f2b
- patch for gi and pyobject changes
d0b0f2b
b994dc9
* Mon Jun 22 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.0-9
b994dc9
- add upstream fix for bz 1233237
b994dc9
dc2826d
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0-8
dc2826d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
dc2826d
75efd7d
* Wed Jun 10 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.0-7
75efd7d
- remove appindicator support
75efd7d
f991952
* Fri Jun 05 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.0-6
f991952
- add requires bluez (bz 1228488)
f991952
6e4f956
* Thu May 28 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.0-5
6e4f956
- add requires pulseaudio-libs-glib2
6e4f956
9e70d10
* Thu May 28 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.0-4
9e70d10
- remove browse feature (upstream patch)
9e70d10
- ammend description
9e70d10
- rename service file (upstream patch)
9e70d10
- clean up requires and buildrequires
9e70d10
- update scriptlets
9e70d10
- clean up spec file
9e70d10
8659cee
* Wed May 27 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.0-3
8659cee
- add requires dbus-python
8659cee
- add requires pulseaudio-module-bluetooth for audio
8659cee
6bc69ed
* Wed May 27 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.0-2
6bc69ed
- fix bluetoothd path for report tool
6bc69ed
69a5e98
* Tue May 26 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.0-1
69a5e98
- update to 2.0 release
69a5e98
69a5e98
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.23-7
69a5e98
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
69a5e98
69a5e98
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.23-6
69a5e98
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
69a5e98
69a5e98
* Thu Dec 27 2012 Christoph Wickert <cwickert@fedoraproject.org> - 1.23-5
69a5e98
- Require pulseaudio-libs-glib2 (#856270)
69a5e98
69a5e98
* Sat Oct 06 2012 Christoph Wickert <cwickert@fedoraproject.org> - 1.23-4
69a5e98
- No longer require gnome-session
69a5e98
- Require gvfs-obexftp, needed when launching file managers from blueman
69a5e98
69a5e98
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.23-3
69a5e98
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
69a5e98
69a5e98
* Sun May 06 2012 Christoph Wickert <cwickert@fedoraproject.org> - 1.23-2
69a5e98
- Own /var/lib/blueman and /var/lib/blueman/network.state (#818528)
69a5e98
69a5e98
* Thu Apr 26 2012 Christoph Wickert <cwickert@fedoraproject.org> - 1.23-1
69a5e98
- Update to 1.23
69a5e98
- Drop upstreamed PulseAudio patch
69a5e98
- Fix statusicon
69a5e98
- Autostart blueman not only in GNOME but also in Xfce and LXDE
69a5e98
- Enhance description
69a5e98