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