commit 2bac5ca2eabeac1ab41a9f79db2cd0f8ca9fab0a
Author: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Mon Jul 2 15:38:50 2018 +0200
Updated to 2.1.1 (regular release).
.gitignore | 1 +
libtgvoip-build-fixes.patch | 2 +-
libtgvoip.spec | 18 +++++++++---------
sources | 2 +-
4 files changed, 12 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 8258d02..5bd95a2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
/libtgvoip-1.0.3.tar.gz
/libtgvoip-83ac2c6.tar.gz
/libtgvoip-6a8f543.tar.gz
+/libtgvoip-2.1.1.tar.gz
diff --git a/libtgvoip-build-fixes.patch b/libtgvoip-build-fixes.patch
index 2fddfe0..bba8031 100644
--- a/libtgvoip-build-fixes.patch
+++ b/libtgvoip-build-fixes.patch
@@ -1,4 +1,4 @@
-From 45b1c40c2caa1191789b35cd5e60ec2437bfd64f Mon Sep 17 00:00:00 2001
+From a21e490ded152c915a8f2cd793fb0daa3d78592f 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.
diff --git a/libtgvoip.spec b/libtgvoip.spec
index 9386e54..df4da4f 100644
--- a/libtgvoip.spec
+++ b/libtgvoip.spec
@@ -1,18 +1,14 @@
-%global commit0 6a8f543cca2dfbac4f7c3fa82c85b4057536e04c
-%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
-%global date 20180604
-
-Summary: VoIP library for Telegram clients
Name: libtgvoip
-Version: 2.1
-Release: 0.1.%{date}git%{shortcommit0}%{?dist}
+Version: 2.1.1
+Release: 1%{?dist}
+Summary: VoIP library for Telegram clients
# 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 -p1
%build
export VOIPVER="%{version}"
@@ -51,6 +47,7 @@ popd
# Installing shared library...
mkdir -p "%{buildroot}%{_libdir}"
install -m 0755 -p out/Release/lib.target/%{name}.so.%{version}
"%{buildroot}%{_libdir}/%{name}.so.%{version}"
+ln -s %{name}.so.%{version} "%{buildroot}%{_libdir}/%{name}.so.2.1"
ln -s %{name}.so.%{version} "%{buildroot}%{_libdir}/%{name}.so.2"
ln -s %{name}.so.%{version} "%{buildroot}%{_libdir}/%{name}.so"
@@ -70,6 +67,9 @@ find audio -maxdepth 1 -type f -name "*.h" -exec install -m
0644 -p '{}' %{build
%{_libdir}/%{name}.so
%changelog
+* Mon Jul 02 2018 Vitaly Zaitsev <vitaly(a)easycoding.org> - 2.1.1-1
+- Updated to 2.1.1 (regular release).
+
* Tue Jun 05 2018 Vitaly Zaitsev <vitaly(a)easycoding.org> -
2.1-0.1.20180604git6a8f543
- Updated to 2.1 (snapshot).
diff --git a/sources b/sources
index 7f2547f..565b5eb 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-6ba416c1ee55d6ba4a179c844d5b5607 libtgvoip-6a8f543.tar.gz
+45cb22177aa588c37f3c8185ad20363b libtgvoip-2.1.1.tar.gz