1 Summary: Bluetooth utilities
6 Group: Applications/System
7 Source0: http://bluez.sourceforge.net/download/%{name}-%{version}.tar.gz
8 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
9 URL: http://bluez.sourceforge.net
10 BuildRequires: bluez-libs-devel >= 2.0
11 Requires(post,preun): /sbin/chkconfig
12 ExcludeArch: s390 s390x
15 Bluetooth utilities (bluez-utils):
21 - start scripts (RedHat)
22 - pcmcia configuration files
24 The BLUETOOTH trademarks are owned by Bluetooth SIG, Inc., U.S.A.
28 rm -rf $RPM_BUILD_ROOT
42 rm -rf $RPM_BUILD_ROOT
43 %{__make} install DESTDIR=$RPM_BUILD_ROOT \
44 confdir=%{_sysconfdir}/bluetooth \
46 %{__make} -C scripts \
47 DESTDIR=$RPM_BUILD_ROOT \
51 rm -rf $RPM_BUILD_ROOT
54 /sbin/chkconfig --add bluetooth
57 if [ "$1" = "0" ]; then
58 if [ -f /var/lock/subsys/bluetooth ]; then
59 /etc/rc.d/init.d/bluetooth stop 1>&2
61 /sbin/chkconfig --del bluetooth
65 %defattr(644,root,root,755)
66 %doc AUTHORS ChangeLog README
67 /etc/rc.d/init.d/bluetooth
68 %attr(755,root,root) %{_bindir}/*
69 %attr(755,root,root) %{_sbindir}/*
71 %dir %{_sysconfdir}/bluetooth/
72 %config %{_sysconfdir}/bluetooth/*
73 %config %{_sysconfdir}/pcmcia/bluetooth.conf
74 %config %{_sysconfdir}/pcmcia/bluetooth