commit 6e67abc16c8f993acab9ffb6080bce613400af98
Author: Mohamed El Morabity <melmorabity(a)fedoraproject.org>
Date: Mon Mar 19 15:27:34 2018 +0100
Update to latest stable release for Kodi 18
.gitignore | 1 +
gpl-2.0.txt | 339 ------------------------------------
kodi-pvr-filmon-1.4.9-jsoncpp.patch | 12 --
kodi-pvr-filmon.spec | 45 ++---
sources | 2 +-
5 files changed, 20 insertions(+), 379 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 87f6d2e..4aa88fa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/kodi-pvr-filmon-ab9b519.tar.gz
/kodi-pvr-filmon-eba5bc5.tar.gz
+/pvr.filmon-c7243fb.tar.gz
diff --git a/kodi-pvr-filmon.spec b/kodi-pvr-filmon.spec
index c9f90a0..28d08b1 100644
--- a/kodi-pvr-filmon.spec
+++ b/kodi-pvr-filmon.spec
@@ -1,54 +1,43 @@
-%global commit eba5bc532924789eefc624c57224bcbf14d4bb02
-%global short_commit %(c=%{commit}; echo ${c:0:7})
-%global commit_date 20170621
+%global commit c7243fb62bef0fa3b889e087c8f8fe513512cc6b
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20180312
%global kodi_addon pvr.filmon
-%global kodi_version 17.0
+%global kodi_version 18.0
Name: kodi-%(tr "." "-" <<<%{kodi_addon})
# Use Epoch to manage upgrades from older upstream
# (
https://github.com/opdenkamp/xbmc-pvr-addons/)
Epoch: 1
-Version: 1.4.10
-Release: 2%{?dist}
-Summary: Kodi's Filmon client addon
+Version: 2.3.3
+Release: 1%{?dist}
+Summary: FilmOn 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.9-jsoncpp.patch
+Source0:
https://github.com/kodi-pvr/%{kodi_addon}/archive/%{shortcommit}/%{kodi_a...
+BuildRequires: cmake
BuildRequires: gcc-c++
-BuildRequires: jsoncpp-devel
-BuildRequires: kodi-platform-devel >= %{kodi_version}
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
-Filmon PVR client. Supports live TV, recordings, EPG. Requires a Filmon
-subscription.
-
-Before enabling:
-(a) in Filmon set channels as favorite to see them in Kodi
-(b) enter your username and password in this addon's settings.
-
-Note: recordings can take several minutes to appear after timer is completed.
+%{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
@@ -58,12 +47,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> - 1:2.3.3-1
+- Update to latest stable release for Kodi 18
+
* Thu Mar 01 2018 RPM Fusion Release Engineering <leigh123linux(a)googlemail.com> -
1:1.4.10-2
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
diff --git a/sources b/sources
index 79bb24b..515f342 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1961572e291c2b447f4175a9d7e84baa kodi-pvr-filmon-eba5bc5.tar.gz
+b5223706cee73288de24a15a30d4c941 pvr.filmon-c7243fb.tar.gz