commit f6e79b73799ef17b09bea3c1f36176bc8f70da8a
Author: Mohamed El Morabity <melmorabity(a)fedoraproject.org>
Date: Mon Mar 19 15:27:51 2018 +0100
Update to latest stable release for Kodi 18
.gitignore | 1 +
kodi-pvr-stalker-2.8.5-jsoncpp.patch | 12 ------------
kodi-pvr-stalker.spec | 33 +++++++++++++++++----------------
sources | 2 +-
4 files changed, 19 insertions(+), 29 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f4eea84..3e9f46a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/kodi-pvr-stalker-39d6db5.tar.gz
/kodi-pvr-stalker-d01bf4b.tar.gz
+/pvr.stalker-77eec69.tar.gz
diff --git a/kodi-pvr-stalker.spec b/kodi-pvr-stalker.spec
index a208315..fecece6 100644
--- a/kodi-pvr-stalker.spec
+++ b/kodi-pvr-stalker.spec
@@ -1,35 +1,32 @@
-%global commit d01bf4b66d50b9cd8261700ee9f2cc483cfd8faf
-%global short_commit %(c=%{commit}; echo ${c:0:7})
-%global commit_date 20170708
+%global commit 77eec69df2890689187d819e6b4c020eb35b7279
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20180205
%global kodi_addon pvr.stalker
-%global kodi_version 17.0
+%global kodi_version 18.0
Name: kodi-%(tr "." "-" <<<%{kodi_addon})
-Version: 2.8.8
-Release: 3%{?dist}
-Summary: A PVR client that connects Kodi to Stalker Middleware
+Version: 3.3.2
+Release: 1%{?dist}
+Summary: Stalker PVR for Kodi
-Group: Applications/Multimedia
License: GPLv2+
URL:
https://github.com/kodi-pvr/%{kodi_addon}/
-Source0:
https://github.com/kodi-pvr/%{kodi_addon}/archive/%{short_commit}/%{name}...
-# Fix jsoncpp library detection
-Patch0: %{name}-2.8.5-jsoncpp.patch
+Source0:
https://github.com/kodi-pvr/%{kodi_addon}/archive/%{shortcommit}/%{kodi_a...
BuildRequires: cmake
BuildRequires: gcc
BuildRequires: gcc-c++
-BuildRequires: jsoncpp-devel
BuildRequires: kodi-devel >= %{kodi_version}
BuildRequires: kodi-platform-devel >= %{kodi_version}
-BuildRequires: libxml2-devel
+BuildRequires: pkgconfig(jsoncpp)
+BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: platform-devel
Requires: kodi >= %{kodi_version}
ExclusiveArch: i686 x86_64
%description
-PVR Client to connect Kodi to Stalker Middleware.
+%{summary}.
%prep
@@ -42,7 +39,9 @@ mv README.md.new README.md
%build
-%cmake -DCMAKE_INSTALL_LIBDIR=%{_libdir}/kodi/ .
+#
https://gitlab.kitware.com/cmake/cmake/issues/17555#note_355574
+export PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1
+%cmake .
%make_build
@@ -52,12 +51,14 @@ mv README.md.new README.md
%files
%doc README.md %{kodi_addon}/changelog.txt
-%license LICENSE
%{_libdir}/kodi/addons/%{kodi_addon}/
%{_datadir}/kodi/addons/%{kodi_addon}/
%changelog
+* Fri Mar 16 2018 Mohamed El Morabity <melmorabity(a)fedoraproject.org> - 3.3.2-1
+- Update to latest stable release for Kodi 18
+
* Thu Mar 01 2018 RPM Fusion Release Engineering <leigh123linux(a)googlemail.com> -
2.8.8-3
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
diff --git a/sources b/sources
index 76b13fc..7142367 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-6797c5566165f72769fb5cf7d1a5fe47 kodi-pvr-stalker-d01bf4b.tar.gz
+b28e9cb06512a731be834fb81cd5f7d9 pvr.stalker-77eec69.tar.gz