summaryrefslogtreecommitdiffstats
path: root/utils.spec
diff options
context:
space:
mode:
Diffstat (limited to 'utils.spec')
-rw-r--r--utils.spec36
1 files changed, 19 insertions, 17 deletions
diff --git a/utils.spec b/utils.spec
index e4fb930b..8d8c40fb 100644
--- a/utils.spec
+++ b/utils.spec
@@ -2,7 +2,7 @@
%define ver 2.8
%define RELEASE 1
%define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
-%define prefix /
+%define prefix /usr
Summary: Bluetooth utilities
Name: bluez-utils
@@ -16,7 +16,7 @@ Source: http://bluez.sf.net/download/%{name}-%{ver}.tar.gz
Patch0: %{name}-%{ver}.patch
BuildRoot: /var/tmp/%{name}-%{PACKAGE_VERSION}-root
URL: http://www.bluez.org
-Docdir: %{prefix}/usr/share/doc
+Docdir: %{prefix}/share/doc
Requires: glibc >= 2.2.4
Requires: bluez-libs >= 2.8
BuildRequires: glibc >= 2.2.4
@@ -63,26 +63,28 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
-/etc/init.d/bluetooth
-/etc/default/bluetooth
-/usr/bin/hcitool
-/usr/bin/l2ping
-/usr/bin/bluepin
-/usr/bin/rfcomm
-/usr/sbin/hciattach
-/usr/sbin/hciconfig
-/usr/sbin/hcid
-/usr/sbin/sdpd
-/usr/bin/dund
-/usr/bin/pand
-/usr/bin/hidd
-/usr/bin/sdptool
-/usr/bin/ciptool
+%{_sysconfdir}/init.d/bluetooth
+%{_sysconfdir}/default/bluetooth
+%{_bindir}/hcitool
+%{_bindir}/l2ping
+%{_bindir}/bluepin
+%{_bindir}/rfcomm
+%{_sbindir}/hciattach
+%{_sbindir}/hciconfig
+%{_sbindir}/hcid
+%{_sbindir}/hid2hci
+%{_sbindir}/sdpd
+%{_bindir}/dund
+%{_bindir}/pand
+%{_bindir}/hidd
+%{_bindir}/sdptool
+%{_bindir}/ciptool
%{_mandir}/man8/hciattach.8.gz
%{_mandir}/man8/hciconfig.8.gz
%{_mandir}/man5/hcid.conf.5.gz
%{_mandir}/man8/hcid.8.gz
%{_mandir}/man8/sdpd.8.gz
+%{_mandir}/man8/hid2hci.8.gz
%{_mandir}/man1/dund.1.gz
%{_mandir}/man1/pand.1.gz
%{_mandir}/man1/hcitool.1.gz