From 1ff662ae41963ddd9d0d5ac2ef49bfa4f9cf8a96 Mon Sep 17 00:00:00 2001 From: Björn Esser Date: Feb 21 2017 14:38:16 +0000 Subject: Initial import (rhbz#1424772) --- diff --git a/.gitignore b/.gitignore index e69de29..4a406bf 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,4 @@ +*~ +*.rpm +*.tar* +results_*/ diff --git a/bluez-tools.spec b/bluez-tools.spec new file mode 100644 index 0000000..d7493fe --- /dev/null +++ b/bluez-tools.spec @@ -0,0 +1,65 @@ +# No proper release-tags, yet. :( +%global commit 97efd293491ad7ec96a655665339908f2478b3d1 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global gitdate 20161212 +%global git_ver -git%{gitdate}.%{shortcommit} +%global git_rel .git%{gitdate}.%{shortcommit} + + +Name: bluez-tools +Version: 0.2.0 +Release: 0.2%{?dist} +Summary: A set of tools to manage Bluetooth devices for Linux + +License: GPLv2+ +URL: https://github.com/khvzak/%{name} +Source0: %{url}/archive/%{commit}.tar.gz#/%{name}-%{version}%{?git_ver}.tar.gz + +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: glib2-devel +BuildRequires: readline-devel + +Requires: bluez%{?_isa} + +%description +This was a GSoC'10 project to implement a new command line tools for +bluez (Bluetooth stack for Linux). It is currently an active open +source project. + +The project is implemented in C and uses the D-Bus interface of bluez. + +The project is still a work in progress, and not all APIs from Bluez +have been implemented as a part of bluez-tools. The APIs which have +been implemented in bluez-tools are adapter, agent, device, network +and obex. Other APIs, such as interfaces for medical devices, +pedometers and other specific APIs have not been ported to bluez-tools. + + +%prep +%autosetup -n %{name}-%{commit} -p 1 +%{_bindir}/autoreconf -fiv + + +%build +%configure +%make_build + + +%install +%make_install + + +%files +%license AUTHORS COPYING +%doc ChangeLog README +%{_bindir}/bt-* +%{_mandir}/man1/bt-* + + +%changelog +* Sun Feb 19 2017 Björn Esser - 0.2.0-0.2 +- Initial import (rhbz#1424772) + +* Sun Feb 19 2017 Björn Esser - 0.2.0-0.1 +- Initial rpm-release (rhbz#1424772) diff --git a/sources b/sources index e69de29..8b74c4d 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +SHA512 (bluez-tools-0.2.0-git20161212.97efd29.tar.gz) = ab5dd4a223348aab29fae22f552afae989b74d56c3fa46fd5587c100d63309649a10a87591bc040082545f45b7bb95360fcf6a48812012edbdb93570b0e166f7