From 19a281f56e7dc1355d471a3395ae0573b478b7c0 Mon Sep 17 00:00:00 2001 From: Michael Kuhn Date: Jun 02 2022 18:02:39 +0000 Subject: Update to 1.4.3 --- diff --git a/.gitignore b/.gitignore index b061057..74735f8 100644 --- a/.gitignore +++ b/.gitignore @@ -37,3 +37,4 @@ gajim-0.13.4.tar.bz2 /gajim-1.4.0.tar.gz /gajim-1.4.1.tar.gz /gajim-1.4.2.tar.gz +/gajim-1.4.3.tar.gz diff --git a/gajim.spec b/gajim.spec index 876da89..27e7c21 100644 --- a/gajim.spec +++ b/gajim.spec @@ -1,60 +1,57 @@ %global appid org.gajim.Gajim -Summary: Jabber client written in PyGTK -Name: gajim -Version: 1.4.2 -Release: 1%{?dist} -License: GPLv3 -URL: https://gajim.org/ -Source0: https://gajim.org/downloads/1.4/gajim-%{version}.tar.gz -BuildArch: noarch +Name: gajim +Version: 1.4.3 +Release: 1%{?dist} +Summary: Jabber client written in PyGTK +License: GPLv3 +URL: https://gajim.org/ +Source0: https://gajim.org/downloads/1.4/gajim-%{version}.tar.gz + +BuildArch: noarch +BuildRequires: python3-devel +BuildRequires: intltool +BuildRequires: desktop-file-utils +BuildRequires: libappstream-glib ## Hard requirements -# For F28 and F29 the generator is opt-in. In F30 it is opt-out. -%?python_enable_dependency_generator -Requires: python3-gobject -Requires: gtk3 -Requires: hicolor-icon-theme +Requires: python3-gobject +Requires: gtk3 +Requires: hicolor-icon-theme ## Optional, but not too big and not worth exploding the test matrix for # For gajim-remote, desktop notifications, logind, NetworkManager, ... -Requires: python3-dbus +Requires: python3-dbus # For downloading images via proxy or OAUTH2 authentication via proxy -Requires: python3-pycurl +Requires: python3-pycurl ## Optional, roughly in the order listed in upstream README.md # webp avatars -Recommends: python3-pillow +Recommends: python3-pillow # OpenPGP message encryption - Encrypting chat messages with OpenPGP keys -Recommends: python3-gnupg +Recommends: python3-gnupg # Spell checker - Spellchecking of composed messages -Recommends: gspell -Recommends: libsecret +Recommends: gspell +Recommends: libsecret # Audio / Video - Ability to start audio and video chat -Recommends: farstream02 -Recommends: gstreamer1 -Recommends: gstreamer1-plugins-base +Recommends: farstream02 +Recommends: gstreamer1 +Recommends: gstreamer1-plugins-base # UPnP-IGD - Ability to request your router to forward port for file transfer -Recommends: gupnp-igd +Recommends: gupnp-igd # not needed? gajim now uses Gio.NetworkMonitor -#Recommends: NetworkManager-glib +#Recommends: NetworkManager-glib # sharing location -Recommends: geoclue2-libs +Recommends: geoclue2-libs # Desktop notifications (Gajim uses org.freedesktop.Notifications interface) # XXX This just pulls in a random desktop environment implementing the notify interface # (e.g. cinnamon). Even as a weak dependency this is useless. -#Recommends: desktop-notification-daemon +#Recommends: desktop-notification-daemon # Automatic status - Ability to measure idle time, in order to set auto status (lib dlopened using ctypes) # XXX what about wayland? -Recommends: libXScrnSaver +Recommends: libXScrnSaver # RST generator - Generate XHTML output from RST code -Recommends: python3-docutils +Recommends: python3-docutils # Play event sounds -Recommends: /usr/bin/paplay - -BuildRequires: python3-devel -BuildRequires: python3-setuptools -BuildRequires: intltool -BuildRequires: desktop-file-utils -BuildRequires: libappstream-glib +Recommends: /usr/bin/paplay %description Gajim is a Jabber client written in PyGTK. The goal of Gajim's developers is @@ -62,21 +59,24 @@ to provide a full featured and easy to use xmpp client for the GTK+ users. Gajim does not require GNOME to run, even though it exists with it nicely. %prep -%autosetup -n %{name}-%{version} -p1 +%autosetup + +%generate_buildrequires +%pyproject_buildrequires %build -%py3_build +%pyproject_wheel %install -%py3_install +%pyproject_install +%pyproject_save_files gajim desktop-file-validate %{buildroot}/%{_datadir}/applications/%{appid}.desktop appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/%{appid}.appdata.xml %find_lang %{name} -%files -f %{name}.lang -%license COPYING +%files -f %{pyproject_files} -f %{name}.lang %doc %{_mandir}/man1/%{name}.1* %doc %{_mandir}/man1/%{name}-remote.1* %{_bindir}/%{name} @@ -86,10 +86,11 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/%{appid}. %{_datadir}/icons/hicolor/scalable/apps/%{appid}.svg %{_datadir}/icons/hicolor/scalable/apps/%{appid}-symbolic.svg -%{python3_sitelib}/%{name} -%{python3_sitelib}/%{name}-%{version}*.egg-info - %changelog +* Thu Jun 02 2022 Michael Kuhn - 1.4.3-1 +- Update to 1.4.3 +- Update to newer Python packaging guidelines + * Wed May 25 2022 Michael Kuhn - 1.4.2-1 - Update to 1.4.2 diff --git a/sources b/sources index 89afb95..c5e122a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gajim-1.4.2.tar.gz) = d3402b39c9253334523538b86c3e2d6f272f576824048b344a235a12982c53280c3638b0b299c536ed38bcb8648388ba5bea8056c722cc8a5dc5d98012f6d57c +SHA512 (gajim-1.4.3.tar.gz) = 9d0f4f9446ad276ebadc6eb38940c14504984ba27b6d14135bfff29c4f5b62a363c473c36615a41cca30cc2c3a4080320b0c9442f21360403297eb28a364b31e