[kwave] Change appdata to metainfo
by Sérgio M. Basto
commit e47c6760ccd9b7e2ebf20409c50cdfb475448ee5
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Sat Dec 30 17:13:01 2017 +0000
Change appdata to metainfo
kwave.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/kwave.spec b/kwave.spec
index 135f351..6458d4c 100644
--- a/kwave.spec
+++ b/kwave.spec
@@ -90,7 +90,7 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%find_lang %{name}
%check
-appstream-util validate-relax --nonet %{buildroot}%{_kf5_datadir}/appdata/org.kde.%{name}.appdata.xml || :
+appstream-util validate-relax --nonet %{buildroot}%{_kf5_datadir}/metainfo/org.kde.%{name}.appdata.xml || :
desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.%{name}.desktop || :
%post
@@ -114,7 +114,7 @@ fi
%license GNU-LICENSE LICENSES
%{_kf5_bindir}/%{name}
%{_kf5_datadir}/applications/org.kde.%{name}.desktop
-%{_kf5_datadir}/appdata/org.kde.%{name}.appdata.xml
+%{_kf5_datadir}/metainfo/org.kde.%{name}.appdata.xml
%{_kf5_datadir}/icons/hicolor/*/apps/%{name}.*
%{_kf5_datadir}/icons/hicolor/*/actions/%{name}*
%{_kf5_datadir}/%{name}/
6 years, 10 months
[kdenlive] Update to new location of AppData
by Sérgio M. Basto
commit 8065b6afa9189a107e8b78466c104745209d101f
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Sat Dec 30 16:37:25 2017 +0000
Update to new location of AppData
Reference:
https://pagure.io/packaging-committee/issue/704#comment-465315
kdenlive.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/kdenlive.spec b/kdenlive.spec
index adac8fc..2659a35 100644
--- a/kdenlive.spec
+++ b/kdenlive.spec
@@ -92,7 +92,7 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%find_lang %{name} --with-html --all-name
%check
-appstream-util validate-relax --nonet %{buildroot}%{_kf5_datadir}/appdata/org.kde.%{name}.appdata.xml ||:
+appstream-util validate-relax --nonet %{buildroot}%{_kf5_datadir}/metainfo/org.kde.%{name}.appdata.xml ||:
desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.%{name}.desktop
@@ -120,7 +120,7 @@ fi
%{_kf5_bindir}/kdenlive_render
%{_kf5_bindir}/%{name}
%{_kf5_datadir}/applications/org.kde.%{name}.desktop
-%{_kf5_datadir}/appdata/org.kde.%{name}.appdata.xml
+%{_kf5_datadir}/metainfo/org.kde.%{name}.appdata.xml
%{_kf5_datadir}/kdenlive/
%{_kf5_datadir}/mime/packages/kdenlive.xml
%{_kf5_datadir}/mime/packages/westley.xml
6 years, 10 months
[telegram-desktop/f26] Updated to version 1.2.6.
by Vitaly Zaitsev
commit 880d17ba3e1cb69a202c84cd88550ecf32f9c06a
Author: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Sat Dec 30 14:22:21 2017 +0100
Updated to version 1.2.6.
.gitignore | 2 +
sources | 3 +-
telegram-desktop-build-fixes.patch | 161 +++++++++++--------------------------
telegram-desktop.spec | 31 ++++++-
4 files changed, 79 insertions(+), 118 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 947f905..7205239 100644
--- a/.gitignore
+++ b/.gitignore
@@ -34,3 +34,5 @@
/tdesktop-1.1.23.tar.gz
/tdesktop-1.2.0.tar.gz
/tdesktop-1.2.1.tar.gz
+/crl-9e11a5c.tar.gz
+/tdesktop-1.2.6.tar.gz
diff --git a/sources b/sources
index 6c24caa..b305db0 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
-45b4740c0fa0cdf1fa8193ad442c5e01 tdesktop-1.2.1.tar.gz
+a3280a044625e250ca4d4df1cd13fe80 crl-9e11a5c.tar.gz
+b7c9c19d164323b73e5bb192b755345e tdesktop-1.2.6.tar.gz
diff --git a/telegram-desktop-build-fixes.patch b/telegram-desktop-build-fixes.patch
index 67a4bbd..6eeb80d 100644
--- a/telegram-desktop-build-fixes.patch
+++ b/telegram-desktop-build-fixes.patch
@@ -1,60 +1,50 @@
-From f1c4bfa96b3a605785bcf8f9935f31af60466c62 Mon Sep 17 00:00:00 2001
+From ceed396b282092a70ff819b17552e3e31419847d Mon Sep 17 00:00:00 2001
From: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Fri, 31 Mar 2017 14:29:58 +0200
Subject: [PATCH] Fixed build under Fedora using rpmbuild and mock.
---
- Telegram/SourceFiles/core/launcher.cpp | 11 +++-
- Telegram/SourceFiles/qt_functions.cpp | 94 +++++++++++++++++++++++++++++
- Telegram/SourceFiles/qt_static_plugins.cpp | 9 ---
- Telegram/SourceFiles/ui/text/text.cpp | 6 +-
- Telegram/SourceFiles/ui/text/text_block.cpp | 2 +-
- Telegram/SourceFiles/ui/twidget.cpp | 4 +-
- Telegram/gyp/CMakeLists.inj | 3 +
- Telegram/gyp/PrecompiledHeader.cmake | 4 +-
- Telegram/gyp/Telegram.gyp | 27 ++-------
- Telegram/gyp/qt.gypi | 81 +++++++------------------
- Telegram/gyp/qt_moc.gypi | 3 +-
- Telegram/gyp/qt_rcc.gypi | 2 +-
- Telegram/gyp/settings_linux.gypi | 5 --
- Telegram/gyp/telegram_linux.gypi | 85 ++++++--------------------
- Telegram/gyp/telegram_sources.txt | 8 +--
- lib/xdg/telegramdesktop.appdata.xml | 2 +-
- lib/xdg/telegramdesktop.desktop | 6 +-
- 17 files changed, 170 insertions(+), 182 deletions(-)
+ Telegram/Resources/qrc/telegram_linux.qrc | 1 -
+ Telegram/SourceFiles/core/launcher.cpp | 2 +
+ Telegram/SourceFiles/qt_functions.cpp | 94 +++++++++++++++++++++++++++++++
+ Telegram/gyp/CMakeLists.inj | 3 +
+ Telegram/gyp/PrecompiledHeader.cmake | 4 +-
+ Telegram/gyp/Telegram.gyp | 27 ++-------
+ Telegram/gyp/qt.gypi | 81 +++++++-------------------
+ Telegram/gyp/qt_moc.gypi | 3 +-
+ Telegram/gyp/qt_rcc.gypi | 2 +-
+ Telegram/gyp/settings_linux.gypi | 5 --
+ Telegram/gyp/telegram_linux.gypi | 85 +++++++---------------------
+ Telegram/gyp/telegram_sources.txt | 9 +--
+ lib/xdg/telegramdesktop.appdata.xml | 2 +-
+ lib/xdg/telegramdesktop.desktop | 6 +-
+ 14 files changed, 157 insertions(+), 167 deletions(-)
create mode 100644 Telegram/SourceFiles/qt_functions.cpp
create mode 100644 Telegram/gyp/CMakeLists.inj
+diff --git a/Telegram/Resources/qrc/telegram_linux.qrc b/Telegram/Resources/qrc/telegram_linux.qrc
+index 0554fa17..3ea02740 100644
+--- a/Telegram/Resources/qrc/telegram_linux.qrc
++++ b/Telegram/Resources/qrc/telegram_linux.qrc
+@@ -1,5 +1,4 @@
+ <RCC>
+ <qresource prefix="/qt">
+- <file alias="etc/qt.conf">../etc/qt_linux.conf</file>
+ </qresource>
+ </RCC>
diff --git a/Telegram/SourceFiles/core/launcher.cpp b/Telegram/SourceFiles/core/launcher.cpp
-index c0591597..69e0e75e 100644
+index bf21d14d..73b33feb 100644
--- a/Telegram/SourceFiles/core/launcher.cpp
+++ b/Telegram/SourceFiles/core/launcher.cpp
-@@ -43,9 +43,9 @@ void Launcher::init() {
-
- QCoreApplication::setApplicationName(qsl("TelegramDesktop"));
-
--#ifndef OS_MAC_OLD
-+#if !defined(Q_OS_MAC) && QT_VERSION >= QT_VERSION_CHECK(5, 6, 0)
- QCoreApplication::setAttribute(Qt::AA_DisableHighDpiScaling, true);
--#endif // OS_MAC_OLD
-+#endif // not defined Q_OS_MAC and QT_VERSION >= 5.6.0
-
- initHook();
- }
-@@ -62,6 +62,13 @@ int Launcher::exec() {
- // both are finished in Application::closeApplication
+@@ -64,6 +64,8 @@ int Launcher::exec() {
Logs::start(this); // must be started before Platform is started
Platform::start(); // must be started before QApplication is created
-+#if defined(Q_OS_LINUX64)
-+ QCoreApplication::addLibraryPath("/usr/lib64/qt5/plugins");
-+#else
-+ QCoreApplication::addLibraryPath("/usr/lib/qt5/plugins");
-+#endif
+
+ setenv("QT_STYLE_OVERRIDE", "qwerty", false);
+ unsetenv("QT_QPA_PLATFORMTHEME");
+ auto result = executeApplication();
- auto result = 0;
- {
+ DEBUG_LOG(("Telegram finished, result: %1").arg(result));
diff --git a/Telegram/SourceFiles/qt_functions.cpp b/Telegram/SourceFiles/qt_functions.cpp
new file mode 100644
index 00000000..4a722b8d
@@ -155,72 +145,6 @@ index 00000000..4a722b8d
+ if (f->d->strikeOut || charFormat.fontStrikeOut())
+ flags |= QTextItem::StrikeOut;
+}
-diff --git a/Telegram/SourceFiles/qt_static_plugins.cpp b/Telegram/SourceFiles/qt_static_plugins.cpp
-index b975c7a8..f2f876b3 100644
---- a/Telegram/SourceFiles/qt_static_plugins.cpp
-+++ b/Telegram/SourceFiles/qt_static_plugins.cpp
-@@ -28,13 +28,4 @@ Q_IMPORT_PLUGIN(QWebpPlugin)
- Q_IMPORT_PLUGIN(QCocoaIntegrationPlugin)
- Q_IMPORT_PLUGIN(QGenericEnginePlugin)
- #elif defined Q_OS_LINUX // Q_OS_WIN | Q_OS_MAC
--Q_IMPORT_PLUGIN(QWebpPlugin)
--Q_IMPORT_PLUGIN(QXcbIntegrationPlugin)
--Q_IMPORT_PLUGIN(QConnmanEnginePlugin)
--Q_IMPORT_PLUGIN(QGenericEnginePlugin)
--Q_IMPORT_PLUGIN(QNetworkManagerEnginePlugin)
--Q_IMPORT_PLUGIN(QComposePlatformInputContextPlugin)
--Q_IMPORT_PLUGIN(QIbusPlatformInputContextPlugin)
--Q_IMPORT_PLUGIN(QFcitxPlatformInputContextPlugin)
--Q_IMPORT_PLUGIN(QHimePlatformInputContextPlugin)
- #endif // Q_OS_WIN | Q_OS_MAC | Q_OS_LINUX
-diff --git a/Telegram/SourceFiles/ui/text/text.cpp b/Telegram/SourceFiles/ui/text/text.cpp
-index 710277fe..5eb4465d 100644
---- a/Telegram/SourceFiles/ui/text/text.cpp
-+++ b/Telegram/SourceFiles/ui/text/text.cpp
-@@ -1707,11 +1707,11 @@ private:
- if (item == -1)
- return;
-
--#ifdef OS_MAC_OLD
-+#if defined(OS_MAC_OLD) || QT_VERSION < QT_VERSION_CHECK(5, 6, 0)
- auto end = _e->findItem(line.from + line.length - 1);
--#else // OS_MAC_OLD
-+#else
- auto end = _e->findItem(line.from + line.length - 1, item);
--#endif // OS_MAC_OLD
-+#endif
-
- auto blockIndex = _lineStartBlock;
- auto currentBlock = _t->_blocks[blockIndex].get();
-diff --git a/Telegram/SourceFiles/ui/text/text_block.cpp b/Telegram/SourceFiles/ui/text/text_block.cpp
-index e435b50d..893496b4 100644
---- a/Telegram/SourceFiles/ui/text/text_block.cpp
-+++ b/Telegram/SourceFiles/ui/text/text_block.cpp
-@@ -332,7 +332,7 @@ TextBlock::TextBlock(const style::font &font, const QString &str, QFixed minResi
- CrashReports::SetAnnotationRef("CrashString", &part);
-
- QStackTextEngine engine(part, blockFont->f);
-- QTextLayout layout(&engine);
-+ QTextLayout layout(part, blockFont->f);
- layout.beginLayout();
- layout.createLine();
-
-diff --git a/Telegram/SourceFiles/ui/twidget.cpp b/Telegram/SourceFiles/ui/twidget.cpp
-index a78af59d..feee450e 100644
---- a/Telegram/SourceFiles/ui/twidget.cpp
-+++ b/Telegram/SourceFiles/ui/twidget.cpp
-@@ -234,9 +234,9 @@ void sendSynteticMouseEvent(QWidget *widget, QEvent::Type type, Qt::MouseButton
- , button
- , QGuiApplication::mouseButtons() | button
- , QGuiApplication::keyboardModifiers()
--#ifndef OS_MAC_OLD
-+#if !defined(OS_MAC_OLD) && QT_VERSION >= QT_VERSION_CHECK(5, 6, 0)
- , Qt::MouseEventSynthesizedByApplication
--#endif // OS_MAC_OLD
-+#endif
- );
- ev.setTimestamp(getms());
- QGuiApplication::sendEvent(windowHandle, &ev);
diff --git a/Telegram/gyp/CMakeLists.inj b/Telegram/gyp/CMakeLists.inj
new file mode 100644
index 00000000..6207bc74
@@ -253,7 +177,7 @@ index 5d6830e9..c3f08d3f 100644
IMPLICIT_DEPENDS CXX "${_pch_header}"
COMMENT "Precompiling ${_name} for ${_target} (C++)")
diff --git a/Telegram/gyp/Telegram.gyp b/Telegram/gyp/Telegram.gyp
-index 31480945..ffd5d6a6 100644
+index 84a06153..7e6f41b7 100644
--- a/Telegram/gyp/Telegram.gyp
+++ b/Telegram/gyp/Telegram.gyp
@@ -31,7 +31,6 @@
@@ -273,13 +197,14 @@ index 31480945..ffd5d6a6 100644
'telegram_linux.gypi',
'qt.gypi',
'qt_moc.gypi',
-@@ -81,33 +78,22 @@
+@@ -81,34 +78,23 @@
'codegen.gyp:codegen_lang',
'codegen.gyp:codegen_numbers',
'codegen.gyp:codegen_style',
- 'tests/tests.gyp:tests',
- 'utils.gyp:Updater',
- '../ThirdParty/libtgvoip/libtgvoip.gyp:libtgvoip',
+ 'crl.gyp:crl',
],
'defines': [
@@ -310,10 +235,10 @@ index 31480945..ffd5d6a6 100644
'<(emoji_suggestions_loc)',
- '<(submodules_loc)/GSL/include',
- '<(submodules_loc)/variant/include',
+ '<(submodules_loc)/crl/src',
],
'sources': [
- '<@(qrc_files)',
-@@ -124,7 +110,6 @@
+@@ -126,7 +112,6 @@
'CUSTOM_API_ID',
],
'dependencies': [
@@ -656,10 +581,19 @@ index f6918c22..5307a518 100644
],
}]
diff --git a/Telegram/gyp/telegram_sources.txt b/Telegram/gyp/telegram_sources.txt
-index bbf2b2ad..f989fd9d 100644
+index 5d2f627e..b5a261f3 100644
--- a/Telegram/gyp/telegram_sources.txt
+++ b/Telegram/gyp/telegram_sources.txt
-@@ -694,13 +694,7 @@
+@@ -703,7 +703,7 @@
+ <(src_loc)/observer_peer.h
+ <(src_loc)/passcodewidget.cpp
+ <(src_loc)/passcodewidget.h
+-<(src_loc)/qt_static_plugins.cpp
++<(src_loc)/qt_functions.cpp
+ <(src_loc)/settings.cpp
+ <(src_loc)/settings.h
+ <(src_loc)/shortcuts.cpp
+@@ -714,13 +714,6 @@
<(emoji_suggestions_loc)/emoji_suggestions.h
platforms: !win
@@ -670,7 +604,6 @@ index bbf2b2ad..f989fd9d 100644
-<(minizip_loc)/zip.h
-<(minizip_loc)/unzip.c
-<(minizip_loc)/unzip.h
-+<(src_loc)/qt_functions.cpp
platforms: mac
<(sp_media_key_tap_loc)/SPMediaKeyTap.m
diff --git a/telegram-desktop.spec b/telegram-desktop.spec
index 57bf0c7..2ff2f78 100644
--- a/telegram-desktop.spec
+++ b/telegram-desktop.spec
@@ -1,16 +1,21 @@
# Telegram Desktop's constants...
%global appname tdesktop
+# Git revision of crl...
+%global commit1 9e11a5c9291760d03df559d03d81fa7afdd0a46d
+%global shortcommit1 %(c=%{commit1}; echo ${c:0:7})
+
# Decrease debuginfo verbosity to reduce memory consumption...
%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
Summary: Telegram is a new era of messaging
Name: telegram-desktop
-Version: 1.2.1
+Version: 1.2.6
Release: 1%{?dist}
# Application and 3rd-party modules licensing:
# * S0 (Telegram Desktop) - GPLv3+ with OpenSSL exception -- main source;
+# * S1 (crl) - GPLv3+ -- build-time dependency;
# * P0 (qt_functions.cpp) - LGPLv3 -- build-time dependency.
License: GPLv3+ and LGPLv3
Group: Applications/Internet
@@ -21,6 +26,7 @@ URL: https://github.com/telegramdesktop/%{appname}
ExclusiveArch: i686 x86_64
Source0: %{url}/archive/v%{version}.tar.gz#/%{appname}-%{version}.tar.gz
+Source1: https://github.com/telegramdesktop/crl/archive/%{commit1}.tar.gz#/crl-%{s...
Patch0: %{name}-build-fixes.patch
Recommends: libappindicator-gtk3%{?_isa}
@@ -69,14 +75,21 @@ personal or business messaging needs.
# Unpacking Telegram Desktop source archive...
%autosetup -n %{appname}-%{version} -p1
+# Unpacking crl...
+pushd Telegram/ThirdParty
+ rm -rf crl
+ tar -xf %{SOURCE1}
+ mv crl-%{commit1} crl
+popd
+
%build
# Generating cmake script using GYP...
pushd Telegram/gyp
gyp --depth=. --generator-output=../.. -Goutput_dir=out Telegram.gyp --format=cmake
popd
-# Patching generated cmake manifest...
-LEN=$((`wc -l < out/Release/CMakeLists.txt` - 2))
+# Patching generated cmake script...
+LEN=$(($(wc -l < out/Release/CMakeLists.txt) - 2))
sed -i "$LEN r Telegram/gyp/CMakeLists.inj" out/Release/CMakeLists.txt
# Building Telegram Desktop using cmake...
@@ -134,6 +147,18 @@ fi
%{_datadir}/appdata/%{name}.appdata.xml
%changelog
+* Sat Dec 30 2017 Vitaly Zaitsev <vitaly(a)easycoding.org> - 1.2.6-1
+- Updated to 1.2.6.
+
+* Fri Dec 29 2017 Vitaly Zaitsev <vitaly(a)easycoding.org> - 1.2.5-1
+- Updated to 1.2.5 (alpha).
+
+* Wed Dec 27 2017 Vitaly Zaitsev <vitaly(a)easycoding.org> - 1.2.4-1
+- Updated to 1.2.4 (alpha).
+
+* Sun Dec 17 2017 Vitaly Zaitsev <vitaly(a)easycoding.org> - 1.2.3-1
+- Updated to 1.2.3 (alpha).
+
* Tue Dec 12 2017 Vitaly Zaitsev <vitaly(a)easycoding.org> - 1.2.1-1
- Updated to 1.2.1.
6 years, 10 months
[libtgvoip/f26] Updated to version 1.0.3. Use regular releases instead of Git snapshots.
by Vitaly Zaitsev
commit 220e031ebea1cd021fedcdcc84ec29070a79cc0a
Author: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Sat Dec 30 14:20:09 2017 +0100
Updated to version 1.0.3. Use regular releases instead of Git snapshots.
.gitignore | 1 +
libtgvoip-build-fixes.patch | 19 ++++++++++++-------
libtgvoip.spec | 15 +++++++--------
sources | 2 +-
4 files changed, 21 insertions(+), 16 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e5d7b66..d3123b2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/libtgvoip-bfd5cfe.tar.gz
/libtgvoip-6a0b3b2.tar.gz
+/libtgvoip-1.0.3.tar.gz
diff --git a/libtgvoip-build-fixes.patch b/libtgvoip-build-fixes.patch
index a3ecae5..7979ca8 100644
--- a/libtgvoip-build-fixes.patch
+++ b/libtgvoip-build-fixes.patch
@@ -1,29 +1,34 @@
-From f6e77fb45052100ae7eeaca658630e0a57d4b34b Mon Sep 17 00:00:00 2001
+From 58b79cc2f7ebdb9f70ae726c60a1a51772d42180 Mon Sep 17 00:00:00 2001
From: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Thu, 6 Jul 2017 17:27:01 +0200
Subject: [PATCH] Fixed build of libtgvoip under Fedora as shared library.
---
- VoIPController.cpp | 3 ++-
+ VoIPController.cpp | 5 +++-
libtgvoip.gyp | 17 +++++++++-----
webrtc_dsp/webrtc/common_audio/wav_file.cc | 20 ++++++++++++----
webrtc_dsp/webrtc/common_audio/wav_header.cc | 34 +++++++++++++++++++++++++++-
webrtc_dsp/webrtc/typedefs.h | 14 +++++++++++-
- 5 files changed, 74 insertions(+), 14 deletions(-)
+ 5 files changed, 76 insertions(+), 14 deletions(-)
diff --git a/VoIPController.cpp b/VoIPController.cpp
-index 78e9e4b..fb256e3 100644
+index ab7e2fd..cb2fabd 100644
--- a/VoIPController.cpp
+++ b/VoIPController.cpp
-@@ -102,6 +102,7 @@ bool VoIPController::didInitWin32TimeScale = false;
+@@ -103,9 +103,12 @@ bool VoIPController::didInitWin32TimeScale = false;
+ #define SHA256_LENGTH 32
+
#ifndef TGVOIP_USE_CUSTOM_CRYPTO
++extern "C" {
#include <openssl/sha.h>
#include <openssl/aes.h>
+#include <openssl/modes.h>
#include <openssl/rand.h>
++}
void tgvoip_openssl_aes_ige_encrypt(uint8_t* in, uint8_t* out, size_t length, uint8_t* key, uint8_t* iv){
-@@ -131,7 +132,7 @@ void tgvoip_openssl_sha256(uint8_t* msg, size_t len, uint8_t* output){
+ AES_KEY akey;
+@@ -134,7 +137,7 @@ void tgvoip_openssl_sha256(uint8_t* msg, size_t len, uint8_t* output){
void tgvoip_openssl_aes_ctr_encrypt(uint8_t* inout, size_t length, uint8_t* key, uint8_t* iv, uint8_t* ecount, uint32_t* num){
AES_KEY akey;
AES_set_encrypt_key(key, 32*8, &akey);
@@ -202,5 +207,5 @@ index c960d95..2252855 100644
#if !(defined(WEBRTC_ARCH_LITTLE_ENDIAN) ^ defined(WEBRTC_ARCH_BIG_ENDIAN))
--
-2.13.3
+2.14.3
diff --git a/libtgvoip.spec b/libtgvoip.spec
index b6c4c24..7a46453 100644
--- a/libtgvoip.spec
+++ b/libtgvoip.spec
@@ -1,18 +1,14 @@
-%global commit0 6a0b3b23b79949828d36be2a45007602c6f493d4
-%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
-%global date 20171111
-
Summary: VoIP library for Telegram clients
Name: libtgvoip
-Version: 1.0.1
-Release: 2.%{date}git%{shortcommit0}%{?dist}
+Version: 1.0.3
+Release: 1%{?dist}
# Libtgvoip shared library - Public Domain.
# Bundled webrtc library - BSD with patented echo cancellation algorithms.
License: Public Domain and BSD
URL: https://github.com/grishka/%{name}
-Source0: %{url}/archive/%{commit0}.tar.gz#/%{name}-%{shortcommit0}.tar.gz
+Source0: %{url}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Patch0: %{name}-build-fixes.patch
Provides: bundled(webrtc-audio-processing) = 0.3
@@ -36,7 +32,7 @@ Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
%{summary}.
%prep
-%autosetup -n %{name}-%{commit0} -p1
+%autosetup -n %{name}-%{version} -p1
%build
export VOIPVER="%{version}"
@@ -72,6 +68,9 @@ find audio -maxdepth 1 -type f -name "*.h" -exec install -m 0644 -p '{}' %{build
%{_libdir}/%{name}.so
%changelog
+* Fri Dec 29 2017 Vitaly Zaitsev <vitaly(a)easycoding.org> - 1.0.3-1
+- Updated to 1.0.3 (regular release).
+
* Sat Nov 18 2017 Vitaly Zaitsev <vitaly(a)easycoding.org> - 1.0.1-2.20171111git6a0b3b2
- Provide compactibility with 1.0.
diff --git a/sources b/sources
index aeb4c59..b71c39c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-463774e3d51c56c1c740feed966305d8 libtgvoip-6a0b3b2.tar.gz
+6dd7d3c64a7c03e70b1a0d090e6fe0bb libtgvoip-1.0.3.tar.gz
6 years, 10 months