%global version_l10n 1.5.1646 Name: psi-plus Version: 1.5.1650 Release: 5%{?dist} Epoch: 1 # GPL-2.0-or-later - core project. # LGPL-2.1-or-later - iris library, widgets, several tools. # Zlib - bundled minizip library. # MIT - bundled http-parser and qhttp libraries. # Apache-2.0 - bundled libqite library. License: GPL-2.0-or-later AND LGPL-2.1-or-later AND Zlib AND MIT AND Apache-2.0 Summary: Jabber client based on Qt URL: https://%{name}.com Source0: https://github.com/%{name}/%{name}-snapshots/archive/%{version}/%{name}-%{version}.tar.gz Source1: https://github.com/%{name}/%{name}-l10n/archive/%{version_l10n}/%{name}-l10n-%{version_l10n}.tar.gz # https://github.com/psi-plus/psi-plus-snapshots/commit/6e034d189f1687a65f246d207dd6b014fe291b31 Patch100: %{name}-1.5.1650-gcc14-fixes.patch BuildRequires: cmake(Qca-qt5) BuildRequires: cmake(Qt5Core) BuildRequires: cmake(Qt5DBus) BuildRequires: cmake(Qt5Gui) BuildRequires: cmake(Qt5Keychain) BuildRequires: cmake(Qt5LinguistTools) BuildRequires: cmake(Qt5Multimedia) BuildRequires: cmake(Qt5Network) BuildRequires: cmake(Qt5Svg) BuildRequires: cmake(Qt5X11Extras) BuildRequires: cmake(Qt5Xml) BuildRequires: cmake(Qt5XmlPatterns) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gstreamer-1.0) BuildRequires: pkgconfig(gstreamer-app-1.0) BuildRequires: pkgconfig(gstreamer-audio-1.0) BuildRequires: pkgconfig(gstreamer-base-1.0) BuildRequires: pkgconfig(gstreamer-video-1.0) BuildRequires: pkgconfig(hunspell) BuildRequires: pkgconfig(libidn) BuildRequires: pkgconfig(libotr) BuildRequires: pkgconfig(libsignal-protocol-c) BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(tidy) BuildRequires: pkgconfig(usrsctp) BuildRequires: pkgconfig(xscrnsaver) BuildRequires: pkgconfig(zlib) BuildRequires: cmake BuildRequires: desktop-file-utils BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: libappstream-glib BuildRequires: libgcrypt-devel BuildRequires: ninja-build Requires: %{name}-common = %{?epoch:%{epoch}:}%{version}-%{release} Requires: %{name}-plugins%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} Requires: hicolor-icon-theme Requires: qca-qt5-gnupg%{?_isa} Requires: qca-qt5-ossl%{?_isa} Provides: bundled(http-parser) = 2.9.4 Provides: bundled(iris) = 0~git Provides: bundled(libqite) = 0~git Provides: bundled(minizip) = 1.2.11 Provides: bundled(qhttp) = 2.0.0 %description %{name} is the premiere Instant Messaging application designed for Microsoft Windows, Apple Mac OS X and GNU/Linux. Built upon an open protocol named Jabber, %{name} is a fast and lightweight messaging client that utilises the best in open source technologies. %{name} contains all the features necessary to chat, with no bloated extras that slow your computer down. The Jabber protocol provides gateways to other protocols as AIM, ICQ, MSN and Yahoo!. %package common License: GPLv2+ Summary: Common assets for %{name} BuildArch: noarch Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} Provides: %{name}-i18n = %{?epoch:%{epoch}:}%{version}-%{release} Obsoletes: %{name}-i18n < %{?epoch:%{epoch}:}%{version}-%{release} Provides: %{name}-icons = %{?epoch:%{epoch}:}%{version}-%{release} Obsoletes: %{name}-icons < %{?epoch:%{epoch}:}%{version}-%{release} %description common This package contains architecture-agnostic common assets (language packs, icons, themes, skins, etc.) for %{name}. %package plugins # GPLv2+ is used for the most plugins. # BSD - screenshot plugin. License: GPLv2+ and BSD Summary: Additional plugins for %{name} Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} %description plugins This package adds additional plugins to %{name}. %prep %autosetup -n %{name}-snapshots-%{version} -p1 # Unpacking tarball with additional locales... tar -xf %{SOURCE1} %{name}-l10n-%{version_l10n}/translations --strip=1 # Removing bundled libraries... rm -rf iris/src/jdns %build %cmake -G Ninja \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_DEMO:BOOL=OFF \ -DBUILD_PSIMEDIA:BOOL=ON \ -DBUNDLED_QCA:BOOL=OFF \ -DBUNDLED_USRSCTP:BOOL=OFF \ -DCHAT_TYPE:STRING=BASIC \ -DENABLE_PLUGINS:BOOL=ON \ -DINSTALL_EXTRA_FILES:BOOL=ON \ -DINSTALL_PLUGINS_SDK:BOOL=OFF \ -DLIMIT_X11_USAGE:BOOL=ON \ -DPRODUCTION:BOOL=ON \ -DUSE_ASPELL:BOOL=OFF \ -DUSE_CRASH:BOOL=OFF \ -DUSE_DBUS:BOOL=ON \ -DUSE_ENCHANT:BOOL=OFF \ -DUSE_HUNSPELL:BOOL=ON \ -DUSE_KEYCHAIN:BOOL=ON \ -DUSE_X11:BOOL=ON \ -DUSE_XSS:BOOL=ON %cmake_build %install %cmake_install %find_lang psi --with-qt rm -rf %{buildroot}%{_datadir}/%{name}/COPYING %check appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{name}.appdata.xml desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop %files %license COPYING %doc README %{_bindir}/%{name} %dir %{_datadir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/apps/%{name}.png %{_datadir}/pixmaps/%{name}.png %{_metainfodir}/%{name}.appdata.xml %files common -f psi.lang %{_datadir}/%{name}/certs %{_datadir}/%{name}/iconsets %{_datadir}/%{name}/skins %{_datadir}/%{name}/sound %{_datadir}/%{name}/*.{txt,html} %files plugins %{_libdir}/%{name} %changelog * Fri Jul 19 2024 Fedora Release Engineering - 1:1.5.1650-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jan 26 2024 Fedora Release Engineering - 1:1.5.1650-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 1:1.5.1650-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 1:1.5.1650-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Mon Jun 05 2023 Vitaly Zaitsev - 1:1.5.1650-1 - Updated to version 1.5.1650. * Mon Feb 06 2023 Vitaly Zaitsev - 1:1.5.1645-1 - Updated to version 1.5.1645. * Fri Jan 20 2023 Fedora Release Engineering - 1:1.5.1644-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Tue Nov 15 2022 Vitaly Zaitsev - 1:1.5.1644-1 - Updated to version 1.5.1644. * Wed Oct 12 2022 Vitaly Zaitsev - 1:1.5.1642-1 - Updated to version 1.5.1642. * Fri Sep 02 2022 Vitaly Zaitsev - 1:1.5.1640-1 - Updated to version 1.5.1640. * Fri Jul 22 2022 Fedora Release Engineering - 1:1.5.1633-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 22 2022 Vitaly Zaitsev - 1:1.5.1633-1 - Updated to version 1.5.1633. * Sat May 14 2022 Vitaly Zaitsev - 1:1.5.1625-1 - Updated to version 1.5.1625. * Tue Mar 29 2022 Vitaly Zaitsev - 1:1.5.1618-1 - Updated to version 1.5.1618. * Sat Jan 29 2022 Vitaly Zaitsev - 1:1.5.1600-1 - Updated to version 1.5.1600. * Fri Jan 21 2022 Fedora Release Engineering - 1:1.5.1596-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Dec 21 2021 Vitaly Zaitsev - 1:1.5.1596-1 - Updated to version 1.5.1596. * Sat Nov 20 2021 Vitaly Zaitsev - 1:1.5.1582-1 - Updated to version 1.5.1582. * Sat Oct 30 2021 Vitaly Zaitsev - 1:1.5.1557-1 - Updated to version 1.5.1557. * Tue Sep 14 2021 Sahana Prasad - 1:1.5.1554-2 - Rebuilt with OpenSSL 3.0.0 * Sun Sep 12 2021 Vitaly Zaitsev - 1:1.5.1554-1 - Updated to version 1.5.1554. * Sat Aug 21 2021 Vitaly Zaitsev - 1:1.5.1552-1 - Updated to version 1.5.1552. * Fri Jul 23 2021 Vitaly Zaitsev - 1:1.5.1550-1 - Updated to version 1.5.1550. * Fri Jul 23 2021 Fedora Release Engineering - 1:1.5.1548-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Thu Jul 15 2021 Vitaly Zaitsev - 1:1.5.1548-2 - Rebuilt due to libtidy soversion bump. * Mon Jun 14 2021 Vitaly Zaitsev - 1:1.5.1548-1 - Updated to version 1.5.1548. * Fri Jun 04 2021 Vitaly Zaitsev - 1:1.5.1546-1 - Updated to version 1.5.1546. * Tue Apr 20 2021 Vitaly Zaitsev - 1:1.5.1484-1 - Updated to version 1.5.1484. * Thu Feb 18 2021 Vitaly Zaitsev - 1:1.5.1480-1 - Updated to version 1.5.1480. * Wed Jan 27 2021 Fedora Release Engineering - 1:1.5.1477-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jan 13 2021 Vitaly Zaitsev - 1:1.5.1477-1 - Updated to version 1.5.1477. * Mon Dec 7 2020 Vitaly Zaitsev - 1:1.4.1555-1 - Updated to version 1.4.1555. * Sat Oct 31 2020 Vitaly Zaitsev - 1:1.4.1529-1 - Updated to version 1.4.1529. * Sat Oct 31 2020 Vitaly Zaitsev - 1:1.4.1526-1 - Updated to version 1.4.1526. * Fri Oct 30 2020 Vitaly Zaitsev - 1:1.4.1523-1 - Updated to version 1.4.1523. * Thu Oct 15 2020 Vitaly Zaitsev - 1:1.4.1515-1 - Updated to version 1.4.1515. * Fri Sep 25 2020 Vitaly Zaitsev - 1:1.4.1511-1 - Updated to version 1.4.1511. * Sat Sep 05 2020 Vitaly Zaitsev - 1:1.4.1490-1 - Updated to version 1.4.1490. * Fri Jul 31 2020 Vitaly Zaitsev - 1:1.4.1472-2 - Added virtual provides for the bundled libraries. * Fri Jul 31 2020 Vitaly Zaitsev - 1:1.4.1472-1 - Updated to version 1.4.1472. - Performed major SPEC cleanup and unification. - Switched from QtWebKit to QtWebEngine. - Enabled voice and video plugin. * Tue Jul 28 2020 Fedora Release Engineering - 1:1.4.654-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jan 30 2020 Fedora Release Engineering - 1:1.4.654-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 1:1.4.654-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun May 12 2019 Raphael Groner - 1:1.4.654-4 - drop gmailplugin from description as deprecated * Sat Apr 20 2019 Christian Dersch - 1:1.4.654-3 - enable OMEMO plugin as we have libsignal-protocol-c now * Sat Apr 13 2019 Raphael Groner - 1:1.4.654-2 - apply patch from psi.spec for new minizip pkg in F30+, use bundled instead * Sat Apr 13 2019 Raphael Groner - 1:1.4.654-1 - use latest snapshot * Wed Apr 10 2019 Raphael Groner - 1:1.4.652-1 - use latest snapshot * Tue Apr 09 2019 Raphael Groner - 1:1.4.650-1 - new version - notice and drop new-history patch merged into psi-im upstream - mention new URL as wished by upstream - revert useless cosmetic change to minizip dependency, see 1:1.3.408-2 * Sat Feb 02 2019 Fedora Release Engineering - 1:1.3.408-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Sep 04 2018 Patrik Novotný - 1:1.3.408-2 - change requires to minizip-compat(-devel), rhbz#1609830, rhbz#1615381 * Wed Aug 22 2018 Raphael Groner - 1:1.3.408-1 - new version - modernize generally - improve packages description - use cmake - drop patch for psimedia because it does not work with cmake - omit omemoplugin due to unmet dependency * Fri Jul 13 2018 Fedora Release Engineering - 1:1.0-0.7.20170612git9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Igor Gnatenko - 1:1.0-0.6.20170612git9 - Escape macros in %%changelog * Fri Feb 09 2018 Fedora Release Engineering - 1:1.0-0.5.20170612git9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sun Aug 13 2017 Ivan Romanov - 1:1.0-0.4.20170612git9 - Fix Fedora 27 building * Thu Aug 03 2017 Fedora Release Engineering - 1:1.0-0.3.20170612git9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1:1.0-0.2.20170612git9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon Jun 12 2017 Ivan Romanov - 1:1.0-0.1.20170612git9 - Bump version to 1.0 and r9 * Sat Feb 11 2017 Fedora Release Engineering - 1:0.16-0.27.20151216git476 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sat Apr 23 2016 Ivan Romanov - 1:0.16-0.26.20151216git476 - Just rebuild (#1314900) * Thu Feb 04 2016 Fedora Release Engineering - 1:0.16-0.25.20151216git476 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Mon Feb 01 2016 Rex Dieter 1:0.16-0.24.20151216git476 - use %%qmake_qt5/%%qmake_qt4 macros to ensure proper build flags * Tue Dec 15 2015 Ivan Romanov - 1:0.16-0.23.20151216git476 - Bump to r476 - Add Qt5 support - Increase minimum qconf version * Wed Nov 18 2015 Rex Dieter 1:0.16-0.22 - rebuild (tidy) * Thu Oct 22 2015 Ivan Romanov - 1:0.16-0.21.20141205git440 - fixed qjdns BR for F22 * Tue Oct 20 2015 Ivan Romanov - 1:0.16-0.20.20141205git440 - set correct plugins permissions - Filter out plugins from provides * Mon Oct 19 2015 Ivan Romanov - 1:0.16-0.19.20141205git440 - Dropped .R suffix from changelog for Fedora review purposes - Added license test to common subpackage * Sat Oct 17 2015 Ivan Romanov - 1:0.16-0.18.20141205git440.R - no %%make_build in epel7 - no qjdns-qt4 in epel7 * Sat Oct 17 2015 Ivan Romanov - 1:0.16-0.17.20141205git440.R - dropped version for bundled iris - added hicolor-icon-theme to Requires - fixed post, postun and posttrans scriptlets - moved noarch resources to common subpackage - moved desktop-file-validate to %%check section - use %%global instead of %%define - preserve timestamp - use modern %%make_build - some fixes with licensies - fixed %%{_libdir}/psi-plus is not owned any package - fix duplicated /usr/share/psi-plus - remove bundled jdns - fix rpmlint spurious-executable-perm * Wed Oct 14 2015 Ivan Romanov - 1:0.16-0.16.20141205git440.R - use %%license tag * Tue Oct 13 2015 Ivan Romanov - 1:0.16-0.15.20141205git440.R - provide bundled iris * Thu Aug 27 2015 Ivan Romanov - 1:0.16-0.14.20141205git440.R - qjdns renamed * Thu Jun 11 2015 Ivan Romanov - 1:0.16-0.13.20141205git440.R - no qca-gnupg in epel7 - use pkgpath(...) style in BR * Fri Dec 5 2014 Ivan Romanov - 1:0.16-0.12.20141205git440.R - updated to r440 - updated history patch - updated generate-tarball.sh * Wed Jun 11 2014 Ivan Romanov - 1:0.16-0.11.20140611git366.R - updated to r366 - use system qjdns - dropped obsoletes Group tag * Tue Jan 28 2014 Ivan Romanov - 1:0.16-0.10.20140128git271.R - updated to r271 - updated psi-new-history patch * Thu Oct 24 2013 Ivan Romanov - 1:0.16-0.9.20131024git242.R - updated to r242 - added libidn to BR - otr plugin now is stable - dropped yandexnarod plugin * Thu Apr 11 2013 Ivan Romanov - 1:0.16-0.8.20130412git109.R - updated to r109 * Mon Feb 11 2013 Ivan Romanov - 1:0.16-0.7.20130212git90.R - updated to r90 * Wed Jan 30 2013 Ivan Romanov - 1:0.16-0.6.20130131git75.R - updated to r75 * Wed Jan 30 2013 Ivan Romanov - 1:0.16-0.5.20130131git72.R - update to r72 * Wed Jan 30 2013 Ivan Romanov - 1:0.16-0.4.20130130git71.R - updated to r71 - changes in psi-plus-psimedia patch * Thu Jan 24 2013 Ivan Romanov - 1:0.16-0.3.20130124git61.R - updated to r61 - added devel plugins. psto and otr. - uses url for l10n tarball instead of local one - i18n has no arch - added libtidy and libotr BR for otrplugin - added patch to make working psimedia with psi-plus * Mon Oct 29 2012 Ivan Romanov - 1:0.16-0.2.20121029git29.R - updated to r29 - dropped %%defattr * Sat Oct 27 2012 Ivan Romanov - 1:0.16-0.1.20121027git21.R - updated to version 0.16 rev 21 - added many translations - new i18n subpackage - improved generate-tarball script - bundled qca was dropped from upstream * Mon Jun 25 2012 Ivan Romanov - 1:0.15-0.25.20120625git5339.R - update to r5339 - new Gnome3 Support Plugin * Sat Mar 17 2012 Ivan Romanov - 1:0.15-0.24.20120314git5253.R - %%{?dist} allready has R suffix. * Wed Mar 14 2012 Ivan Romanov - 1:0.15-0.23.20120314git5253.R - updated to r5253 - corrected comment for Source0 - added %%{?_isa} to requires - less rpmlint warnings - clarified qt version in BuildRequires - use system minizip - explicity removed bundled qca - psi-plus russian translation new home * Fri Dec 23 2011 Ivan Romanov - 0.15-0.22.20111220git5157.R - reverted Webkit - updated to r5157 - new Yandex Narod plugin - Video Status plugin now is generic - new place for tarball * Fri Nov 18 2011 Ivan Romanov - 0.15-0.21.20110919git5117.R - special for RFRemix 16. workaround to fix the bug 804. * Sun Oct 09 2011 Ivan Romanov - 0.15-0.20.20110919git5117.R - update to r5117 - dropped buildroot tag - separated iconsets, skins, sounds and themes to standalone packages - add generate-tarball scripts to make psi-plus source tarball - skins plugin merged with plugins - russian translated moved to github - dropped README and COPYING from wrong site - moved source tarball * Tue Jun 21 2011 Ivan Romanov - 0.15-0.19.20110621svn4080 - update to r4080 - explaining for licenses - compile all language files instead of only psi_ru.ts - dropped useless rm from install stage - dropped packager - added checking of desktop file * Mon May 30 2011 Ivan Romanov - 0.15-0.18.20110530svn3954 - update to r3954 - now will be used only .bz2 archives insted .gz - moved psimedia to standalone package - added skipped %%{?_smp_mflags} to plugins building - removed unusual desktop-file-utils. Really .desktop file will be installed in make install stage - removed clean stage - added whiteboarding - added themes subpackage - new plugins: Client Switcher, Gomoku Game, Extended Menu, Jabber Disk, PEP Change Notify, Video Status - dropped hint flags from Required * Wed Jan 19 2011 Ivan Romanov - 0.15-0.17.20110119svn3559 - all 'psi' dirs and files renamed to 'psi-plus' - removed conflicts tag - added psimedia sub-package - update to r3559 * Sun Jan 09 2011 Ivan Romanov - 0.15-0.16.20110110svn3465 - some a bit fixes - update to r3465 * Sat Dec 18 2010 Ivan Romanov - 0.15-0.15.20101218svn3411 - update to r3411 * Tue Nov 16 2010 Ivan Romanov - 0.15-0.14.20101116svn3216 - update to r3216 - removed libproxy from reques * Mon Nov 01 2010 Ivan Romanov - 0.15-0.13.20101102svn3143 - update to r3143 - split main package to psi-plus-skins and psi-plus-icons * Wed Oct 06 2010 Ivan Romanov - 0.15-0.12.20101006svn3066 - update to r3066 - removed obsoletes tags - psi-plus now conflicts with psi * Fri Sep 10 2010 Ivan Romanov - 0.15-0.11.20100919svn3026 - update to r3026 - added to obsoletes psi-i18n - added Content Downloader Plugin - added Captcha Plugin - remove smiles. * Thu Aug 12 2010 Ivan Romanov - 0.15-0.10.20100812svn2812 - update to r2812 * Wed Aug 04 2010 Ivan Romanov - 0.15-0.9.20100804svn2794 - update to r2794 * Mon Jul 26 2010 Ivan Romanov - 0.15-0.8.20100726svn2752 - update to r2752 * Mon Jul 5 2010 Ivan Romanov - 0.15-0.7.20100705svn2636 - fix for working with psimedia - update to r2636 * Tue Jun 29 2010 Ivan Romanov - 0.15-0.6.20100629svn2620 - update to r2620 * Fri Jun 04 2010 Ivan Romanov - 0.15-0.6.20100603svn2507 - fix translations - update to r2507 * Thu Jun 03 2010 Ivan Romanov - 0.15-0.5.20100603svn2500 - added skins - update to r2500 * Thu May 20 2010 Arkady L. Shane - 0.15-0.4.20100520svn2439 - new Ivan Romanov build * Tue Mar 02 2010 Arkady L. Shane - 0.15-0.3.20100122svn1671 - rebuilt with openssl * Sat Jan 30 2010 Arkady L. Shane - 0.15-0.20100122svn1671 - initial Psi+ build