source: projects/specs/trunk/b/bluez/bluez-vl.spec @ 5753

Revision 5753, 13.1 KB checked in by Takemikaduchi, 12 years ago (diff)

new upstream release

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