SHA256
1
0
forked from pool/gajim

- Update to version 1.4.0.

OBS-URL: https://build.opensuse.org/package/show/network/gajim?expand=0&rev=88
This commit is contained in:
Alexei Sorokin 2022-05-15 02:32:00 +00:00 committed by Git OBS Bridge
parent 023c77ce1b
commit 75a5b3baa0
4 changed files with 54 additions and 36 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ddbcbe6aaf36c238e0ca7503034ed0870a5b059a96e9a4f973409ecdeec4678c
size 9886175

3
gajim-1.4.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2db26fb0359f80e8d9f03116b2927f7947d873ebc950cc563195c3f22e56936c
size 8932710

View File

@ -1,3 +1,22 @@
-------------------------------------------------------------------
Sat May 14 21:39:58 UTC 2022 - Alexei Sorokin <sor.alexei@meowr.ru>
- Update to version 1.4.0:
* Rework GUI (Main Window and Chat).
* Integrate Plugin Installer.
* Integrate Image Preview Plugin.
* Integrate Syntax Highlight Plugin.
* Integrate AppIndicator Plugin.
* Allow customising Shortcuts.
* Support Message Moderation in Group Chats.
* Allow administrators to define setting overrides.
* Drop zeroconf support.
* Remove History Manager.
* Remove Single Message Dialogue.
* Group Chat: Move many menu options into details dialogue.
* Bug fixes:
See https://dev.gajim.org/gajim/gajim/-/blob/gajim-1.4.0/ChangeLog#L23
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jan 18 08:50:42 UTC 2022 - Guillaume GARDET <guillaume.gardet@opensuse.org> Tue Jan 18 08:50:42 UTC 2022 - Guillaume GARDET <guillaume.gardet@opensuse.org>

View File

@ -16,45 +16,47 @@
# #
%global __requires_exclude ^typelib\\(AppIndicator3\\)
# Requires at least python 3.9
%define py3ver 3.10
%define py3pkg python310
%define py3pkg_sitelib %{_prefix}/lib/python%{py3ver}/site-packages
Name: gajim Name: gajim
Version: 1.3.3 Version: 1.4.0
Release: 0 Release: 0
Summary: XMPP client written in Python and Gtk3 Summary: XMPP client written in Python and Gtk
License: GPL-3.0-only License: GPL-3.0-only
Group: Productivity/Networking/Talk/Clients Group: Productivity/Networking/Talk/Clients
URL: https://gajim.org/ URL: https://gajim.org/
Source: https://gajim.org/downloads/1.3/gajim-%{version}.tar.gz Source: https://gajim.org/downloads/1.4/gajim-%{version}.tar.gz
BuildRequires: %{py3pkg}-nbxmpp >= 3.0
BuildRequires: %{py3pkg}-precis-i18n >= 1.0.0
BuildRequires: %{py3pkg}-setuptools
BuildRequires: ca-certificates-mozilla BuildRequires: ca-certificates-mozilla
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: gobject-introspection-devel BuildRequires: gobject-introspection-devel
BuildRequires: hicolor-icon-theme BuildRequires: hicolor-icon-theme
BuildRequires: p11-kit-devel BuildRequires: p11-kit-devel
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: python3 >= 3.7.0
BuildRequires: python3-nbxmpp >= 2.0.4
BuildRequires: python3-precis-i18n >= 1.0.0
BuildRequires: python3-setuptools
BuildRequires: update-desktop-files BuildRequires: update-desktop-files
Requires: %{py3pkg}-base
Requires: %{py3pkg}-css-parser
Requires: %{py3pkg}-gobject-Gdk
Requires: %{py3pkg}-gobject-cairo
Requires: %{py3pkg}-keyring
Requires: %{py3pkg}-nbxmpp >= 3.0
Requires: %{py3pkg}-precis-i18n >= 1.0.0
Requires: %{py3pkg}-pyOpenSSL >= 16.2
Requires: %{py3pkg}-pycairo >= 1.16.0
Requires: ca-certificates-mozilla Requires: ca-certificates-mozilla
Requires: python3 >= 3.7.0
Requires: python3-css-parser
Requires: python3-gobject-Gdk
Requires: python3-gobject-cairo
Requires: python3-keyring
Requires: python3-nbxmpp >= 2.0.1
Requires: python3-precis-i18n >= 1.0.0
Requires: python3-pyOpenSSL >= 16.2
Requires: python3-pycairo >= 1.16.0
Requires: typelib(Soup) = 2.4 Requires: typelib(Soup) = 2.4
# WebP avatars.
Recommends: %{py3pkg}-Pillow
# gajim-remote
Recommends: %{py3pkg}-dbus-python
# OMEMO encryption # OMEMO encryption
Recommends: gajim-plugin-omemo Recommends: gajim-plugin-omemo
Recommends: python3-axolotl Recommends: %{py3pkg}-axolotl
# WebP avatars.
Recommends: python3-Pillow
# gajim-remote
Recommends: python3-dbus-python
# zeroconf support.
Suggests: dbus-1-glib
BuildArch: noarch BuildArch: noarch
%description %description
@ -83,22 +85,19 @@ Features:
%lang_package %lang_package
%prep %prep
%setup -q -n %{name}-%{name}-%{version} %setup -q
sed -i '/^Keywords/d' data/org.gajim.Gajim.desktop.in sed -i '/^Keywords/d' data/org.gajim.Gajim.desktop.in
%build %build
python3 setup.py build python%{py3ver} setup.py build
%install %install
python3 setup.py install \ python%{py3ver} setup.py install \
--root=%{buildroot} --prefix=%{_prefix} --root=%{buildroot} --prefix=%{_prefix}
mkdir -p %{buildroot}%{_datadir}/ mkdir -p %{buildroot}%{_datadir}/
mv %{buildroot}{%{python3_sitelib}/%{name}/data,%{_datadir}/%{name}}/ mv %{buildroot}{%{py3pkg_sitelib}/%{name}/data,%{_datadir}/%{name}}/
ln -s %{_datadir}/%{name} %{buildroot}%{python3_sitelib}/%{name}/data ln -s %{_datadir}/%{name} %{buildroot}%{py3pkg_sitelib}/%{name}/data
# Plugins sub-folder must be owned by a package
mkdir %{buildroot}%{_datadir}/%{name}/plugins
%suse_update_desktop_file -r org.gajim.Gajim Network InstantMessaging %suse_update_desktop_file -r org.gajim.Gajim Network InstantMessaging
%fdupes %{buildroot}%{_prefix}/ %fdupes %{buildroot}%{_prefix}/
@ -108,8 +107,8 @@ mkdir %{buildroot}%{_datadir}/%{name}/plugins
%license COPYING %license COPYING
%{_bindir}/%{name}* %{_bindir}/%{name}*
%{_datadir}/%{name}/ %{_datadir}/%{name}/
%{python3_sitelib}/%{name}/ %{py3pkg_sitelib}/%{name}/
%{python3_sitelib}/%{name}-* %{py3pkg_sitelib}/%{name}-*
%{_datadir}/applications/*%{name}*.desktop %{_datadir}/applications/*%{name}*.desktop
%{_datadir}/icons/hicolor/*/apps/*%{name}*.* %{_datadir}/icons/hicolor/*/apps/*%{name}*.*
%dir %{_datadir}/metainfo/ %dir %{_datadir}/metainfo/