]>
Commit | Line | Data |
---|---|---|
5cc4ce65 MWP |
1 | Summary: Blueman - bluetooth management utility for GNOME |
2 | Name: blueman | |
c8d32e64 | 3 | Version: 2.1.3 |
5759428a | 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 | |
c8d32e64 | 8 | # Source0-md5: b341822c8362bf9619fbbc22c957b00c |
fa941284 L |
9 | URL: https://github.com/blueman-project/blueman |
10 | BuildRequires: autoconf | |
11 | BuildRequires: automake | |
c8d32e64 KM |
12 | BuildRequires: bluez-libs-devel >= 5.0 |
13 | BuildRequires: caja-python-devel | |
14 | BuildRequires: cinnamon-nemo-python-devel | |
15e75860 | 15 | BuildRequires: gettext-tools |
fa941284 | 16 | BuildRequires: glib2-devel >= 2.32 |
f081be6b | 17 | BuildRequires: gtk+3-devel >= 3.12 |
fa941284 | 18 | BuildRequires: intltool >= 0.35.0 |
293276eb | 19 | BuildRequires: libtool |
c8d32e64 | 20 | BuildRequires: nautilus-python-devel |
fa941284 L |
21 | BuildRequires: pkgconfig >= 0.9.0 |
22 | BuildRequires: python-Cython | |
c8d32e64 KM |
23 | BuildRequires: python-devel >= 3.3 |
24 | BuildRequires: python-pygobject3-common-devel >= 3.27.2 | |
5cc4ce65 | 25 | BuildRequires: rpm-pythonprov |
8c7796aa | 26 | BuildRequires: rpmbuild(macros) >= 1.219 |
f0242065 AF |
27 | Requires(post,postun): gtk-update-icon-cache |
28 | Requires(post,postun): hicolor-icon-theme | |
c8d32e64 KM |
29 | Requires(post,preun,postun): systemd-units >= 38 |
30 | Requires: bluez-libs >= 5.0 | |
31 | Requires: bluez-utils >= 5.0 | |
f081be6b | 32 | Requires: gtk+3 >= 3.12 |
fa941284 L |
33 | Requires: python >= %py_ver |
34 | Requires: python-appindicator-gtk2 | |
11ad311c | 35 | Requires: python-bluetooth |
11ad311c | 36 | Requires: python-pygtk-gtk |
c8d32e64 KM |
37 | Suggests: pulseaudio-bluetooth |
38 | Suggests: pulseaudio-hal | |
5cc4ce65 MWP |
39 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
40 | ||
41 | %description | |
42 | Blueman is a GTK+ bluetooth management utility for GNOME using bluez | |
43 | dbus backend. The aim is to create a full featured graphical bluetooth | |
44 | manager for Linux. | |
45 | ||
46 | Features: | |
47 | ||
48 | - Easy to use interface | |
49 | - Storing Favourite devices | |
50 | - Send files | |
51 | - Browse files on devices | |
52 | - List all seen devices | |
53 | - View Local/Remote Device information | |
54 | - View transfer speeds and link quality | |
55 | - Configure local devices | |
56 | - Manage Pairing (Bonding) | |
57 | - Host/Connect to Personal Area Networks | |
58 | - Bind services to /dev/rfcomm ports, for eg. connecting via gprs | |
59 | - Connect and receive connections from: audio, network, input and | |
60 | serial devices | |
61 | ||
c8d32e64 KM |
62 | %package caja |
63 | Summary: Blueman plugin for Caja | |
64 | Summary(pl.UTF-8): Wtyczka Blueman-a dla managera plików Caja | |
65 | Group: X11/Applications | |
66 | Requires: %{name} = %{version} | |
67 | Requires: caja-python | |
68 | ||
69 | %description caja | |
70 | Blueman plugin for Caja. | |
71 | ||
72 | %description caja -l pl.UTF-8 | |
73 | Wtyczka Blueman-a dla managera plików Caja. | |
74 | ||
75 | %package nautilus | |
76 | Summary: Blueman plugin for Nautilus | |
77 | Summary(pl.UTF-8): Wtyczka Blueman-a dla Nautilus-a | |
78 | Group: X11/Applications | |
79 | Requires: %{name} = %{version} | |
80 | Requires: nautilus-python | |
81 | ||
82 | %description nautilus | |
83 | Blueman plugin for Nautilus. | |
84 | ||
85 | %description nautilus -l pl.UTF-8 | |
86 | Wtyczka Blueman-a dla Nautilus-a. | |
87 | ||
88 | %package nemo | |
89 | Summary: Blueman plugin for Nemo | |
90 | Summary(pl.UTF-8): Wtyczka Blueman-a dla managera plików Nemo. | |
91 | Group: X11/Applications | |
92 | Requires: %{name} = %{version} | |
93 | Requires: cinnamon-nemo-python | |
94 | ||
95 | %description nemo | |
96 | Blueman plugin for Nautilus. | |
97 | ||
98 | %description nemo -l pl.UTF-8 | |
99 | Wtyczka Blueman-a dla managera plików Nemo. | |
100 | ||
fa941284 L |
101 | %package thunar |
102 | Summary: Blueman plugin for Thunar | |
103 | Summary(pl.UTF-8): Wtyczka Blueman-a dla Thunar-a | |
104 | Group: X11/Applications | |
c8d32e64 | 105 | Requires: %{name} = %{version} |
fa941284 L |
106 | |
107 | %description thunar | |
108 | Blueman plugin for Thunar. | |
109 | ||
110 | %description thunar -l pl.UTF-8 | |
111 | Wtyczka Blueman-a dla Thunar-a. | |
112 | ||
5cc4ce65 | 113 | %prep |
fb1a0cdd | 114 | %setup -q |
5cc4ce65 MWP |
115 | |
116 | %build | |
0348fefb | 117 | %configure \ |
fc378da1 | 118 | NETWORKTOOLS=/sbin/ip \ |
68bdd93d | 119 | --disable-static \ |
fa941284 | 120 | --disable-schemas-compile \ |
c8d32e64 KM |
121 | --enable-polkit \ |
122 | --enable-caja-sendto \ | |
123 | --enable-nemo-sendto \ | |
124 | --enable-nautilus-sendto \ | |
125 | --enable-thunar-sendto \ | |
126 | --enable-settings-integration | |
fa941284 | 127 | |
fb1a0cdd | 128 | %{__make} |
5cc4ce65 MWP |
129 | |
130 | %install | |
131 | rm -rf $RPM_BUILD_ROOT | |
fb1a0cdd | 132 | %{__make} install \ |
11ad311c | 133 | DESTDIR=$RPM_BUILD_ROOT |
5cc4ce65 | 134 | |
68bdd93d | 135 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name} |
c8d32e64 | 136 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/python3.8/site-packages/_blueman.la |
68bdd93d | 137 | |
5759428a JR |
138 | # DO NOT RUN py_postclean - breaks plugins and everything |
139 | ||
5cc4ce65 MWP |
140 | %find_lang %{name} --with-gnome |
141 | ||
142 | %clean | |
143 | rm -rf $RPM_BUILD_ROOT | |
144 | ||
8235d8ec | 145 | %post |
146 | %update_icon_cache hicolor | |
fa941284 | 147 | glib-compile-schemas %{_datadir}/glib-2.0/schemas |
c8d32e64 KM |
148 | %service %{name}-mechanism restart |
149 | %systemd_post %{name}-mechanism.service | |
150 | ||
151 | %preun | |
152 | if [ "$1" = "0" ]; then | |
153 | %service -q %{name}-mechanism stop | |
154 | fi | |
155 | %systemd_preun %{name}-mechanism.service | |
8235d8ec | 156 | |
157 | %postun | |
158 | %update_icon_cache hicolor | |
fa941284 | 159 | glib-compile-schemas %{_datadir}/glib-2.0/schemas |
c8d32e64 | 160 | %systemd_reload |
8235d8ec | 161 | |
5cc4ce65 MWP |
162 | %files -f %{name}.lang |
163 | %defattr(644,root,root,755) | |
fa941284 | 164 | %doc README.md CHANGELOG.md COPYING FAQ |
fb1a0cdd | 165 | %config(noreplace) %verify(not md5 mtime size) /etc/dbus-1/system.d/org.blueman.Mechanism.conf |
017008df ER |
166 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/autostart/blueman.desktop |
167 | %attr(755,root,root) %{_bindir}/blueman-adapters | |
168 | %attr(755,root,root) %{_bindir}/blueman-applet | |
169 | %attr(755,root,root) %{_bindir}/blueman-assistant | |
017008df ER |
170 | %attr(755,root,root) %{_bindir}/blueman-manager |
171 | %attr(755,root,root) %{_bindir}/blueman-report | |
172 | %attr(755,root,root) %{_bindir}/blueman-sendto | |
173 | %attr(755,root,root) %{_bindir}/blueman-services | |
c8d32e64 | 174 | %attr(755,root,root) %{_bindir}/blueman-tray |
017008df ER |
175 | %{_mandir}/man1/blueman-adapters.1* |
176 | %{_mandir}/man1/blueman-applet.1* | |
177 | %{_mandir}/man1/blueman-assistant.1* | |
017008df ER |
178 | %{_mandir}/man1/blueman-manager.1* |
179 | %{_mandir}/man1/blueman-report.1 | |
180 | %{_mandir}/man1/blueman-sendto.1* | |
181 | %{_mandir}/man1/blueman-services.1* | |
c8d32e64 | 182 | %{_mandir}/man1/blueman-tray.1* |
5759428a JR |
183 | %attr(755,root,root) %{_libexecdir}/%{name}-mechanism |
184 | %attr(755,root,root) %{_libexecdir}/%{name}-rfcomm-watcher | |
5cc4ce65 MWP |
185 | %{_datadir}/%{name} |
186 | %{_datadir}/dbus-1/system-services/org.blueman.Mechanism.service | |
017008df ER |
187 | %{_desktopdir}/blueman-manager.desktop |
188 | %{_desktopdir}/blueman-adapters.desktop | |
7e0fad4e | 189 | %{_iconsdir}/hicolor/scalable/*/*.svg |
b8c4aac2 | 190 | %{_iconsdir}/hicolor/*/*/*.png |
017008df ER |
191 | %dir %{_pixmapsdir}/blueman |
192 | %{_pixmapsdir}/blueman/blueman-*.png | |
fa941284 | 193 | %{_datadir}/glib-2.0/schemas/org.blueman.gschema.xml |
c8d32e64 KM |
194 | %{systemdunitdir}/blueman-mechanism.service |
195 | %{systemduserunitdir}/blueman-applet.service | |
196 | %{_datadir}/dbus-1/services/org.blueman.Applet.service | |
afb5f40e | 197 | %{_datadir}/polkit-1/actions/org.blueman.policy |
c8d32e64 KM |
198 | %{_datadir}/polkit-1/rules.d/blueman.rules |
199 | %attr(755,root,root) %{_libdir}/python3.8/site-packages/_blueman.so | |
200 | %{_libdir}/python3.8/site-packages/%{name} | |
201 | ||
202 | %files caja | |
203 | %defattr(644,root,root,755) | |
204 | %{_datadir}/caja-python/extensions/caja_blueman_sendto.py | |
205 | ||
206 | %files nautilus | |
207 | %defattr(644,root,root,755) | |
208 | %{_datadir}/nautilus-python/extensions/nautilus_blueman_sendto.py | |
209 | ||
210 | %files nemo | |
211 | %defattr(644,root,root,755) | |
212 | %{_datadir}/nemo-python/extensions/nemo_blueman_sendto.py | |
fa941284 L |
213 | |
214 | %files thunar | |
215 | %defattr(644,root,root,755) | |
216 | %{_datadir}/Thunar/sendto/thunar-sendto-blueman.desktop |