tizen beta release
[adaptation/devices/bluetooth-firmware-bcm.git] / packaging / bt-firmware-43xx.spec
1
2 Name:       bt-firmware-43xx
3 Summary:    Tools and scripts for Bluetooth stack
4 Version:    0.1.0
5 Release:    1
6 Group:      TO_BE/FILLED_IN
7 License:    GPL
8 Source0:    %{name}-%{version}.tar.gz
9
10 BuildRequires:  pkgconfig(dbus-glib-1)
11 BuildRequires:  pkgconfig(glib-2.0)
12 BuildRequires:  pkgconfig(vconf)
13 BuildRequires:  cmake
14
15 %description
16 Tools and scripts for Bluetooth stack
17
18 %prep
19 %setup -q
20
21 %build
22 export CFLAGS+=" $CFLAGS -fpie"
23 export LDFLAGS+=" -Wl,--rpath=/usr/lib -Wl,--as-needed -Wl,--unresolved-symbols=ignore-in-shared-libs -pie"
24 cmake . -DCMAKE_INSTALL_PREFIX=/usr -DPLUGIN_INSTALL_PREFIX=/usr
25
26
27 %install
28 rm -rf %{buildroot}
29 %make_install
30
31
32 %files
33 /etc/rc.d/init.d/*
34 /lib/firmware/*
35 /usr/bin/*
36 /usr/etc/bluetooth/*