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 Patch0: %{name}-home_etc.patch
10 URL: http://bluez.sourceforge.net/
11 BuildRequires: autoconf
12 BuildRequires: automake
13 BuildRequires: bluez-libs-devel >= 2.0
14 BuildRequires: libtool
15 Requires(post,preun): /sbin/chkconfig
16 ExcludeArch: s390 s390x
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 Bluetooth utilities (bluez-utils):
27 - PCMCIA configuration files
29 The BLUETOOTH trademarks are owned by Bluetooth SIG, Inc., U.S.A.
32 Narzêdzia Bluetooth (bluez-utils):
38 - skrypty startowe (PLD)
39 - pliki konfiguracji PCMCIA
55 rm -rf $RPM_BUILD_ROOT
57 DESTDIR=$RPM_BUILD_ROOT \
58 confdir=%{_sysconfdir}/bluetooth \
61 %{__make} -C scripts \
62 DESTDIR=$RPM_BUILD_ROOT \
66 rm -rf $RPM_BUILD_ROOT
69 /sbin/chkconfig --add bluetooth
70 if [ -f /var/lock/subsys/bluetooth ]; then
71 /etc/rc.d/init.d/bluetooth restart >&2
73 echo "Run \"/etc/rc.d/init.d/bluetooth\" to start bluetooth." >&2
77 if [ "$1" = "0" ]; then
78 if [ -f /var/lock/subsys/bluetooth ]; then
79 /etc/rc.d/init.d/bluetooth stop 1>&2
81 /sbin/chkconfig --del bluetooth
85 %defattr(644,root,root,755)
86 %doc AUTHORS ChangeLog README
87 %attr(754,root,root) /etc/rc.d/init.d/bluetooth
88 %attr(755,root,root) %{_bindir}/*
89 %attr(755,root,root) %{_sbindir}/*
91 %dir %{_sysconfdir}/bluetooth
92 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/bluetooth/*
93 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/pcmcia/bluetooth.conf
94 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/pcmcia/bluetooth