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

Revision 6414, 13.2 KB checked in by Takemikaduchi, 12 years ago (diff)

supertuxkart: rebuild
others: new upstream release

Line 
1Summary: Bluetooth utilities
2Summary(ja): Bluetooth ユーティリティ
3Name: bluez
4Version: 4.101
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
213
214install -D -m0755 %{SOURCE3} $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/modules/bluez-uinput.modules
215
216install -d -m0755 $RPM_BUILD_ROOT/%{_localstatedir}/lib/bluetooth
217
218%clean
219rm -rf $RPM_BUILD_ROOT
220
221#----------------------------------------------------------------------------
222%post
223/sbin/chkconfig --add bluetooth
224if [ "$1" -ge "1" ]; then
225        /sbin/service bluetooth condrestart >/dev/null 2>&1 || :
226fi
227exit 0
228
229%preun
230if [ "$1" = "0" ]; then
231        /sbin/service bluetooth stop >/dev/null 2>&1 || :
232        /sbin/chkconfig --del bluetooth
233fi
234exit 0
235
236%post libs
237/sbin/ldconfig
238
239%postun libs
240/sbin/ldconfig
241
242#----------------------------------------------------------------------------
243%files
244%defattr(-, root, root)
245%{_bindir}/*
246%{_sbindir}/*
247%{_mandir}/man1/*
248%{_mandir}/man8/*
249%dir %{_sysconfdir}/bluetooth/
250%config(noreplace) %{_sysconfdir}/bluetooth/*
251%config(noreplace) %{_sysconfdir}/sysconfig/*
252%config %{_sysconfdir}/dbus-1/system.d/bluetooth.conf
253%{_sysconfdir}/udev/rules.d/*.rules
254%{_sysconfdir}/rc.d/init.d/*
255%{_libdir}/bluetooth/
256%{_datadir}/dbus-1/system-services/org.bluez.service
257/lib/udev/bluetooth_serial
258/lib/udev/hid2hci
259/lib/udev/rules.d/*.rules
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* Sun Jun 24 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.101-1
290- new upstream release
291
292* Sun Mar 11 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.99-1
293- new upstream release
294
295* Thu Feb 23 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.98-1
296- new upstream release
297
298* Sun Dec 25 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.97-1
299- new upstream release
300- add BuildRequires: check-devel, readline-devel
301
302* Sun Aug 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.96-1
303- new upstream release
304- add BuildRequires: libudev-devel
305
306* Thu Feb 24 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.89-1
307- new upstream release
308
309* Sat Feb 05 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.87-1
310- new upstream release
311
312* Thu Dec 30 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.84-1
313- new upstream release
314
315* Sun Dec 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.82-1
316- new upstream release
317
318* Fri Dec 10 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.81-1
319- new upstream release
320
321* Tue Nov 16 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.79-1
322- new upstream release
323- drop Patch2
324
325* Wed Nov 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.77-1
326- new upstream release
327- fix %files (change path of alsa/bluetooth.conf)
328
329* Thu Sep 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.69-2
330- rebuild with rpm-4.8.1 for pkg-config file
331
332* Mon Jul 19 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.69-1
333- new upstream release
334
335* Mon Jun 21 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.66-1
336- new upstream release
337
338* Sat May 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.64-1
339- new upstream release
340- drop Patch1, Patch5, Patch6
341
342* Sun Jul 05 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 4.42-2
343- add bluetooth.init again.
344  - on-demand startup on bootup process will fail, because
345    D-BUS service is not started yet.
346
347* Sun Jun 28 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 4.42-1
348- new upstream release
349
350* Mon Jun 22 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 4.41-2
351- remove bluetooth.init
352  - on-demand start/stop bluetoothd using udev
353  - run hid2hci using udev
354- add missing files to %%files
355
356* Fri Jun 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 4.41-1
357- new upstream release
358- add udev rule
359- add upstream Patch[2-6]
360
361* Tue May 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 4.37-1
362- new upstream release
363
364* Fri Oct 24 2008 Seiichirou Babasaki 4.15-1
365- Update to 4.15
366- added # Maintainers:  comments.
367- FedoraCore - LOGS
368-- 4.14-2
369-- Add script to autoload uinput on startup, so the PS3 remote
370   works out-of-the-box
371-- 4.14-1 - Update to 4.14
372-- 4.13-3
373-- Update udev rules (#246840)
374-- 4.13-2
375-- Fix PS3 BD remote input event generation
376-- 4.13-1 - Update to 4.13
377-- 4.12-1 - Update to 4.12
378-- 4.11-1 - Update to 4.11
379-- 4.10-1 - Update to 4.10
380-- 4.9-1 - Update to 4.9
381-- 4.8-1 - Update to 4.8
382-- 4.7-1 - Update to 4.7
383-- 4.6-4
384-- Fix patch application
385-- 4.6-3
386-- Add fuzz
387-- 4.6-2
388-- Fix possible crasher on resume from suspend
389-- 4.6-1 - Update to 4.6
390-- 4.5-4
391-- SDP browse fixes
392-- 4.5-3
393-- Bluez-alsa needs to provide/obsolete bluez-utils-alsa
394-- Use versioned Obsoletes:
395-- 4.5-2
396-- Change main utils package name to 'bluez'; likewise its subpackages
397-- Remove references to obsolete initscripts (hidd,pand,dund)
398-- 4.5-1
399-- Update to 4.5
400-- Fix initscript to actually start bluetoothd by hand
401-- Add chkconfig information to the initscript
402-- 4.4-2
403-- Fix rpmlint problems
404-- Fix input device handling
405-- 4.4-1
406-- Update to 4.4
407-- Update source address, and remove unneeded deps (thanks Marcel)
408-- 4.1-1
409-- Initial build
410- updated specfile
411- VineLinux-4.2 logfile
412-- *Thu Oct 2 2008 Seiichirou Babasaki 3.24-4
413-- update bleuz-gnome, rebuild bluez-utils
414-- Requires: fuse
415-- updated specfile
416-- *Tue Sep 30 2008 Seiichirou Babasaki 3.24-3
417-- trusts.txt update (added audio profile)
418-- updated specfile
419
420#----------------------------------------------------------------------------
421* Fri Sep 26 2008 Seiichirou Babasaki 3.32-2
422- *.conf update
423- updated specfile
424
425* Fri Jun 13 2008 Seiichirou Babasaki 3.32-1
426- Updated 3.32
427- Updated specfile
428- ** LOGS 3.31-2
429- ** Add a .service file, starting up hcid only when used (#446918)
430- ** Fix descriptions in the initscript headers (#433647)
431- ** LOGS 3.30-2
432- ** Add support for Dell HID/HCI switch
433- ** LOGS 3.27-1
434- ** Ship audio.conf (#278831)
435- ** Ship network service
436
437* Wed Jan 26 2008 Seiichirou Babasaki 3.24-2
438- Updated specfile
439-   marge bluez-utils-3.24-conf-vl.patch
440-      << bluez-utils-2.3-conf.patch
441- add trusts.txt(ja)
442- Updated specfile
443
444* Mon Jan 21 2008 Seiichirou Babasaki 3.24-1vl2
445- Updated specfile for (dbus-devel >= 0.90)
446
447* Wed Jan 16 2008 Seiichirou Babasaki 3.24-1vl1
448- Import bluez-utils - Packager: Babasaki
449- Updated specfile for (dbus-devel >= 0.60)
450- Update to 3.24
Note: See TracBrowser for help on using the repository browser.