1 | Summary: Bluetooth utilities |
---|
2 | Summary(ja): Bluetooth ユーティリティ |
---|
3 | Name: bluez |
---|
4 | Version: 4.89 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | License: GPLv2+ |
---|
7 | Group: Applications/System |
---|
8 | |
---|
9 | URL: http://www.bluez.org/ |
---|
10 | |
---|
11 | Vendor: Project Vine |
---|
12 | Distribution: Vine Linux |
---|
13 | Packager: daisuke, Takemikaduchi |
---|
14 | |
---|
15 | #---------------------------------------------------------------------------- |
---|
16 | |
---|
17 | Source: http://www.kernel.org/pub/linux/bluetooth/%{name}-%{version}.tar.gz |
---|
18 | Source1: bluetooth.init.vine |
---|
19 | Source3: bluez-uinput.modules |
---|
20 | |
---|
21 | Source11: trusts.txt |
---|
22 | Source20: main.conf |
---|
23 | |
---|
24 | Patch1: bluez-utils-oui-usage.patch |
---|
25 | # https://bugzilla.redhat.com/show_bug.cgi?id=450081 |
---|
26 | # http://thread.gmane.org/gmane.linux.bluez.kernel/1687 |
---|
27 | Patch2: bluez-try-utf8-harder.patch |
---|
28 | # http://thread.gmane.org/gmane.linux.bluez.kernel/1754 |
---|
29 | Patch3: bluez-activate-wacom-mode2.patch |
---|
30 | # https://bugzilla.redhat.com/show_bug.cgi?id=498756 |
---|
31 | Patch4: bluez-socket-mobile-cf-connection-kit.patch |
---|
32 | # http://thread.gmane.org/gmane.linux.bluez.kernel/2396 |
---|
33 | Patch5: 0001-Add-sixaxis-cable-pairing-plugin.patch |
---|
34 | # http://thread.gmane.org/gmane.linux.bluez.kernel/2579 |
---|
35 | Patch6: 0001-Add-udev-rules-to-start-bluetooth-on-demand.patch |
---|
36 | |
---|
37 | #---------------------------------------------------------------------------- |
---|
38 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
39 | |
---|
40 | BuildRequires: flex |
---|
41 | BuildRequires: dbus-devel >= 0.90 |
---|
42 | BuildRequires: libusb-devel, glib2-devel, alsa-lib-devel |
---|
43 | BuildRequires: gstreamer-plugins-base-devel, gstreamer-devel |
---|
44 | BuildRequires: libsndfile-devel |
---|
45 | |
---|
46 | ExcludeArch: s390 s390x |
---|
47 | |
---|
48 | Obsoletes: bluez-pan < 4.0, bluez-sdp < 4.0 |
---|
49 | Requires: initscripts, bluez-libs = %{version} |
---|
50 | Requires: dbus >= 0.60 |
---|
51 | # Requires: fuse |
---|
52 | ## Requires: hwdata >= 0.215 |
---|
53 | Requires: hwdata >= 0.146 |
---|
54 | # virtual provides "dbus-bluez-pin-helper" ex. bluez-gnome |
---|
55 | Requires: dbus-bluez-pin-helper |
---|
56 | Requires(preun): /sbin/chkconfig, /sbin/service |
---|
57 | Requires(post): /sbin/chkconfig, /sbin/service |
---|
58 | #---------------------------------------------------------------------------- |
---|
59 | |
---|
60 | Obsoletes: bluez-utils < 4.5-2 |
---|
61 | Provides: bluez-utils = %{version}-%{release} |
---|
62 | |
---|
63 | #---------------------------------------------------------------------------- |
---|
64 | %description |
---|
65 | Utilities for use in Bluetooth applications: |
---|
66 | - hcitool |
---|
67 | - hciattach |
---|
68 | - hciconfig |
---|
69 | - bluetoothd |
---|
70 | - l2ping |
---|
71 | - start scripts VineLinux (RedHat base) |
---|
72 | - pcmcia configuration files |
---|
73 | |
---|
74 | Please, read %{_defaultdocdir}/%{name}-%{version}/trusts.txt |
---|
75 | |
---|
76 | The BLUETOOTH trademarks are owned by Bluetooth SIG, Inc., U.S.A. |
---|
77 | |
---|
78 | %description -l ja |
---|
79 | Bluetooth ユーティリティ (bluez-utils): |
---|
80 | - hcitool |
---|
81 | - hciattach |
---|
82 | - hciconfig |
---|
83 | - l2ping |
---|
84 | - 起動スクリプト (Red Hat用をVineLinuxに合わせました) |
---|
85 | - pcmcia コンフィグレーション ファイル |
---|
86 | ※付属の%{_defaultdocdir}/%{name}-%{version}/trusts.txtもご覧下さい。 |
---|
87 | |
---|
88 | (BLUETOOTH は Bluetooth SIG, Inc.(USA)のトレードマークです) |
---|
89 | |
---|
90 | #---------------------------------------------------------------------------- |
---|
91 | %package libs |
---|
92 | Summary: Libraries for use in Bluetooth applications |
---|
93 | Summary(ja): BlueTooth アプリケーションの使用するライブラリ(BlueZ) |
---|
94 | Group: System Environment/Libraries |
---|
95 | |
---|
96 | %description libs |
---|
97 | Libraries for use in Bluetooth applications. |
---|
98 | |
---|
99 | %description libs -l ja |
---|
100 | Bluetooth アプリケーションのためのライブラリです。 |
---|
101 | ※BlueZ のユーティリティのためにも必要です |
---|
102 | |
---|
103 | #---------------------------------------------------------------------------- |
---|
104 | %package libs-devel |
---|
105 | Summary: Development libraries for Bluetooth applications |
---|
106 | Summary(ja): Bluetooth アプリケーション開発のためのdevelパッケージ |
---|
107 | Group: Development/Libraries |
---|
108 | Requires: bluez-libs = %{version} |
---|
109 | Requires: pkgconfig |
---|
110 | Obsoletes: bluez-sdp-devel < 4.0 |
---|
111 | |
---|
112 | %description libs-devel |
---|
113 | bluez-libs-devel contains development libraries and headers for |
---|
114 | use in Bluetooth applications. |
---|
115 | |
---|
116 | %description libs-devel -l ja |
---|
117 | bluez-libs-devel パッケージは Bluetooth アプリケーション開発のための |
---|
118 | ライブラリやヘッダーファイルを提供します。 |
---|
119 | |
---|
120 | #---------------------------------------------------------------------------- |
---|
121 | %package cups |
---|
122 | Summary: CUPS printer backend for Bluetooth printers |
---|
123 | Summary(ja): Bluetooth 経由の CUPS プリンタシステム用 |
---|
124 | Group: System Environment/Daemons |
---|
125 | Obsoletes: bluez-utils-cups < 4.5-2 |
---|
126 | Provides: bluez-utils-cups = %{version}-%{release} |
---|
127 | Requires: bluez-libs = %{version} |
---|
128 | Requires: cups |
---|
129 | |
---|
130 | %description cups |
---|
131 | This package contains the CUPS backend |
---|
132 | |
---|
133 | %description cups -l ja |
---|
134 | Bluetooth対応 プリンターを CUPS印刷システムから利用する |
---|
135 | ためのバックエンドです。 |
---|
136 | |
---|
137 | #---------------------------------------------------------------------------- |
---|
138 | %package gstreamer |
---|
139 | Summary: GStreamer support for SBC audio format |
---|
140 | Summary(ja):GStreamer で SBCオーディオプロファイルをサポートします |
---|
141 | Group: System Environment/Daemons |
---|
142 | Obsoletes: bluez-utils-gstreamer < 4.5-2 |
---|
143 | Provides: bluez-utils-gstreamer = %{version}-%{release} |
---|
144 | Requires: bluez-libs = %{version} |
---|
145 | |
---|
146 | %description gstreamer |
---|
147 | This package contains gstreamer plugins for the Bluetooth SBC audio format |
---|
148 | |
---|
149 | %description gstreamer -l ja |
---|
150 | Bluetooth の SBCオーディオプロファイルを扱う gstreamer プラグインが |
---|
151 | 含まれています。 |
---|
152 | |
---|
153 | #---------------------------------------------------------------------------- |
---|
154 | %package alsa |
---|
155 | Summary: ALSA support for Bluetooth audio devices |
---|
156 | Summary(ja): Bluetooth オーディオ機器の ALSA サポート |
---|
157 | Obsoletes: bluez-utils-alsa < 4.5-2 |
---|
158 | Provides: bluez-utils-alsa = %{version}-%{release} |
---|
159 | Group: System Environment/Daemons |
---|
160 | Requires: bluez-libs = %{version} |
---|
161 | |
---|
162 | %description alsa |
---|
163 | This package contains ALSA support for Bluetooth audio devices |
---|
164 | |
---|
165 | %description alsa -l ja |
---|
166 | Bluetooth オーディオ機器のためのALSAサポートを含むパッケージです。 |
---|
167 | |
---|
168 | #---------------------------------------------------------------------------- |
---|
169 | |
---|
170 | %prep |
---|
171 | rm -rf $RPM_BUILD_ROOT |
---|
172 | |
---|
173 | %setup -q |
---|
174 | ## %patch1 -p0 -b .oui |
---|
175 | ## %patch2 -p1 -b .non-utf8-name |
---|
176 | %patch3 -p1 -b .wacom |
---|
177 | %patch4 -p1 -b .socket-mobile |
---|
178 | ## %patch5 -p1 -b .cable-pairing |
---|
179 | ## %patch6 -p1 -b .udev |
---|
180 | |
---|
181 | %build |
---|
182 | libtoolize -f -c |
---|
183 | autoreconf |
---|
184 | %configure \ |
---|
185 | --enable-cups --enable-hid2hci --enable-dfutool \ |
---|
186 | --enable-tools --enable-bccmd --enable-gstreamer \ |
---|
187 | --enable-hidd --enable-pand --enable-dund |
---|
188 | |
---|
189 | # copy txt |
---|
190 | cp %{SOURCE11} . |
---|
191 | |
---|
192 | make |
---|
193 | |
---|
194 | #---------------------------------------------------------------------------- |
---|
195 | %install |
---|
196 | rm -rf $RPM_BUILD_ROOT |
---|
197 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
198 | /sbin/ldconfig -n $RPM_BUILD_ROOT/%{_libdir} |
---|
199 | # Remove autocrap and libtool droppings |
---|
200 | rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la \ |
---|
201 | $RPM_BUILD_ROOT/%{_libdir}/alsa-lib/*.la \ |
---|
202 | $RPM_BUILD_ROOT/%{_libdir}/bluetooth/plugins/*.la \ |
---|
203 | $RPM_BUILD_ROOT/%{_libdir}/gstreamer-0.10/*.la |
---|
204 | |
---|
205 | install -D -m0755 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/bluetooth |
---|
206 | |
---|
207 | # replace main.conf |
---|
208 | rm -f $RPM_BUILD_ROOT%{_sysconfdir}/bluetooth/main.conf |
---|
209 | install -D -m0644 %{SOURCE20} $RPM_BUILD_ROOT%{_sysconfdir}/bluetooth/ |
---|
210 | # rename serial-api.txt |
---|
211 | mv doc/serial-api.txt doc/serial-api_doc.txt |
---|
212 | |
---|
213 | |
---|
214 | rm -f ${RPM_BUILD_ROOT}/%{_sysconfdir}/udev/*.rules |
---|
215 | install -D -m0644 scripts/bluetooth-serial.rules ${RPM_BUILD_ROOT}/%{_sysconfdir}/udev/rules.d/97-bluetooth-serial.rules |
---|
216 | install -D -m0755 scripts/bluetooth_serial ${RPM_BUILD_ROOT}/lib/udev/bluetooth_serial |
---|
217 | install -D -m0644 scripts/bluetooth-hid2hci.rules ${RPM_BUILD_ROOT}/%{_sysconfdir}/udev/rules.d/97-bluetooth-hid2hci.rules |
---|
218 | install -D -m0644 scripts/bluetooth.rules ${RPM_BUILD_ROOT}/lib/udev/rules.d/96-bluetooth.rules |
---|
219 | |
---|
220 | install -D -m0755 %{SOURCE3} $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/modules/bluez-uinput.modules |
---|
221 | |
---|
222 | install -d -m0755 $RPM_BUILD_ROOT/%{_localstatedir}/lib/bluetooth |
---|
223 | |
---|
224 | %clean |
---|
225 | rm -rf $RPM_BUILD_ROOT |
---|
226 | |
---|
227 | #---------------------------------------------------------------------------- |
---|
228 | %post |
---|
229 | /sbin/chkconfig --add bluetooth |
---|
230 | if [ "$1" -ge "1" ]; then |
---|
231 | /sbin/service bluetooth condrestart >/dev/null 2>&1 || : |
---|
232 | fi |
---|
233 | exit 0 |
---|
234 | |
---|
235 | %preun |
---|
236 | if [ "$1" = "0" ]; then |
---|
237 | /sbin/service bluetooth stop >/dev/null 2>&1 || : |
---|
238 | /sbin/chkconfig --del bluetooth |
---|
239 | fi |
---|
240 | exit 0 |
---|
241 | |
---|
242 | %post libs |
---|
243 | /sbin/ldconfig |
---|
244 | |
---|
245 | %postun libs |
---|
246 | /sbin/ldconfig |
---|
247 | |
---|
248 | #---------------------------------------------------------------------------- |
---|
249 | %files |
---|
250 | %defattr(-, root, root) |
---|
251 | %{_bindir}/* |
---|
252 | %{_sbindir}/* |
---|
253 | %{_mandir}/man1/* |
---|
254 | %{_mandir}/man8/* |
---|
255 | %dir %{_sysconfdir}/bluetooth/ |
---|
256 | %config(noreplace) %{_sysconfdir}/bluetooth/* |
---|
257 | %config(noreplace) %{_sysconfdir}/sysconfig/* |
---|
258 | %config %{_sysconfdir}/dbus-1/system.d/bluetooth.conf |
---|
259 | %{_libdir}/bluetooth/ |
---|
260 | /lib/udev/bluetooth_serial |
---|
261 | %{_sysconfdir}/udev/rules.d/*.rules |
---|
262 | /lib/udev/rules.d/*.rules |
---|
263 | %{_sysconfdir}/rc.d/init.d/* |
---|
264 | |
---|
265 | %files libs |
---|
266 | %defattr(-, root, root) |
---|
267 | %{_libdir}/libbluetooth.so.* |
---|
268 | %doc AUTHORS COPYING INSTALL ChangeLog NEWS README trusts.txt |
---|
269 | %doc */*.txt |
---|
270 | |
---|
271 | %files libs-devel |
---|
272 | %defattr(-, root, root) |
---|
273 | %{_libdir}/libbluetooth.so |
---|
274 | %dir %{_includedir}/bluetooth |
---|
275 | %{_includedir}/bluetooth/* |
---|
276 | %{_libdir}/pkgconfig/bluez.pc |
---|
277 | |
---|
278 | %files cups |
---|
279 | %defattr(-, root, root) |
---|
280 | %{_libdir}/cups/backend/bluetooth |
---|
281 | |
---|
282 | %files gstreamer |
---|
283 | %defattr(-, root, root) |
---|
284 | %{_libdir}/gstreamer-*/*.so |
---|
285 | |
---|
286 | %files alsa |
---|
287 | %defattr(-, root, root) |
---|
288 | #%config %{_sysconfdir}/alsa/bluetooth.conf |
---|
289 | %config %{_datadir}/alsa/bluetooth.conf |
---|
290 | %{_libdir}/alsa-lib/*.so |
---|
291 | |
---|
292 | %changelog |
---|
293 | * Thu Feb 24 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.89-1 |
---|
294 | - new upstream release |
---|
295 | |
---|
296 | * Sat Feb 05 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.87-1 |
---|
297 | - new upstream release |
---|
298 | |
---|
299 | * Thu Dec 30 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.84-1 |
---|
300 | - new upstream release |
---|
301 | |
---|
302 | * Sun Dec 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.82-1 |
---|
303 | - new upstream release |
---|
304 | |
---|
305 | * Fri Dec 10 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.81-1 |
---|
306 | - new upstream release |
---|
307 | |
---|
308 | * Tue Nov 16 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.79-1 |
---|
309 | - new upstream release |
---|
310 | - drop Patch2 |
---|
311 | |
---|
312 | * Wed Nov 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.77-1 |
---|
313 | - new upstream release |
---|
314 | - fix %files (change path of alsa/bluetooth.conf) |
---|
315 | |
---|
316 | * Thu Sep 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.69-2 |
---|
317 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
318 | |
---|
319 | * Mon Jul 19 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.69-1 |
---|
320 | - new upstream release |
---|
321 | |
---|
322 | * Mon Jun 21 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.66-1 |
---|
323 | - new upstream release |
---|
324 | |
---|
325 | * Sat May 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.64-1 |
---|
326 | - new upstream release |
---|
327 | - drop Patch1, Patch5, Patch6 |
---|
328 | |
---|
329 | * Sun Jul 05 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 4.42-2 |
---|
330 | - add bluetooth.init again. |
---|
331 | - on-demand startup on bootup process will fail, because |
---|
332 | D-BUS service is not started yet. |
---|
333 | |
---|
334 | * Sun Jun 28 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 4.42-1 |
---|
335 | - new upstream release |
---|
336 | |
---|
337 | * Mon Jun 22 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 4.41-2 |
---|
338 | - remove bluetooth.init |
---|
339 | - on-demand start/stop bluetoothd using udev |
---|
340 | - run hid2hci using udev |
---|
341 | - add missing files to %%files |
---|
342 | |
---|
343 | * Fri Jun 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 4.41-1 |
---|
344 | - new upstream release |
---|
345 | - add udev rule |
---|
346 | - add upstream Patch[2-6] |
---|
347 | |
---|
348 | * Tue May 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 4.37-1 |
---|
349 | - new upstream release |
---|
350 | |
---|
351 | * Fri Oct 24 2008 Seiichirou Babasaki 4.15-1 |
---|
352 | - Update to 4.15 |
---|
353 | - added # Maintainers: comments. |
---|
354 | - FedoraCore - LOGS |
---|
355 | -- 4.14-2 |
---|
356 | -- Add script to autoload uinput on startup, so the PS3 remote |
---|
357 | works out-of-the-box |
---|
358 | -- 4.14-1 - Update to 4.14 |
---|
359 | -- 4.13-3 |
---|
360 | -- Update udev rules (#246840) |
---|
361 | -- 4.13-2 |
---|
362 | -- Fix PS3 BD remote input event generation |
---|
363 | -- 4.13-1 - Update to 4.13 |
---|
364 | -- 4.12-1 - Update to 4.12 |
---|
365 | -- 4.11-1 - Update to 4.11 |
---|
366 | -- 4.10-1 - Update to 4.10 |
---|
367 | -- 4.9-1 - Update to 4.9 |
---|
368 | -- 4.8-1 - Update to 4.8 |
---|
369 | -- 4.7-1 - Update to 4.7 |
---|
370 | -- 4.6-4 |
---|
371 | -- Fix patch application |
---|
372 | -- 4.6-3 |
---|
373 | -- Add fuzz |
---|
374 | -- 4.6-2 |
---|
375 | -- Fix possible crasher on resume from suspend |
---|
376 | -- 4.6-1 - Update to 4.6 |
---|
377 | -- 4.5-4 |
---|
378 | -- SDP browse fixes |
---|
379 | -- 4.5-3 |
---|
380 | -- Bluez-alsa needs to provide/obsolete bluez-utils-alsa |
---|
381 | -- Use versioned Obsoletes: |
---|
382 | -- 4.5-2 |
---|
383 | -- Change main utils package name to 'bluez'; likewise its subpackages |
---|
384 | -- Remove references to obsolete initscripts (hidd,pand,dund) |
---|
385 | -- 4.5-1 |
---|
386 | -- Update to 4.5 |
---|
387 | -- Fix initscript to actually start bluetoothd by hand |
---|
388 | -- Add chkconfig information to the initscript |
---|
389 | -- 4.4-2 |
---|
390 | -- Fix rpmlint problems |
---|
391 | -- Fix input device handling |
---|
392 | -- 4.4-1 |
---|
393 | -- Update to 4.4 |
---|
394 | -- Update source address, and remove unneeded deps (thanks Marcel) |
---|
395 | -- 4.1-1 |
---|
396 | -- Initial build |
---|
397 | - updated specfile |
---|
398 | - VineLinux-4.2 logfile |
---|
399 | -- *Thu Oct 2 2008 Seiichirou Babasaki 3.24-4 |
---|
400 | -- update bleuz-gnome, rebuild bluez-utils |
---|
401 | -- Requires: fuse |
---|
402 | -- updated specfile |
---|
403 | -- *Tue Sep 30 2008 Seiichirou Babasaki 3.24-3 |
---|
404 | -- trusts.txt update (added audio profile) |
---|
405 | -- updated specfile |
---|
406 | |
---|
407 | #---------------------------------------------------------------------------- |
---|
408 | * Fri Sep 26 2008 Seiichirou Babasaki 3.32-2 |
---|
409 | - *.conf update |
---|
410 | - updated specfile |
---|
411 | |
---|
412 | * Fri Jun 13 2008 Seiichirou Babasaki 3.32-1 |
---|
413 | - Updated 3.32 |
---|
414 | - Updated specfile |
---|
415 | - ** LOGS 3.31-2 |
---|
416 | - ** Add a .service file, starting up hcid only when used (#446918) |
---|
417 | - ** Fix descriptions in the initscript headers (#433647) |
---|
418 | - ** LOGS 3.30-2 |
---|
419 | - ** Add support for Dell HID/HCI switch |
---|
420 | - ** LOGS 3.27-1 |
---|
421 | - ** Ship audio.conf (#278831) |
---|
422 | - ** Ship network service |
---|
423 | |
---|
424 | * Wed Jan 26 2008 Seiichirou Babasaki 3.24-2 |
---|
425 | - Updated specfile |
---|
426 | - marge bluez-utils-3.24-conf-vl.patch |
---|
427 | - << bluez-utils-2.3-conf.patch |
---|
428 | - add trusts.txt(ja) |
---|
429 | - Updated specfile |
---|
430 | |
---|
431 | * Mon Jan 21 2008 Seiichirou Babasaki 3.24-1vl2 |
---|
432 | - Updated specfile for (dbus-devel >= 0.90) |
---|
433 | |
---|
434 | * Wed Jan 16 2008 Seiichirou Babasaki 3.24-1vl1 |
---|
435 | - Import bluez-utils - Packager: Babasaki |
---|
436 | - Updated specfile for (dbus-devel >= 0.60) |
---|
437 | - Update to 3.24 |
---|