summaryrefslogtreecommitdiff
path: root/packaging/bluetooth-firmware-bcm.spec
diff options
context:
space:
mode:
authorJaekyun Lee <jkyun.lee@samsung.com>2012-08-21 19:26:50 +0900
committerJaekyun Lee <jkyun.lee@samsung.com>2012-08-21 19:26:50 +0900
commitf4e80f6be243965acd4b0f965da17d4ca473f7d8 (patch)
tree4d06636b05feed8a4bc112f3570b115dadc808de /packaging/bluetooth-firmware-bcm.spec
parent7bdb9d9928109495da4563c5b52cedb7e5ebdd63 (diff)
downloadbluetooth-firmware-bcm-master.tar.gz
bluetooth-firmware-bcm-master.tar.bz2
bluetooth-firmware-bcm-master.zip
Diffstat (limited to 'packaging/bluetooth-firmware-bcm.spec')
-rw-r--r--packaging/bluetooth-firmware-bcm.spec37
1 files changed, 37 insertions, 0 deletions
diff --git a/packaging/bluetooth-firmware-bcm.spec b/packaging/bluetooth-firmware-bcm.spec
new file mode 100644
index 0000000..5c06516
--- /dev/null
+++ b/packaging/bluetooth-firmware-bcm.spec
@@ -0,0 +1,37 @@
+Name: bluetooth-firmware-bcm
+Summary: firmware and tools for bluetooth
+Version: 0.1.3
+Release: 1
+Group: Hardware Support/Handset
+License: Apache
+# NOTE: Source name does not match package name. This should be
+# resolved in the future, by I don't have that power. - Ryan Ware
+Source0: %{name}-%{version}.tar.gz
+
+BuildRequires: pkgconfig(vconf)
+BuildRequires: cmake
+
+%description
+ firmware and tools for bluetooth
+
+
+%prep
+%setup -q
+
+%build
+cmake ./ -DCMAKE_INSTALL_PREFIX=%{_prefix} -DPLUGIN_INSTALL_PREFIX=%{_prefix}
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+
+%files
+%defattr(-,root,root,-)
+%{_bindir}/bcmtool_4330b1
+%{_bindir}/setbd
+%{_prefix}/etc/bluetooth/BCM4330B1_002.001.003.0221.0265.hcd
+%attr(755,-,-) %{_prefix}/etc/bluetooth/bt-dev-end.sh
+%attr(755,-,-) %{_prefix}/etc/bluetooth/bt-dev-start.sh
+%attr(755,-,-) %{_prefix}/etc/bluetooth/bt-set-addr.sh