commit 1a650aa530128d5292fee22cf24fa6e43ca25b0a
Author: Mohamed El Morabity <melmorabity(a)fedoraproject.org>
Date: Mon Mar 19 15:27:49 2018 +0100
Update to latest stable release for Kodi 18
.gitignore | 1 +
gpl-2.0.txt | 339 --------------------------------------
kodi-pvr-pctv-1.4.7-jsoncpp.patch | 12 --
kodi-pvr-pctv.spec | 36 ++--
sources | 2 +-
5 files changed, 18 insertions(+), 372 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 8f47081..e2234ca 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/kodi-pvr-pctv-85d6eae.tar.gz
/kodi-pvr-pctv-89438d2.tar.gz
+/pvr.pctv-5b47d9f.tar.gz
diff --git a/kodi-pvr-pctv.spec b/kodi-pvr-pctv.spec
index 1a3e79c..1717667 100644
--- a/kodi-pvr-pctv.spec
+++ b/kodi-pvr-pctv.spec
@@ -1,46 +1,40 @@
-%global commit 89438d2972fd9eb7e3290272a07b722fbc73ae42
-%global short_commit %(c=%{commit}; echo ${c:0:7})
-%global commit_date 20170621
+%global commit 5b47d9fe5a33a72c6372e9ab4d7d49644f5a5971
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20180205
%global kodi_addon pvr.pctv
-%global kodi_version 17.0
+%global kodi_version 18.0
Name: kodi-%(tr "." "-" <<<%{kodi_addon})
-Version: 1.4.8
-Release: 2%{?dist}
-Summary: PVR Client to connect PCTV Systems Broadway to Kodi
+Version: 2.3.1
+Release: 1%{?dist}
+Summary: PCTV 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}...
-# GPLv2 license file
-Source1:
http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
-# Fix jsoncpp library detection
-Patch0: %{name}-1.4.7-jsoncpp.patch
+Source0:
https://github.com/kodi-pvr/%{kodi_addon}/archive/%{shortcommit}/%{kodi_a...
BuildRequires: cmake
BuildRequires: gcc-c++
-BuildRequires: jsoncpp-devel
BuildRequires: kodi-devel >= %{kodi_version}
BuildRequires: kodi-platform-devel >= %{kodi_version}
+BuildRequires: pkgconfig(jsoncpp)
BuildRequires: platform-devel
Requires: kodi >= %{kodi_version}
ExclusiveArch: i686 x86_64
%description
-PCTV Systems frontend. Supports streaming of live TV & recordings, EPG view,
-timers.
+%{summary}.
%prep
%autosetup -n %{kodi_addon}-%{commit}
-cp -p %{SOURCE1} .
-
%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
@@ -50,12 +44,14 @@ cp -p %{SOURCE1} .
%files
%doc README.md %{kodi_addon}/changelog.txt
-%license gpl-2.0.txt
%{_libdir}/kodi/addons/%{kodi_addon}/
%{_datadir}/kodi/addons/%{kodi_addon}/
%changelog
+* Fri Mar 16 2018 Mohamed El Morabity <melmorabity(a)fedoraproject.org> - 2.3.1-1
+- Update to latest stable release for Kodi 18
+
* Thu Mar 01 2018 RPM Fusion Release Engineering <leigh123linux(a)googlemail.com> -
1.4.8-2
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
diff --git a/sources b/sources
index fa39658..91cac16 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-17eed71b5fb8554592b065a61b3d9e99 kodi-pvr-pctv-89438d2.tar.gz
+164aa425369c3d8150f0cf3a660cc7ee pvr.pctv-5b47d9f.tar.gz