Blame python-gattlib.spec

f6d6e0f
%global modname gattlib
f6d6e0f
f6d6e0f
Name:               python-gattlib
1a4ac64
Version:            0.20201113
87bd0f5
Release:            3%{?dist}
f6d6e0f
Summary:            Library to access Bluetooth LE devices
f6d6e0f
f6d6e0f
License:            ASL 2.0 and GPLv2+ and LGPLv2+
f6d6e0f
# main package under ASL 2.0
f6d6e0f
# src/bluez under GPLv2+ and LGPLv2+
1a4ac64
URL:                https://github.com/oscaracena/pygattlib
fae3d08
Source0:            https://files.pythonhosted.org/packages/source/g/%{modname}/%{modname}-%{version}.tar.gz
f6d6e0f
Source1:	    COPYING
a172043
Patch0:             018d852f860c415bf68897820570432ba9b0ba04.patch
f6d6e0f
2379c62
BuildRequires:      gcc-c++
2379c62
f6d6e0f
%description
f6d6e0f
%{summary}.
f6d6e0f
f6d6e0f
%package -n python%{python3_pkgversion}-%{modname}
f6d6e0f
Summary:            %{summary}
f6d6e0f
%{?python_provide:%python_provide python%{python3_pkgversion}-%{modname}}
f6d6e0f
BuildRequires:      python%{python3_pkgversion}-devel
f6d6e0f
BuildRequires:      python%{python3_pkgversion}-setuptools
f6d6e0f
BuildRequires:      boost-python3-devel
f6d6e0f
BuildRequires:      glib2-devel
f6d6e0f
BuildRequires:      bluez-libs-devel
f6d6e0f
f6d6e0f
%description -n python%{python3_pkgversion}-%{modname}
f6d6e0f
%{summary}.
f6d6e0f
f6d6e0f
Python %{python3_version} version.
f6d6e0f
f6d6e0f
%prep
a172043
%autosetup -n %{modname}-%{version} -p1
f6d6e0f
cp %{S:1} .
f6d6e0f
f6d6e0f
find . -type f | xargs chmod -x
f6d6e0f
f6d6e0f
%build
f6d6e0f
%py3_build
f6d6e0f
f6d6e0f
%install
f6d6e0f
%py3_install
f6d6e0f
f6d6e0f
%check
f6d6e0f
%{__python3} setup.py test
f6d6e0f
f6d6e0f
%files -n python%{python3_pkgversion}-%{modname}
f6d6e0f
%license COPYING
f6d6e0f
%{python3_sitearch}/gattlib*
f6d6e0f
%{python3_sitearch}/%{modname}*.egg-info/
f6d6e0f
f6d6e0f
%changelog
a172043
* Wed Mar 03 2021 Gwyn Ciesla <gwync@protonmail.com> - 0.20201113-4
a172043
- Patch for deadlock issue.
a172043
87bd0f5
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.20201113-3
87bd0f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
87bd0f5
c98a23e
* Fri Jan 22 2021 Jonathan Wakely <jwakely@redhat.com> - 0.20201113-2
c98a23e
- Rebuilt for Boost 1.75
c98a23e
1a4ac64
* Fri Nov 13 2020 Gwyn Ciesla <gwync@protonmail.com> - 0.20201113-1
1a4ac64
- 0.20201113
1a4ac64
fd4dcdb
* Tue Sep 29 2020 Gwyn Ciesla <gwync@protonmail.com> - 0.20200929-1
fd4dcdb
- 0.20200929
fd4dcdb
661035f
* Fri Sep 25 2020 Gwyn Ciesla <gwync@protonmail.com> - 0.20200925-1
661035f
- 0.20200925
661035f
7b76ab3
* Tue Sep 15 2020 Gwyn Ciesla <gwync@protonmail.com> - 0.20200915-1
7b76ab3
- 0.20200915
7b76ab3
74607e0
* Mon Sep 14 2020 Gwyn Ciesla <gwync@protonmail.com> - 0.20200914-1
74607e0
- 0.20200914
74607e0
48ffb1e
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.20200122-4
48ffb1e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
48ffb1e
456905a
* Sat May 30 2020 Jonathan Wakely <jwakely@redhat.com> - 0.20200122-3
456905a
- Rebuilt for Boost 1.73
456905a
661722b
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.20200122-2
661722b
- Rebuilt for Python 3.9
661722b
f4ca475
* Wed Jan 22 2020 Gwyn Ciesla <gwync@protonmail.com> - 0.20200122-1
f4ca475
- 0.20200122
f4ca475
fae3d08
* Tue Jan 21 2020 Gwyn Ciesla <gwync@protonmail.com> - 0.20200121-1
fae3d08
- 0.20200121
fae3d08
512f5ec
* Fri Jan 17 2020 Gwyn Ciesla <gwync@protonmail.com> - 0.20200117-1.post3
512f5ec
- 0.2020017.post3
512f5ec
8763934
* Sat Nov 02 2019 Gwyn Ciesla <gwync@protonmail.com> - 0.20150805-12
8763934
- Drop Python 2.
8763934
e897993
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.20150805-11
e897993
- Rebuilt for Python 3.8
e897993
67c3890
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.20150805-10
67c3890
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
67c3890
f9b421d
* Wed May 22 2019 Gwyn Ciesla <gwync@protonmail.com> - 0.20180805-9
f9b421d
- Update patch to fix 3.8 FTBFS.
f9b421d
fbb4c90
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.20150805-8
fbb4c90
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
fbb4c90
69c35e3
* Tue Jan 29 2019 Jonathan Wakely <jwakely@redhat.com> - 0.20150805-7
69c35e3
- Patch for Boost.Python library names in Boost 1.69.0
69c35e3
2541427
* Fri Jan 25 2019 Jonathan Wakely <jwakely@redhat.com> - 0.20150805-7
2541427
- Rebuilt for Boost 1.69
2541427
192a30e
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.20150805-6
192a30e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
192a30e
578f143
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.20150805-5
578f143
- Rebuilt for Python 3.7
578f143
1eb345b
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.20150805-4
1eb345b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
1eb345b
6ce87a3
* Tue Jan 23 2018 Jonathan Wakely <jwakely@redhat.com> - 0.20150805-3
6ce87a3
- Rebuilt for Boost 1.66
6ce87a3
f6d6e0f
* Tue Dec 12 2017 Gwyn Ciesla <limburgher@gmail.com> - 0.20150805-2
f6d6e0f
- License clarification.
f6d6e0f
f6d6e0f
* Mon Dec 11 2017 Gwyn Ciesla <limburgher@gmail.com> - 0.20150805-1
f6d6e0f
- Add license file, fix URL, explain patch.
f6d6e0f
f6d6e0f
* Mon Dec 11 2017 Gwyn Ciesla <limburgher@gmail.com> - 0.20150805-0
f6d6e0f
- Initial package.