1ff662a
# No proper release-tags, yet.  :(
1cd2be8
%global commit 7cb788c9c43facfd2d14ff50e16d6a19f033a6a7
1ff662a
%global shortcommit %(c=%{commit}; echo ${c:0:7})
1cd2be8
%global gitdate 20170912
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
99b2bfc
Release:	0.10%{?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
Igor Gnatenko 8d0da89
BuildRequires:  gcc
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
99b2bfc
* Sun Feb 17 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.0-0.10.git20170912.7cb788c
99b2bfc
- Rebuild for readline 8.0
99b2bfc
a9c57f1
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-0.9.git20170912.7cb788c
a9c57f1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
a9c57f1
e4fb8e7
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-0.8.git20170912.7cb788c
e4fb8e7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
e4fb8e7
1cd2be8
* Wed Feb 14 2018 Björn Esser <besser82@fedoraproject.org> - 0.2.0-0.7.git20170912.7cb788c
1cd2be8
- New snapshot
1cd2be8
e92b69b
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-0.6.git20161212.97efd29
e92b69b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
e92b69b
4118a03
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-0.5.git20161212.97efd29
4118a03
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
4118a03
ac061b9
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-0.4.git20161212.97efd29
ac061b9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
ac061b9
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)