Blame bluez-tools.spec

1ff662a
# No proper release-tags, yet.  :(
1ff662a
%global commit 97efd293491ad7ec96a655665339908f2478b3d1
1ff662a
%global shortcommit %(c=%{commit}; echo ${c:0:7})
1ff662a
%global gitdate 20161212
1ff662a
%global git_ver -git%{gitdate}.%{shortcommit}
1ff662a
%global git_rel .git%{gitdate}.%{shortcommit}
1ff662a
1ff662a
1ff662a
Name:		bluez-tools
1ff662a
Version:	0.2.0
66ef26c
Release:	0.3%{?git_rel}%{?dist}
1ff662a
Summary:	A set of tools to manage Bluetooth devices for Linux
1ff662a
1ff662a
License:	GPLv2+
1ff662a
URL:		https://github.com/khvzak/%{name}
1ff662a
Source0:	%{url}/archive/%{commit}.tar.gz#/%{name}-%{version}%{?git_ver}.tar.gz
1ff662a
1ff662a
BuildRequires:	autoconf
1ff662a
BuildRequires:	automake
1ff662a
BuildRequires:	glib2-devel
1ff662a
BuildRequires:	readline-devel
1ff662a
1ff662a
Requires:	bluez%{?_isa}
1ff662a
1ff662a
%description
1ff662a
This was a GSoC'10 project to implement a new command line tools for
1ff662a
bluez (Bluetooth stack for Linux).  It is currently an active open
1ff662a
source project.
1ff662a
1ff662a
The project is implemented in C and uses the D-Bus interface of bluez.
1ff662a
1ff662a
The project is still a work in progress, and not all APIs from Bluez
1ff662a
have been implemented as a part of bluez-tools.  The APIs which have
1ff662a
been implemented in bluez-tools are adapter, agent, device, network
1ff662a
and obex.  Other APIs, such as interfaces for medical devices,
1ff662a
pedometers and other specific APIs have not been ported to bluez-tools.
1ff662a
1ff662a
1ff662a
%prep
1ff662a
%autosetup -n %{name}-%{commit} -p 1
1ff662a
%{_bindir}/autoreconf -fiv
1ff662a
1ff662a
1ff662a
%build
1ff662a
%configure
1ff662a
%make_build
1ff662a
1ff662a
1ff662a
%install
1ff662a
%make_install
1ff662a
1ff662a
1ff662a
%files
1ff662a
%license AUTHORS COPYING
1ff662a
%doc ChangeLog README
1ff662a
%{_bindir}/bt-*
1ff662a
%{_mandir}/man1/bt-*
1ff662a
1ff662a
1ff662a
%changelog
66ef26c
* Wed Mar 01 2017 Björn Esser <besser82@fedoraproject.org> - 0.2.0-0.3.git20161212.97efd29
66ef26c
- Append %%{?git_rel} to Release-tag
66ef26c
1ff662a
* Sun Feb 19 2017 Björn Esser <besser82@fedoraproject.org> - 0.2.0-0.2
1ff662a
- Initial import (rhbz#1424772)
1ff662a
1ff662a
* Sun Feb 19 2017 Björn Esser <besser82@fedoraproject.org> - 0.2.0-0.1
1ff662a
- Initial rpm-release (rhbz#1424772)