|
|
9d86f20 |
%global srcname pygatt
|
|
|
9d86f20 |
|
|
|
9d86f20 |
Name: python-pygatt
|
|
|
9d86f20 |
Version: 3.0.0
|
|
|
c2aae3b |
Release: 3%{?dist}
|
|
|
9d86f20 |
Summary: A Python Module for Bluetooth LE Generic Attribute Profile
|
|
|
9d86f20 |
|
|
|
9d86f20 |
License: ASL 2.0
|
|
|
9d86f20 |
URL: https://github.com/peplin/pygatt
|
|
|
9d86f20 |
Source0: https://files.pythonhosted.org/packages/source/p/%{srcname}/%{srcname}-%{version}.tar.gz
|
|
|
9d86f20 |
BuildArch: noarch
|
|
|
9d86f20 |
|
|
|
9d86f20 |
BuildRequires: python2-devel
|
|
|
9d86f20 |
BuildRequires: python2-setuptools
|
|
|
c2aae3b |
BuildRequires: python2-nose
|
|
|
719d0fa |
BuildRequires: python2-coverage
|
|
|
9d86f20 |
BuildRequires: python3-devel
|
|
|
9d86f20 |
BuildRequires: python3-setuptools
|
|
|
c2aae3b |
BuildRequires: python3-nose
|
|
|
719d0fa |
BuildRequires: python3-coverage
|
|
|
9d86f20 |
|
|
|
9d86f20 |
Requires: bluez
|
|
|
9d86f20 |
|
|
|
9d86f20 |
%description
|
|
|
9d86f20 |
This Module allows reading and writing to GATT descriptors on devices such as
|
|
|
9d86f20 |
fitness trackers, sensors, and anything implementing standard GATT Descriptor
|
|
|
9d86f20 |
behavior.
|
|
|
9d86f20 |
|
|
|
9d86f20 |
pygatt wraps BlueZ's 'gatttool' command-line utility with a Pythonic API.
|
|
|
9d86f20 |
|
|
|
9d86f20 |
%package -n python2-%{srcname}
|
|
|
9d86f20 |
Summary: %{summary}
|
|
|
9d86f20 |
Requires: python2-pexpect
|
|
|
9d86f20 |
Requires: python2-serial
|
|
|
9d86f20 |
Requires: python2-enum34
|
|
|
9d86f20 |
Requires: bluez
|
|
|
9d86f20 |
%{?python_provide:%python_provide python2-%{srcname}}
|
|
|
9d86f20 |
|
|
|
9d86f20 |
%description -n python2-%{srcname}
|
|
|
9d86f20 |
This Module allows reading and writing to GATT descriptors on devices such as
|
|
|
9d86f20 |
fitness trackers, sensors, and anything implementing standard GATT Descriptor
|
|
|
9d86f20 |
behavior.
|
|
|
9d86f20 |
|
|
|
9d86f20 |
pygatt wraps BlueZ's 'gatttool' command-line utility with a Pythonic API.
|
|
|
9d86f20 |
|
|
|
9d86f20 |
%package -n python3-%{srcname}
|
|
|
9d86f20 |
Summary: %{summary}
|
|
|
9d86f20 |
Requires: python3-pexpect
|
|
|
9d86f20 |
Requires: python3-serial
|
|
|
9d86f20 |
Requires: bluez
|
|
|
9d86f20 |
%{?python_provide:%python_provide python3-%{srcname}}
|
|
|
9d86f20 |
|
|
|
9d86f20 |
%description -n python3-%{srcname}
|
|
|
9d86f20 |
This Module allows reading and writing to GATT descriptors on devices such as
|
|
|
9d86f20 |
fitness trackers, sensors, and anything implementing standard GATT Descriptor
|
|
|
9d86f20 |
behavior.
|
|
|
9d86f20 |
|
|
|
9d86f20 |
pygatt wraps BlueZ's 'gatttool' command-line utility with a Pythonic API.
|
|
|
9d86f20 |
|
|
|
9d86f20 |
%prep
|
|
|
9d86f20 |
%autosetup -n %{srcname}-%{version}
|
|
|
9d86f20 |
|
|
|
9d86f20 |
%build
|
|
|
9d86f20 |
%py2_build
|
|
|
9d86f20 |
%py3_build
|
|
|
9d86f20 |
|
|
|
9d86f20 |
%install
|
|
|
9d86f20 |
%py2_install
|
|
|
9d86f20 |
%py3_install
|
|
|
9d86f20 |
|
|
|
9d86f20 |
%files -n python2-%{srcname}
|
|
|
9d86f20 |
%doc README.mkd
|
|
|
9d86f20 |
%license LICENSE
|
|
|
9d86f20 |
%{python2_sitelib}/%{srcname}/
|
|
|
9d86f20 |
%{python2_sitelib}/*.egg-info
|
|
|
9d86f20 |
|
|
|
9d86f20 |
%files -n python3-%{srcname}
|
|
|
9d86f20 |
%doc README.mkd
|
|
|
9d86f20 |
%license LICENSE
|
|
|
9d86f20 |
%{python3_sitelib}/%{srcname}/
|
|
|
9d86f20 |
%{python3_sitelib}/*.egg-info
|
|
|
9d86f20 |
|
|
|
9d86f20 |
%changelog
|
|
|
c2aae3b |
* Mon Jan 23 2017 Fabian Affolter <mail@fabian-affolter.ch> - 3.0.0-3
|
|
|
c2aae3b |
- Fix BR
|
|
|
c2aae3b |
|
|
|
9d86f20 |
* Tue Jan 17 2017 Fabian Affolter <mail@fabian-affolter.ch> - 3.0.0-2
|
|
|
9d86f20 |
- Change source URL
|
|
|
9d86f20 |
- Update requirements
|
|
|
9d86f20 |
|
|
|
9d86f20 |
* Thu Nov 17 2016 Fabian Affolter <mail@fabian-affolter.ch> - 3.0.0-1
|
|
|
9d86f20 |
- Update to latest Python guidelines
|
|
|
9d86f20 |
|
|
|
9d86f20 |
* Fri Sep 16 2016 Fabian Affolter <mail@fabian-affolter.ch> - 2.1.0-1
|
|
|
9d86f20 |
- Update to latest upstream release 2.1.0
|
|
|
9d86f20 |
|
|
|
9d86f20 |
* Tue Mar 22 2016 Fabian Affolter <mail@fabian-affolter.ch> - 2.0.1-1
|
|
|
9d86f20 |
- Update py3
|
|
|
9d86f20 |
- Update to latest upstream release 2.0.1
|
|
|
9d86f20 |
|
|
|
9d86f20 |
* Wed Jun 03 2015 Fabian Affolter <mail@fabian-affolter.ch> - 1.0.1-1
|
|
|
9d86f20 |
- Update to latest upstream release 1.0.1
|
|
|
9d86f20 |
|
|
|
9d86f20 |
* Thu Mar 12 2015 Fabian Affolter <mail@fabian-affolter.ch> - 1.0.0-1
|
|
|
9d86f20 |
- Initial spec
|