]> git.pld-linux.org Git - packages/bluez-utils.git/blobdiff - bluez-utils.spec
- updated status section from r1.12
[packages/bluez-utils.git] / bluez-utils.spec
index e9fd8e9608f46d3b5581cf99265a9d5334b20a1b..a904d5366dc89f3dd54f99bddfaa2593e1992fc2 100644 (file)
@@ -1,34 +1,39 @@
 Summary:       Bluetooth utilities
 Summary(pl):   Narzêdzia Bluetooth
 Name:          bluez-utils
-Version:       2.25
-Release:       4
+Version:       3.7
+Release:       1
 Epoch:         0
 License:       GPL v2
 Group:         Applications/System
+#Source0Download: http://www.bluez.org/download.html
 Source0:       http://bluez.sourceforge.net/download/%{name}-%{version}.tar.gz
-# Source0-md5: ae3729ab5592be06ed01b973d4b3e9fe
+# Source0-md5: 89f7290907d098163a2fa59a55dfafe7
 Source1:       %{name}.init
 Source2:       %{name}.sysconfig
 Source3:       %{name}-udev.rules
 Source4:       %{name}-udev.script
 Patch0:                %{name}-etc_dir.patch
-Patch1:                %{name}-invalid-timeval.patch
-Patch2:                %{name}-poll-timeout.patch
-URL:           http://bluez.sourceforge.net/
+URL:           http://www.bluez.org/
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: bison
-BuildRequires: bluez-libs-devel >= 2.25
-BuildRequires: dbus-devel >= 0.33
+BuildRequires: bluez-libs-devel >= 3.7
+BuildRequires: dbus-glib-devel >= 0.35
 BuildRequires: libtool
 BuildRequires: libusb-devel
+BuildRequires: pkgconfig
 BuildRequires: rpmbuild(macros) >= 1.268
-# alsa-lib-devel, openobex-devel - currently only checked for, not used
-Requires:      bluez-libs >= 2.21
+# for future use (ALSA plugins not finished)
+#BuildRequires:        alsa-lib-devel >= 0.9
+# for future use (fuse module is just testing stub now)
+#BuildRequires:        libfuse-devel
+#BuildRequires:        openobex-devel >= 1.1
+Requires:      bluez-libs >= 3.7
 Requires:      rc-scripts
 Obsoletes:     bluez-pan
 Obsoletes:     bluez-sdp
+Obsoletes:     bluez-utils-init
 Conflicts:     bluez-bluefw
 ExcludeArch:   s390 s390x
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -62,7 +67,7 @@ Narz
 Summary:       Bluetooth backend for CUPS
 Summary(pl):   Backend Bluetooth dla CUPS-a
 Group:         Applications/Printing
-Requires:      bluez-libs >= 2.21
+Requires:      bluez-libs >= 3.7
 Requires:      cups
 
 %description -n cups-backend-bluetooth
@@ -87,8 +92,6 @@ Skrypt init dla podsystemu Bluetooth.
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
-%patch2 -p1
 
 %build
 %{__libtoolize}
@@ -96,9 +99,11 @@ Skrypt init dla podsystemu Bluetooth.
 %{__autoconf}
 %{__automake}
 %configure \
-       --enable-bcm203x \
+       --enable-avctrl \
+       --enable-bccmd \
        --enable-cups \
-       --enable-pcmcia \
+       --enable-dfutool \
+       --enable-pcmciarules \
        --with-cups=/usr
 %{__make} \
        cupsdir=%{cupsdir}
@@ -110,12 +115,16 @@ install -d $RPM_BUILD_ROOT{/etc/udev/rules.d,/lib/udev}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT \
-       cupsdir=%{cupsdir}
+       cupsdir=%{cupsdir} \
+       udevdir=/lib/udev
 
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/bluetooth
 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/bluetooth
 install %{SOURCE3} $RPM_BUILD_ROOT/etc/udev/rules.d/70-bluetooth.rules
 install %{SOURCE4} $RPM_BUILD_ROOT/lib/udev/bluetooth.sh
+install hcid/passkey-agent $RPM_BUILD_ROOT/%{_bindir}
+mv $RPM_BUILD_ROOT/etc/udev/bluetooth.rules \
+       $RPM_BUILD_ROOT/etc/udev/rules.d/71-bluetooth.rules
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -136,21 +145,19 @@ fi
 %attr(755,root,root) %{_bindir}/*
 %attr(755,root,root) %{_sbindir}/*
 %{_mandir}/man*/*
+
+%attr(754,root,root) /etc/rc.d/init.d/bluetooth
+%attr(755,root,root) /lib/udev/bluetooth.sh
+%attr(755,root,root) /lib/udev/bluetooth_serial
+%config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/70-bluetooth.rules
+%config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/71-bluetooth.rules
+
+%dir /etc/bluetooth
+%dir /etc/sysconfig/bluetooth
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/bluetooth
-%dir %{_sysconfdir}/bluetooth
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bluetooth/*
-%attr(755,root,root) %{_sysconfdir}/hotplug/usb/bcm203x
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dbus-1/system.d/*
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/hotplug/usb/bcm203x.usermap
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/pcmcia/bluetooth
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/pcmcia/bluetooth.conf
 
 %files -n cups-backend-bluetooth
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_prefix}/lib/cups/backend/bluetooth
-
-%files init
-%defattr(644,root,root,755)
-%attr(754,root,root) /etc/rc.d/init.d/bluetooth
-%attr(755,root,root) /lib/udev/bluetooth.sh
-%config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/70-bluetooth.rules
This page took 0.027615 seconds and 4 git commands to generate.