f9fba0a
%global modname nbxmpp
7518ec2
%global sum Python library for non-blocking use of Jabber/XMPP
7518ec2
f9fba0a
Name:           python-%{modname}
e1423c8
Version:        0.6.10
42bebee
Release:        3%{?dist}
7518ec2
Summary:        %{sum}
f9fba0a
License:        GPLv3
db386b9
URL:            https://dev.gajim.org/gajim/python-nbxmpp/
db386b9
Source0:        https://dev.gajim.org/gajim/python-nbxmpp/repository/archive.tar.bz2?ref=nbxmpp-%{version}#/%{name}-%{version}.tar.bz2
f9fba0a
BuildArch:      noarch
27250b4
BuildRequires:  python3-devel
7518ec2
7518ec2
%global desc python-nbxmpp is a Python library that provides a way for Python applications\
7518ec2
to use Jabber/XMPP networks in a non-blocking way.\
7518ec2
\
7518ec2
Features:\
7518ec2
- Asynchronous\
7518ec2
- ANONYMOUS, EXTERNAL, GSSAPI, SCRAM-SHA-1, DIGEST-MD5, PLAIN, and\
7518ec2
    X-MESSENGER-OAUTH2 authentication mechanisms.\
7518ec2
- Connection via proxies\
7518ec2
- TLS\
7518ec2
- BOSH (XEP-0124)\
7518ec2
- Stream Management (XEP-0198)
7518ec2
7518ec2
%description
7518ec2
%{desc}
7518ec2
7518ec2
%package -n python3-%{modname}
7518ec2
Summary:        %{sum}
7518ec2
Requires:       python3-pyOpenSSL
7518ec2
Requires:       python3-gobject-base
7518ec2
Recommends:     python3-kerberos
7518ec2
%{?python_provide:%python_provide python3-%{modname}}
7518ec2
7518ec2
%description -n python3-%{modname}
7518ec2
%{desc}
f9fba0a
f9fba0a
%package doc
f9fba0a
Summary:        Developer documentation for %{name}
f9fba0a
f9fba0a
%description doc
7518ec2
%{desc}
f9fba0a
f9fba0a
This sub-package contains the developer documentation for python-nbxmpp.
f9fba0a
f9fba0a
%prep
db386b9
# The upstream gitlab generates tarballs with path prefixes including the git
db386b9
# commit hash. Make the path predictable by stripping the leading component.
db386b9
%setup -T -c %{name}-%{version}
db386b9
tar -xo --strip-components=1 -f %{SOURCE0}
f9fba0a
f9fba0a
%build
f9fba0a
# let's have no executable files in doc/
f9fba0a
find doc/ -type f -perm /111 -exec chmod -x {} +
7518ec2
%{py3_build}
f9fba0a
f9fba0a
%install
7518ec2
%{py3_install}
f9fba0a
7518ec2
%files -n python3-%{modname}
7518ec2
%license COPYING
7518ec2
%doc README ChangeLog
7518ec2
%{python3_sitelib}/%{modname}
7518ec2
%{python3_sitelib}/%{modname}-%{version}-*.egg-info
7518ec2
f9fba0a
%files doc
7518ec2
%license COPYING
7518ec2
%doc doc/*
f9fba0a
f9fba0a
%changelog
42bebee
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.6.10-3
42bebee
- Rebuilt for Python 3.8
42bebee
a59838f
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.10-2
a59838f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
a59838f
e1423c8
* Thu Apr 25 2019 Michal Schmidt <mschmidt@redhat.com> - 0.6.10-1
e1423c8
- Upstream release 0.6.10.
e1423c8
faf0d2b
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.9-2
faf0d2b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
faf0d2b
416bb3d
* Thu Jan 24 2019 Michal Schmidt <mschmidt@redhat.com> - 0.6.9-1
416bb3d
- Upstream release 0.6.9.
416bb3d
ce0cf98
* Wed Nov 14 2018 Michal Schmidt <mschmidt@redhat.com> - 0.6.8-1
ce0cf98
- Upstream release 0.6.8.
ce0cf98
27250b4
* Thu Oct 11 2018 Miro Hrončok <mhroncok@redhat.com> - 0.6.6-4
27250b4
- Python2 binary package has been removed
27250b4
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
27250b4
3eddc43
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.6-3
3eddc43
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
3eddc43
8fe9d33
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.6.6-2
8fe9d33
- Rebuilt for Python 3.7
8fe9d33
67d45b5
* Mon May 21 2018 Michal Schmidt <mschmidt@redhat.com> - 0.6.6-1
67d45b5
- Upstream release 0.6.6.
67d45b5
486b6fa
* Mon Mar 19 2018 Michal Schmidt <mschmidt@redhat.com> - 0.6.4-1
486b6fa
- Upstream release 0.6.4.
486b6fa
ffa7165
* Wed Mar 07 2018 Michal Schmidt <mschmidt@redhat.com> - 0.6.3-1
ffa7165
- Upstream release 0.6.3.
ffa7165
9de168d
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-2
9de168d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
9de168d
fc6d5e7
* Mon Jan 15 2018 Michal Schmidt <mschmidt@redhat.com> - 0.6.2-1
fc6d5e7
- Upstream release 0.6.2.
fc6d5e7
f35cb7b
* Mon Dec 04 2017 Michal Schmidt <mschmidt@redhat.com> - 0.6.1-1
f35cb7b
- Upstream release 0.6.1.
f35cb7b
b7e017e
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.6-2
b7e017e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
b7e017e
8d528e5
* Thu Jun 08 2017 Michal Schmidt <mschmidt@redhat.com> - 0.5.6-1
8d528e5
- Upstream release 0.5.6.
8d528e5
db386b9
* Mon Feb 06 2017 Michal Schmidt <mschmidt@redhat.com> - 0.5.5-1
db386b9
- Upstream release 0.5.5.
db386b9
- New upstream location and tarball format.
db386b9
- Refer to python2-kerberos using its actual package name.
db386b9
475a385
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.5.3-5
475a385
- Rebuild for Python 3.6
475a385
acb43db
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.3-4
acb43db
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
acb43db
7518ec2
* Thu Feb 18 2016 Michal Schmidt <mschmidt@redhat.com> - 0.5.3-3
7518ec2
- Build as both python2-nbxmpp and python3-nbxmpp. (#1309621)
7518ec2
36e7774
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.3-2
36e7774
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
36e7774
babade0
* Mon Jul 27 2015 Matej Cepl <mcepl@redhat.com> - 0.5.3-1
babade0
- Upstream release 0.5.3.
babade0
cd24c6d
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.2-2
cd24c6d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
cd24c6d
764644a
* Mon Mar 02 2015 Michal Schmidt <mschmidt@redhat.com> - 0.5.2-1
764644a
- Upstream bugfix release 0.5.2.
764644a
ec00478
* Thu Oct 16 2014 Michal Schmidt <mschmidt@redhat.com> - 0.5.1-1
ec00478
- New upstream release, required by Gajim 0.16.
ec00478
899d681
* Mon Aug 11 2014 Michal Schmidt <mschmidt@redhat.com> - 0.5-1
899d681
- New upstream release.
899d681
dd75840
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-2
dd75840
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
dd75840
f9fba0a
* Wed Mar 19 2014 Michal Schmidt <mschmidt@redhat.com> - 0.4-1
f9fba0a
- Initial Fedora packaging.