1 Summary: Bluetooth utilities
2 Summary(pl): Narzêdzia Bluetooth
7 Group: Applications/System
8 Source0: http://bluez.sourceforge.net/download/%{name}-%{version}.tar.gz
9 URL: http://bluez.sourceforge.net/
10 BuildRequires: autoconf
11 BuildRequires: automake
12 BuildRequires: bluez-libs-devel >= 2.0
13 BuildRequires: libtool
14 Requires(post,preun): /sbin/chkconfig
15 ExcludeArch: s390 s390x
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 Bluetooth utilities (bluez-utils):
26 - PCMCIA configuration files
28 The BLUETOOTH trademarks are owned by Bluetooth SIG, Inc., U.S.A.
31 Narzêdzia Bluetooth (bluez-utils):
37 - skrypty startowe (PLD)
38 - pliki konfiguracji PCMCIA
53 rm -rf $RPM_BUILD_ROOT
55 DESTDIR=$RPM_BUILD_ROOT \
56 confdir=%{_sysconfdir}/bluetooth \
59 %{__make} -C scripts \
60 DESTDIR=$RPM_BUILD_ROOT \
64 rm -rf $RPM_BUILD_ROOT
67 /sbin/chkconfig --add bluetooth
68 if [ -f /var/lock/subsys/bluetooth ]; then
69 /etc/rc.d/init.d/bluetooth restart >&2
71 echo "Run \"/etc/rc.d/init.d/bluetooth\" to start bluetooth." >&2
75 if [ "$1" = "0" ]; then
76 if [ -f /var/lock/subsys/bluetooth ]; then
77 /etc/rc.d/init.d/bluetooth stop 1>&2
79 /sbin/chkconfig --del bluetooth
83 %defattr(644,root,root,755)
84 %doc AUTHORS ChangeLog README
85 %attr(754,root,root) /etc/rc.d/init.d/bluetooth
86 %attr(755,root,root) %{_bindir}/*
87 %attr(755,root,root) %{_sbindir}/*
89 %dir %{_sysconfdir}/bluetooth
90 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/bluetooth/*
91 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/pcmcia/bluetooth.conf
92 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/pcmcia/bluetooth