]>
Commit | Line | Data |
---|---|---|
5cc4ce65 MWP |
1 | Summary: Blueman - bluetooth management utility for GNOME |
2 | Name: blueman | |
5759428a JR |
3 | Version: 2.0.5 |
4 | Release: 1 | |
3c7b0773 | 5 | License: GPL |
fa941284 L |
6 | Group: X11/Applications |
7 | Source0: https://github.com/blueman-project/blueman/releases/download/%{version}/%{name}-%{version}.tar.xz | |
5759428a | 8 | # Source0-md5: 677afd610bd893745ee5ae506bede2dd |
fa941284 L |
9 | URL: https://github.com/blueman-project/blueman |
10 | BuildRequires: autoconf | |
11 | BuildRequires: automake | |
12 | BuildRequires: bluez-libs-devel >= 4.61 | |
15e75860 | 13 | BuildRequires: gettext-tools |
fa941284 | 14 | BuildRequires: glib2-devel >= 2.32 |
f081be6b | 15 | BuildRequires: gtk+3-devel >= 3.12 |
fa941284 | 16 | BuildRequires: intltool >= 0.35.0 |
293276eb | 17 | BuildRequires: libtool |
fa941284 L |
18 | BuildRequires: pkgconfig >= 0.9.0 |
19 | BuildRequires: python-Cython | |
293276eb | 20 | BuildRequires: python-dbus |
fa941284 | 21 | BuildRequires: python-devel >= 2.7 |
95f440c0 | 22 | BuildRequires: python-pygobject3-common-devel |
5cc4ce65 | 23 | BuildRequires: rpm-pythonprov |
8c7796aa | 24 | BuildRequires: rpmbuild(macros) >= 1.219 |
f0242065 AF |
25 | Requires(post,postun): gtk-update-icon-cache |
26 | Requires(post,postun): hicolor-icon-theme | |
1d6da7c9 MWP |
27 | Requires: bluez-libs >= 4.25 |
28 | Requires: bluez-utils >= 4.25 | |
f081be6b | 29 | Requires: gtk+3 >= 3.12 |
fa941284 L |
30 | Requires: python >= %py_ver |
31 | Requires: python-appindicator-gtk2 | |
11ad311c TP |
32 | Requires: python-bluetooth |
33 | Requires: python-dbus | |
34 | Requires: python-pygtk-gtk | |
35 | Requires: python-pynotify | |
5cc4ce65 MWP |
36 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
37 | ||
38 | %description | |
39 | Blueman is a GTK+ bluetooth management utility for GNOME using bluez | |
40 | dbus backend. The aim is to create a full featured graphical bluetooth | |
41 | manager for Linux. | |
42 | ||
43 | Features: | |
44 | ||
45 | - Easy to use interface | |
46 | - Storing Favourite devices | |
47 | - Send files | |
48 | - Browse files on devices | |
49 | - List all seen devices | |
50 | - View Local/Remote Device information | |
51 | - View transfer speeds and link quality | |
52 | - Configure local devices | |
53 | - Manage Pairing (Bonding) | |
54 | - Host/Connect to Personal Area Networks | |
55 | - Bind services to /dev/rfcomm ports, for eg. connecting via gprs | |
56 | - Connect and receive connections from: audio, network, input and | |
57 | serial devices | |
58 | ||
fa941284 L |
59 | %package thunar |
60 | Summary: Blueman plugin for Thunar | |
61 | Summary(pl.UTF-8): Wtyczka Blueman-a dla Thunar-a | |
62 | Group: X11/Applications | |
63 | ||
64 | %description thunar | |
65 | Blueman plugin for Thunar. | |
66 | ||
67 | %description thunar -l pl.UTF-8 | |
68 | Wtyczka Blueman-a dla Thunar-a. | |
69 | ||
5cc4ce65 | 70 | %prep |
fb1a0cdd | 71 | %setup -q |
5cc4ce65 MWP |
72 | |
73 | %build | |
0348fefb | 74 | %configure \ |
1426712e | 75 | --enable-xfce-settings=yes \ |
68bdd93d | 76 | --disable-static \ |
fa941284 L |
77 | --disable-schemas-compile \ |
78 | ||
fb1a0cdd | 79 | %{__make} |
5cc4ce65 MWP |
80 | |
81 | %install | |
82 | rm -rf $RPM_BUILD_ROOT | |
fb1a0cdd | 83 | %{__make} install \ |
11ad311c | 84 | DESTDIR=$RPM_BUILD_ROOT |
5cc4ce65 | 85 | |
68bdd93d ER |
86 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name} |
87 | %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/_blueman.la | |
88 | ||
5759428a JR |
89 | # DO NOT RUN py_postclean - breaks plugins and everything |
90 | ||
5cc4ce65 MWP |
91 | %find_lang %{name} --with-gnome |
92 | ||
93 | %clean | |
94 | rm -rf $RPM_BUILD_ROOT | |
95 | ||
8235d8ec | 96 | %post |
97 | %update_icon_cache hicolor | |
fa941284 | 98 | glib-compile-schemas %{_datadir}/glib-2.0/schemas |
8235d8ec | 99 | |
100 | %postun | |
101 | %update_icon_cache hicolor | |
fa941284 | 102 | glib-compile-schemas %{_datadir}/glib-2.0/schemas |
8235d8ec | 103 | |
5cc4ce65 MWP |
104 | %files -f %{name}.lang |
105 | %defattr(644,root,root,755) | |
fa941284 | 106 | %doc README.md CHANGELOG.md COPYING FAQ |
fb1a0cdd | 107 | %config(noreplace) %verify(not md5 mtime size) /etc/dbus-1/system.d/org.blueman.Mechanism.conf |
017008df ER |
108 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/autostart/blueman.desktop |
109 | %attr(755,root,root) %{_bindir}/blueman-adapters | |
110 | %attr(755,root,root) %{_bindir}/blueman-applet | |
111 | %attr(755,root,root) %{_bindir}/blueman-assistant | |
112 | %attr(755,root,root) %{_bindir}/blueman-browse | |
113 | %attr(755,root,root) %{_bindir}/blueman-manager | |
114 | %attr(755,root,root) %{_bindir}/blueman-report | |
115 | %attr(755,root,root) %{_bindir}/blueman-sendto | |
116 | %attr(755,root,root) %{_bindir}/blueman-services | |
117 | %{_mandir}/man1/blueman-adapters.1* | |
118 | %{_mandir}/man1/blueman-applet.1* | |
119 | %{_mandir}/man1/blueman-assistant.1* | |
120 | %{_mandir}/man1/blueman-browse.1* | |
121 | %{_mandir}/man1/blueman-manager.1* | |
122 | %{_mandir}/man1/blueman-report.1 | |
123 | %{_mandir}/man1/blueman-sendto.1* | |
124 | %{_mandir}/man1/blueman-services.1* | |
5759428a JR |
125 | %attr(755,root,root) %{_libexecdir}/%{name}-mechanism |
126 | %attr(755,root,root) %{_libexecdir}/%{name}-rfcomm-watcher | |
5cc4ce65 MWP |
127 | %{_datadir}/%{name} |
128 | %{_datadir}/dbus-1/system-services/org.blueman.Mechanism.service | |
017008df ER |
129 | %{_desktopdir}/blueman-manager.desktop |
130 | %{_desktopdir}/blueman-adapters.desktop | |
7e0fad4e | 131 | %{_iconsdir}/hicolor/scalable/*/*.svg |
b8c4aac2 | 132 | %{_iconsdir}/hicolor/*/*/*.png |
017008df ER |
133 | %dir %{_pixmapsdir}/blueman |
134 | %{_pixmapsdir}/blueman/blueman-*.png | |
fa941284 | 135 | %{_datadir}/glib-2.0/schemas/org.blueman.gschema.xml |
afb5f40e | 136 | %{_datadir}/dbus-1/services/blueman-applet.service |
afb5f40e | 137 | %{_datadir}/polkit-1/actions/org.blueman.policy |
017008df ER |
138 | %attr(755,root,root) %{py_sitedir}/_blueman.so |
139 | %{py_sitescriptdir}/%{name} | |
fa941284 L |
140 | |
141 | %files thunar | |
142 | %defattr(644,root,root,755) | |
143 | %{_datadir}/Thunar/sendto/thunar-sendto-blueman.desktop |