]> git.pld-linux.org Git - packages/bluez-kernel.git/blob - bluez-kernel.spec
1258663822f13e2e2333497822a38ec9432ea6de
[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 # for 2.4.20
14 Source1:        http://bluez.sourceforge.net/download/hci_usb-031803.tar.gz
15 Patch0:         %{name}-O1.patch
16 URL:            http://bluez.sourceforge.net/
17 #BuildRequires: kernel-source >= 2.4.20
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 Bluetooth kernel modules.
22
23 %description -l pl
24 Modu³y j±dra Bluetooth.
25
26 %package -n kernel-net-bluez
27 Summary:        Bluetooth kernel modules
28 Summary(pl):    Modu³y j±dra Bluetooth
29 Group:          Base/Kernel
30
31 %description -n kernel-net-bluez
32 Bluetooth kernel modules.
33
34 %description -n kernel-net-bluez -l pl
35 Modu³y j±dra Bluetooth.
36
37 %prep
38 %setup -q
39 %patch0 -p1
40 tar xzf %{SOURCE1} -C drivers
41
42 %build
43 # autoconf 2.5x uses "rm -rf core", thus removing core directory
44 %configure2_13
45 %{__make}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49
50 %{__make} install \
51         DESTDIR=$RPM_BUILD_ROOT \
52         DEPMOD=/bin/true
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files -n kernel-net-bluez
58 %defattr(644,root,root,755)
59 %doc AUTHORS README doc/modules.txt
60 /lib/modules/*/kernel/drivers/bluetooth
61 /lib/modules/*/kernel/misc/*.o*
62 /lib/modules/*/kernel/net/bluetooth
This page took 0.234057 seconds and 3 git commands to generate.