db3d967
# set upstream name variable
db3d967
%global srcname poezio_omemo
db3d967
db3d967
db3d967
Name:           poezio-omemo
08f3d1e
Version:        0.6.0
adbb579
Release:        8%{?dist}
db3d967
Summary:        OMEMO plugin for the Poezio XMPP client
db3d967
db3d967
License:        GPLv3
db3d967
URL:            https://lab.louiz.org/poezio/poezio-omemo
db3d967
Source0:        https://lab.louiz.org/poezio/%{name}/-/archive/v%{version}/%{name}-v%{version}.tar.bz2
db3d967
db3d967
BuildArch:      noarch
db3d967
BuildRequires:  python3-devel
d88b0bd
BuildRequires:  python3-setuptools
db3d967
#BuildRequires:  python3-pytest
db3d967
db3d967
%description
db3d967
This plugin provides OMEMO support for Poezio client.
db3d967
db3d967
OMEMO is an extension of the XMPP protocol defined as XEP-0384. It
db3d967
provides multi-end to multi-end encryption, allowing messages to be
db3d967
synchronized securely across multiple clients, even if some of them
db3d967
are offline.
db3d967
db3d967
db3d967
db3d967
%prep
db3d967
%autosetup -n %{name}-v%{version}
db3d967
# Remove shebang in 2 non-executable files
db3d967
find ./%{srcname}/ -type f '(' -name __init__.py -o -name version.py ')' -ls -exec sed -i 's@#!/usr/bin/env python3@@' '{}' \;
db3d967
db3d967
db3d967
%build
db3d967
%py3_build
db3d967
db3d967
db3d967
%install
db3d967
%py3_install
db3d967
db3d967
db3d967
%check
db3d967
# no tests to run with pytest
db3d967
db3d967
db3d967
db3d967
%files
db3d967
%license LICENSE
db3d967
%doc README.rst ChangeLog CONTRIBUTING.rst
db3d967
# For noarch packages: sitelib
db3d967
%{python3_sitelib}/%{srcname}/
db3d967
%{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info/
db3d967
db3d967
db3d967
db3d967
%changelog
adbb579
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-8
adbb579
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
adbb579
ab43a61
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-7
ab43a61
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
ab43a61
489728f
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-6
489728f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
489728f
c157bf6
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 0.6.0-5
c157bf6
- Rebuilt for Python 3.12
c157bf6
82d5a11
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-4
82d5a11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
82d5a11
57cad8c
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-3
57cad8c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
57cad8c
9985134
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.6.0-2
9985134
- Rebuilt for Python 3.11
9985134
08f3d1e
* Tue Apr 26 2022 Matthieu Saulnier <fantom@fedoraproject.org> - 0.6.0-1
08f3d1e
- Update to 0.6.0
08f3d1e
61e2464
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-3
61e2464
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
61e2464
9f0c5ef
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-2
9f0c5ef
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
9f0c5ef
a2511d6
* Sun Jul 18 2021 Matthieu Saulnier <fantom@fedoraproject.org> - 0.4.1-1
a2511d6
- Update to 0.4.1
a2511d6
24e071a
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.4.0-2
24e071a
- Rebuilt for Python 3.10
24e071a
74b5c1f
* Thu May 20 2021 Matthieu Saulnier <fantom@fedoraproject.org> - 0.4.0-1
74b5c1f
- Update to 0.4.0
74b5c1f
db3d967
* Wed Apr 28 2021 Matthieu Saulnier <fantom@fedoraproject.org> - 0.3.0-2
db3d967
- Package Review RHBZ#1942312:
db3d967
  - Remove shebang in non-executable scripts in %%prep section
db3d967
db3d967
* Tue Mar 23 2021 Matthieu Saulnier <fantom@fedoraproject.org> - 0.3.0-1
db3d967
- Initial package