diff options
Diffstat (limited to 'packaging/capi-network-bluetooth.spec')
-rw-r--r-- | packaging/capi-network-bluetooth.spec | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/packaging/capi-network-bluetooth.spec b/packaging/capi-network-bluetooth.spec new file mode 100644 index 0000000..b99a09a --- /dev/null +++ b/packaging/capi-network-bluetooth.spec @@ -0,0 +1,53 @@ +Name: capi-network-bluetooth +Summary: Network Bluetooth Framework +Version: 0.1.0 +Release: 1 +Group: TO_BE/FILLED_IN +License: TO BE FILLED IN +Source0: %{name}-%{version}.tar.gz +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig + +BuildRequires: pkgconfig(dbus-glib-1) +BuildRequires: pkgconfig(dlog) +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(vconf) +BuildRequires: pkgconfig(bluetooth-api) +BuildRequires: 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 +cmake . -DCMAKE_INSTALL_PREFIX=/usr + +make %{?jobs:-j%jobs} + +%install +rm -rf %{buildroot} +%make_install + + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +/usr/lib/*.so + +%files devel +/usr/include/* +/usr/lib/pkgconfig/capi-network-bluetooth.pc |