commit 5d6002d55c83861095e3b6a70959b5627b64d0c1
Author: Mohamed El Morabity <melmorabity(a)fedoraproject.org>
Date: Mon Oct 2 21:45:23 2017 +0200
First import
.gitignore | 2 ++
kodi-pvr-argustv.spec | 73 +++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 76 insertions(+)
---
diff --git a/.gitignore b/.gitignore
index e69de29..6b94317 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1,2 @@
+/kodi-pvr-argustv-9040b14.tar.gz
+/kodi-pvr-argustv-ac9cc55.tar.gz
diff --git a/kodi-pvr-argustv.spec b/kodi-pvr-argustv.spec
new file mode 100644
index 0000000..224aaf2
--- /dev/null
+++ b/kodi-pvr-argustv.spec
@@ -0,0 +1,73 @@
+%global commit ac9cc559cc21b884d3a4df1ad8c8630531bb779b
+%global short_commit %(c=%{commit}; echo ${c:0:7})
+%global commit_date 20170802
+
+%global kodi_addon pvr.argustv
+%global kodi_version 17.0
+
+Name: kodi-%(tr "." "-" <<<%{kodi_addon})
+# Use Epoch to manage upgrades from older upstream
+# (
https://github.com/opdenkamp/xbmc-pvr-addons/)
+Epoch: 1
+Version: 2.5.9
+Release: 1%{?dist}
+Summary: Kodi's ARGUS TV client addon
+
+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
+Patch1: %{name}-2.5.6-jsoncpp.patch
+
+BuildRequires: cmake
+BuildRequires: gcc-c++
+BuildRequires: jsoncpp-devel
+BuildRequires: kodi-devel >= %{kodi_version}
+BuildRequires: kodi-platform-devel >= %{kodi_version}
+BuildRequires: platform-devel
+Requires: kodi >= %{kodi_version}
+ExclusiveArch: i686 x86_64
+
+%description
+Kodi frontend for the ARGUS TV PVR (
http://www.argus-tv.com/). Supports
+streaming of live TV & recordings, listening to radio channels, EPG and
+schedules.
+
+
+%prep
+%autosetup -n %{kodi_addon}-%{commit}
+
+cp -p %{SOURCE1} .
+
+
+%build
+%cmake -DCMAKE_INSTALL_LIBDIR=%{_libdir}/kodi/ .
+%make_build
+
+
+%install
+%make_install
+
+
+%files
+%doc README.md %{kodi_addon}/changelog.txt
+%license gpl-2.0.txt
+%{_libdir}/kodi/addons/%{kodi_addon}/
+%{_datadir}/kodi/addons/%{kodi_addon}/
+
+
+%changelog
+* Mon Oct 02 2017 Mohamed El Morabity <melmorabity(a)fedoraproject.org> - 1:2.5.9-1
+- Update to 2.5.9
+
+* Sat Apr 29 2017 Mohamed El Morabity <melmorabity(a)fedorapeople.org> - 1:2.5.6-1
+- Update to latest stable release for Kodi 17
+
+* Sun Jul 24 2016 Mohamed El Morabity <melmorabity(a)fedoraproject.org> -
1:1.11.15-1
+- Update to latest stable release for Kodi 16
+
+* Mon Aug 24 2015 Mohamed El Morabity <melmorabity(a)fedoraproject.org> -
1:1.10.11-1
+- Initial RPM release
diff --git a/sources b/sources
index e69de29..0713304 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+2e7a6c4249802622b9e6c9ee0e8bd235 kodi-pvr-argustv-ac9cc55.tar.gz