]>
Commit | Line | Data |
---|---|---|
1 | Summary: Blueman - bluetooth management utility for GNOME | |
2 | Name: blueman | |
3 | Version: 2.1.3 | |
4 | Release: 1 | |
5 | License: GPL | |
6 | Group: X11/Applications | |
7 | Source0: https://github.com/blueman-project/blueman/releases/download/%{version}/%{name}-%{version}.tar.xz | |
8 | # Source0-md5: b341822c8362bf9619fbbc22c957b00c | |
9 | URL: https://github.com/blueman-project/blueman | |
10 | BuildRequires: autoconf | |
11 | BuildRequires: automake | |
12 | BuildRequires: bluez-libs-devel >= 5.0 | |
13 | BuildRequires: caja-python-devel | |
14 | BuildRequires: cinnamon-nemo-python-devel | |
15 | BuildRequires: gettext-tools | |
16 | BuildRequires: glib2-devel >= 2.32 | |
17 | BuildRequires: gtk+3-devel >= 3.12 | |
18 | BuildRequires: intltool >= 0.35.0 | |
19 | BuildRequires: libtool | |
20 | BuildRequires: nautilus-python-devel | |
21 | BuildRequires: pkgconfig >= 0.9.0 | |
22 | BuildRequires: python-Cython | |
23 | BuildRequires: python-devel >= 3.3 | |
24 | BuildRequires: python-pygobject3-common-devel >= 3.27.2 | |
25 | BuildRequires: rpm-pythonprov | |
26 | BuildRequires: rpmbuild(macros) >= 1.219 | |
27 | Requires(post,postun): gtk-update-icon-cache | |
28 | Requires(post,postun): hicolor-icon-theme | |
29 | Requires(post,preun,postun): systemd-units >= 38 | |
30 | Requires: bluez-libs >= 5.0 | |
31 | Requires: bluez-utils >= 5.0 | |
32 | Requires: gtk+3 >= 3.12 | |
33 | Requires: python >= %py_ver | |
34 | Requires: python-appindicator-gtk2 | |
35 | Requires: python-bluetooth | |
36 | Requires: python-pygtk-gtk | |
37 | Suggests: pulseaudio-bluetooth | |
38 | Suggests: pulseaudio-hal | |
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 | ||
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 | ||
101 | %package thunar | |
102 | Summary: Blueman plugin for Thunar | |
103 | Summary(pl.UTF-8): Wtyczka Blueman-a dla Thunar-a | |
104 | Group: X11/Applications | |
105 | Requires: %{name} = %{version} | |
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 | ||
113 | %prep | |
114 | %setup -q | |
115 | ||
116 | %build | |
117 | %configure \ | |
118 | --disable-static \ | |
119 | --disable-schemas-compile \ | |
120 | --enable-polkit \ | |
121 | --enable-caja-sendto \ | |
122 | --enable-nemo-sendto \ | |
123 | --enable-nautilus-sendto \ | |
124 | --enable-thunar-sendto \ | |
125 | --enable-settings-integration | |
126 | ||
127 | %{__make} | |
128 | ||
129 | %install | |
130 | rm -rf $RPM_BUILD_ROOT | |
131 | %{__make} install \ | |
132 | DESTDIR=$RPM_BUILD_ROOT | |
133 | ||
134 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name} | |
135 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/python3.8/site-packages/_blueman.la | |
136 | ||
137 | # DO NOT RUN py_postclean - breaks plugins and everything | |
138 | ||
139 | %find_lang %{name} --with-gnome | |
140 | ||
141 | %clean | |
142 | rm -rf $RPM_BUILD_ROOT | |
143 | ||
144 | %post | |
145 | %update_icon_cache hicolor | |
146 | glib-compile-schemas %{_datadir}/glib-2.0/schemas | |
147 | %service %{name}-mechanism restart | |
148 | %systemd_post %{name}-mechanism.service | |
149 | ||
150 | %preun | |
151 | if [ "$1" = "0" ]; then | |
152 | %service -q %{name}-mechanism stop | |
153 | fi | |
154 | %systemd_preun %{name}-mechanism.service | |
155 | ||
156 | %postun | |
157 | %update_icon_cache hicolor | |
158 | glib-compile-schemas %{_datadir}/glib-2.0/schemas | |
159 | %systemd_reload | |
160 | ||
161 | %files -f %{name}.lang | |
162 | %defattr(644,root,root,755) | |
163 | %doc README.md CHANGELOG.md COPYING FAQ | |
164 | %config(noreplace) %verify(not md5 mtime size) /etc/dbus-1/system.d/org.blueman.Mechanism.conf | |
165 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/autostart/blueman.desktop | |
166 | %attr(755,root,root) %{_bindir}/blueman-adapters | |
167 | %attr(755,root,root) %{_bindir}/blueman-applet | |
168 | %attr(755,root,root) %{_bindir}/blueman-assistant | |
169 | %attr(755,root,root) %{_bindir}/blueman-manager | |
170 | %attr(755,root,root) %{_bindir}/blueman-report | |
171 | %attr(755,root,root) %{_bindir}/blueman-sendto | |
172 | %attr(755,root,root) %{_bindir}/blueman-services | |
173 | %attr(755,root,root) %{_bindir}/blueman-tray | |
174 | %{_mandir}/man1/blueman-adapters.1* | |
175 | %{_mandir}/man1/blueman-applet.1* | |
176 | %{_mandir}/man1/blueman-assistant.1* | |
177 | %{_mandir}/man1/blueman-manager.1* | |
178 | %{_mandir}/man1/blueman-report.1 | |
179 | %{_mandir}/man1/blueman-sendto.1* | |
180 | %{_mandir}/man1/blueman-services.1* | |
181 | %{_mandir}/man1/blueman-tray.1* | |
182 | %attr(755,root,root) %{_libexecdir}/%{name}-mechanism | |
183 | %attr(755,root,root) %{_libexecdir}/%{name}-rfcomm-watcher | |
184 | %{_datadir}/%{name} | |
185 | %{_datadir}/dbus-1/system-services/org.blueman.Mechanism.service | |
186 | %{_desktopdir}/blueman-manager.desktop | |
187 | %{_desktopdir}/blueman-adapters.desktop | |
188 | %{_iconsdir}/hicolor/scalable/*/*.svg | |
189 | %{_iconsdir}/hicolor/*/*/*.png | |
190 | %dir %{_pixmapsdir}/blueman | |
191 | %{_pixmapsdir}/blueman/blueman-*.png | |
192 | %{_datadir}/glib-2.0/schemas/org.blueman.gschema.xml | |
193 | %{systemdunitdir}/blueman-mechanism.service | |
194 | %{systemduserunitdir}/blueman-applet.service | |
195 | %{_datadir}/dbus-1/services/org.blueman.Applet.service | |
196 | %{_datadir}/polkit-1/actions/org.blueman.policy | |
197 | %{_datadir}/polkit-1/rules.d/blueman.rules | |
198 | %attr(755,root,root) %{_libdir}/python3.8/site-packages/_blueman.so | |
199 | %{_libdir}/python3.8/site-packages/%{name} | |
200 | ||
201 | %files caja | |
202 | %defattr(644,root,root,755) | |
203 | %{_datadir}/caja-python/extensions/caja_blueman_sendto.py | |
204 | ||
205 | %files nautilus | |
206 | %defattr(644,root,root,755) | |
207 | %{_datadir}/nautilus-python/extensions/nautilus_blueman_sendto.py | |
208 | ||
209 | %files nemo | |
210 | %defattr(644,root,root,755) | |
211 | %{_datadir}/nemo-python/extensions/nemo_blueman_sendto.py | |
212 | ||
213 | %files thunar | |
214 | %defattr(644,root,root,755) | |
215 | %{_datadir}/Thunar/sendto/thunar-sendto-blueman.desktop |