diff options
author | Jinkun Jang <jinkun.jang@samsung.com> | 2013-03-13 01:45:47 +0900 |
---|---|---|
committer | Jinkun Jang <jinkun.jang@samsung.com> | 2013-03-13 01:45:47 +0900 |
commit | eba58829d3e6ff09b42e4a468ea65e716c8c3e14 (patch) | |
tree | 812821bd69ff84bbd13b4c8b59a10f28bdae6896 /packaging | |
parent | f7d3bd8b3884553bbe42d6ece32974d3e26281ee (diff) | |
download | bluetooth-eba58829d3e6ff09b42e4a468ea65e716c8c3e14.tar.gz bluetooth-eba58829d3e6ff09b42e4a468ea65e716c8c3e14.tar.bz2 bluetooth-eba58829d3e6ff09b42e4a468ea65e716c8c3e14.zip |
Tizen 2.1 base
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/capi-network-bluetooth.spec | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/packaging/capi-network-bluetooth.spec b/packaging/capi-network-bluetooth.spec new file mode 100644 index 0000000..fdd266c --- /dev/null +++ b/packaging/capi-network-bluetooth.spec @@ -0,0 +1,59 @@ +#sbs-git:slp/api/bluetooth capi-network-bluetooth 0.1.0 686c444083e4197845c768e5dd034022b1dfa250 +Name: capi-network-bluetooth +Summary: Network Bluetooth Framework +Version: 0.1.39 +Release: 1 +Group: TO_BE/FILLED_IN +License: Apache License, Version 2.0 +Source0: %{name}-%{version}.tar.gz +Requires(post): eglibc +Requires(postun): eglibc + +BuildRequires: pkgconfig(dbus-glib-1) +BuildRequires: pkgconfig(dlog) +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(vconf) +BuildRequires: pkgconfig(bluetooth-api) +BuildRequires: pkgconfig(capi-base-common) + +BuildRequires: cmake + + +%description +Network Bluetooth Framework + +%package devel +Summary: Network Bluetooth Framework (DEV) +Group: TO_BE/FILLED +Requires: %{name} = %{version}-%{release} + +%description devel +Network Bluetooth Framework (DEV). + +%prep +%setup -q + +%build +MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'` +cmake . -DCMAKE_INSTALL_PREFIX=/usr -DFULLVER=%{version} -DMAJORVER=${MAJORVER} + +make %{?jobs:-j%jobs} + +%install +rm -rf %{buildroot} +%make_install + + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%manifest bluetooth.manifest +%{_libdir}/libcapi-network-bluetooth.so.* + +%files devel +%{_includedir}/network/bluetooth.h +%{_libdir}/pkgconfig/capi-network-bluetooth.pc +%{_libdir}/libcapi-network-bluetooth.so + |