commit 8ff880273f202823ef444cd85073434c22e89c1f
Author: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Thu Jun 18 11:46:22 2020 +0200
Updated to version 2.1.12.
.gitignore | 1 +
sources | 2 +-
telegram-desktop.spec | 21 ++++++++++++++++-----
3 files changed, 18 insertions(+), 6 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index b7316ad..166691b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -143,3 +143,4 @@
/tdesktop-2.1.7-full.tar.gz
/tdesktop-2.1.10-full.tar.gz
/tdesktop-2.1.11-full.tar.gz
+/tdesktop-2.1.12-full.tar.gz
diff --git a/sources b/sources
index f5b6096..5e659cd 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (tdesktop-2.1.11-full.tar.gz) =
9f2fba2814a5ab64f946913e32fce66dbc842d9607cbaee00994689ef6a661a04c2a8de5e075fc532e7d8926b51432c06c2b1510b019d729eef40da373d91d42
+SHA512 (tdesktop-2.1.12-full.tar.gz) =
961f7e4900f782d58d5d1b1045590a7029777c3daa8d26f47a61663de9ab0c3c3cdfa7507c0710af2fb231e480ffe67de0bcbd61b72acb751ae8133b73d86cff
diff --git a/telegram-desktop.spec b/telegram-desktop.spec
index 84c19b9..9e1619a 100644
--- a/telegram-desktop.spec
+++ b/telegram-desktop.spec
@@ -1,6 +1,7 @@
# Build conditionals (with - OFF, without - ON)...
%bcond_without rlottie
%bcond_without ipo
+%bcond_with gtk3
%bcond_with clang
# Telegram Desktop's constants...
@@ -20,8 +21,8 @@
%endif
Name: telegram-desktop
-Version: 2.1.11
-Release: 2%{?dist}
+Version: 2.1.12
+Release: 1%{?dist}
# Application and 3rd-party modules licensing:
# * Telegram Desktop - GPLv3+ with OpenSSL exception -- main tarball;
@@ -40,6 +41,7 @@ Requires: hicolor-icon-theme
Requires: open-sans-fonts
# Short alias for the main package...
+Provides: telegram = %{?epoch:%{epoch}:}%{version}-%{release}
Provides: telegram%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
# Telegram Desktop require patched version of rlottie since 1.8.0.
@@ -92,6 +94,11 @@ BuildRequires: clang
BuildRequires: llvm
%endif
+%if %{with gtk3}
+BuildRequires: gtk3-devel
+Requires: gtk3%{?_isa}
+%endif
+
%description
Telegram is a messaging app with a focus on speed and security, it’s super
fast, simple and free. You can use Telegram on all your devices at the same
@@ -158,7 +165,11 @@ pushd %{_target_platform}
-DDESKTOP_APP_USE_GLIBC_WRAPS:BOOL=OFF \
-DDESKTOP_APP_DISABLE_CRASH_REPORTS:BOOL=ON \
-DTDESKTOP_USE_PACKAGED_TGVOIP:BOOL=ON \
+%if %{with gtk3}
+ -DTDESKTOP_DISABLE_GTK_INTEGRATION:BOOL=OFF \
+%else
-DTDESKTOP_DISABLE_GTK_INTEGRATION:BOOL=ON \
+%endif
-DTDESKTOP_DISABLE_REGISTER_CUSTOM_SCHEME:BOOL=ON \
-DTDESKTOP_DISABLE_DESKTOP_FILE_GENERATION:BOOL=ON \
-DTDESKTOP_USE_FONTCONFIG_FALLBACK:BOOL=OFF \
@@ -183,11 +194,11 @@ desktop-file-validate
%{buildroot}%{_datadir}/applications/%{launcher}.desktop
%{_metainfodir}/%{launcher}.appdata.xml
%changelog
+* Thu Jun 18 2020 Vitaly Zaitsev <vitaly(a)easycoding.org> - 2.1.12-1
+- Updated to version 2.1.12.
+
* Mon Jun 15 2020 Vitaly Zaitsev <vitaly(a)easycoding.org> - 2.1.11-2
- Rebuilt due to Qt 5.14.2 update.
* Mon Jun 08 2020 Vitaly Zaitsev <vitaly(a)easycoding.org> - 2.1.11-1
- Updated to version 2.1.11.
-
-* Sat Jun 06 2020 Vitaly Zaitsev <vitaly(a)easycoding.org> - 2.1.10-1
-- Updated to version 2.1.10.
Show replies by date