update version to 3.2.5
This commit is contained in:
parent
fd601db4c6
commit
0fc77b1eeb
BIN
nbxmpp-3.2.5.tar.gz
Normal file
BIN
nbxmpp-3.2.5.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
@ -1,15 +1,18 @@
|
||||
%global modname nbxmpp
|
||||
%global _empty_manifest_terminate_build 0
|
||||
%global sum Python library for non-blocking use of Jabber/XMPP
|
||||
|
||||
Name: python-%{modname}
|
||||
Version: 0.6.10
|
||||
Release: 2%{?dist}
|
||||
Summary: %{sum}
|
||||
License: GPLv3
|
||||
URL: https://dev.gajim.org/gajim/python-nbxmpp/
|
||||
Source0: https://dev.gajim.org/gajim/python-nbxmpp/repository/archive.tar.bz2?ref=nbxmpp-%{version}#/%{name}-%{version}.tar.bz2
|
||||
BuildArch: noarch
|
||||
BuildRequires: python3-devel
|
||||
Name: python-nbxmpp
|
||||
Version: 3.2.5
|
||||
Release: 1
|
||||
Summary: %{sum}
|
||||
License: GPL-3.0-only
|
||||
URL: https://dev.gajim.org/gajim/python-nbxmpp/
|
||||
Source0: https://files.pythonhosted.org/packages/80/90/3dede782468b7e1512a992e7255e5ea32b870039ef26210e15482ad6cdba/nbxmpp-3.2.5.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
Requires: python3-precis-i18n
|
||||
Requires: python3-packaging
|
||||
Requires: python3-idna
|
||||
|
||||
%global desc python-nbxmpp is a Python library that provides a way for Python applications\
|
||||
to use Jabber/XMPP networks in a non-blocking way.\
|
||||
@ -26,49 +29,65 @@ Features:\
|
||||
%description
|
||||
%{desc}
|
||||
|
||||
%package -n python3-%{modname}
|
||||
Summary: %{sum}
|
||||
Requires: python3-pyOpenSSL
|
||||
Requires: python3-gobject-base
|
||||
%package -n python3-nbxmpp
|
||||
Summary: %{sum}
|
||||
Recommends: python3-kerberos
|
||||
%{?python_provide:%python_provide python3-%{modname}}
|
||||
|
||||
%description -n python3-%{modname}
|
||||
Provides: python-nbxmpp = %{version}-%{release}
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
%description -n python3-nbxmpp
|
||||
%{desc}
|
||||
|
||||
%package doc
|
||||
Summary: Developer documentation for %{name}
|
||||
|
||||
%description doc
|
||||
%package help
|
||||
Summary: Development documents and examples for nbxmpp
|
||||
Provides: python3-nbxmpp-doc
|
||||
%description help
|
||||
%{desc}
|
||||
|
||||
This sub-package contains the developer documentation for python-nbxmpp.
|
||||
|
||||
%prep
|
||||
# The upstream gitlab generates tarballs with path prefixes including the git
|
||||
# commit hash. Make the path predictable by stripping the leading component.
|
||||
%setup -T -c %{name}-%{version}
|
||||
tar -xo --strip-components=1 -f %{SOURCE0}
|
||||
%autosetup -n nbxmpp-%{version}
|
||||
|
||||
%build
|
||||
# let's have no executable files in doc/
|
||||
find doc/ -type f -perm /111 -exec chmod -x {} +
|
||||
%{py3_build}
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
%{py3_install}
|
||||
%py3_install
|
||||
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
||||
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
||||
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
||||
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
|
||||
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
|
||||
pushd %{buildroot}
|
||||
if [ -d usr/lib ]; then
|
||||
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
|
||||
fi
|
||||
if [ -d usr/lib64 ]; then
|
||||
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
|
||||
fi
|
||||
if [ -d usr/bin ]; then
|
||||
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
|
||||
fi
|
||||
if [ -d usr/sbin ]; then
|
||||
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
|
||||
fi
|
||||
touch doclist.lst
|
||||
if [ -d usr/share/man ]; then
|
||||
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
|
||||
fi
|
||||
popd
|
||||
mv %{buildroot}/filelist.lst .
|
||||
mv %{buildroot}/doclist.lst .
|
||||
|
||||
%files -n python3-%{modname}
|
||||
%license COPYING
|
||||
%doc README ChangeLog
|
||||
%{python3_sitelib}/%{modname}
|
||||
%{python3_sitelib}/%{modname}-%{version}-*.egg-info
|
||||
%files -n python3-nbxmpp -f filelist.lst
|
||||
%dir %{python3_sitelib}/*
|
||||
|
||||
%files doc
|
||||
%license COPYING
|
||||
%doc doc/*
|
||||
%files help -f doclist.lst
|
||||
%{_docdir}/*
|
||||
|
||||
%changelog
|
||||
* Tue Nov 22 2022 wangjunqi <wangjunqi@kylinos.cn> - 3.2.5-1
|
||||
- Update package to version 3.2.5
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.10-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user