]> git.pld-linux.org Git - packages/bluez-kernel.git/blob - bluez-kernel.spec
- updated URL
[packages/bluez-kernel.git] / bluez-kernel.spec
1 # TODO:
2 # - UP/SMP
3 # - dependencies
4 # - conflict with old bluez modules in kernel
5 Summary:        Bluetooth kernel modules
6 Summary(pl):    Modu³y j±dra Bluetooth
7 Name:           bluez-kernel
8 Version:        2.3
9 Release:        1
10 License:        GPL v2
11 Group:          Base/Kernel
12 Source0:        http://bluez.sourceforge.net/download/%{name}-%{version}.tar.gz
13 # Source0-md5:  1193a6242a0b1f607dcdde7aaeb2095c
14 # for 2.4.20
15 Source1:        http://bluez.sourceforge.net/download/hci_usb-031803.tar.gz
16 # Source1-md5:  d53870ee2d3b1b309364a01a799cf87e
17 Patch0:         %{name}-O1.patch
18 URL:            http://www.bluez.org/
19 #BuildRequires: kernel-source >= 2.4.20
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 Bluetooth kernel modules.
24
25 %description -l pl
26 Modu³y j±dra Bluetooth.
27
28 %package -n kernel-net-bluez
29 Summary:        Bluetooth kernel modules
30 Summary(pl):    Modu³y j±dra Bluetooth
31 Group:          Base/Kernel
32
33 %description -n kernel-net-bluez
34 Bluetooth kernel modules.
35
36 %description -n kernel-net-bluez -l pl
37 Modu³y j±dra Bluetooth.
38
39 %prep
40 %setup -q
41 %patch0 -p1
42 tar xzf %{SOURCE1} -C drivers
43
44 %build
45 # autoconf 2.5x uses "rm -rf core", thus removing core directory
46 %configure2_13
47 %{__make}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51
52 %{__make} install \
53         DESTDIR=$RPM_BUILD_ROOT \
54         DEPMOD=/bin/true
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files -n kernel-net-bluez
60 %defattr(644,root,root,755)
61 %doc AUTHORS README doc/modules.txt
62 /lib/modules/*/kernel/drivers/bluetooth
63 /lib/modules/*/kernel/misc/*.o*
64 /lib/modules/*/kernel/net/bluetooth
This page took 0.055478 seconds and 3 git commands to generate.