commit 1dd8d5d83e52446ec333a74f6fb71fe51bcca907
Author: Michael Cronenworth <mike(a)cchtml.com>
Date: Thu Jan 14 22:06:14 2021 -0600
Initial commit
.gitignore | 1 +
kodi-pvr-hdhomerun.spec | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 51 insertions(+)
---
diff --git a/.gitignore b/.gitignore
index e69de29..4baef24 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pvr.hdhomerun-7.0.0-Matrix.tar.gz
diff --git a/kodi-pvr-hdhomerun.spec b/kodi-pvr-hdhomerun.spec
new file mode 100644
index 0000000..ebe7c8a
--- /dev/null
+++ b/kodi-pvr-hdhomerun.spec
@@ -0,0 +1,49 @@
+%global kodi_addon pvr.hdhomerun
+%global kodi_version 19.0
+%global kodi_codename Matrix
+
+Name: kodi-%(tr "." "-" <<<%{kodi_addon})
+Version: 7.0.0
+Release: 1%{?dist}
+Summary: HDHomeRun PVR for Kodi
+
+License: GPLv2+
+URL:
https://github.com/kodi-pvr/%{kodi_addon}/
+Source0:
%{url}/archive/%{version}-%{kodi_codename}/%{kodi_addon}-%{version}-%{kodi_codename}.tar.gz
+
+BuildRequires: cmake3
+BuildRequires: gcc-c++
+BuildRequires: kodi-devel >= %{kodi_version}
+BuildRequires: jsoncpp-devel
+BuildRequires: hdhomerun-devel
+Requires: kodi >= %{kodi_version}
+ExcludeArch: %{power64} ppc64le
+
+%description
+%{summary}.
+
+
+%prep
+%autosetup -n %{kodi_addon}-%{version}-%{kodi_codename} -p1
+
+
+%build
+%cmake3 \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo
+%cmake3_build
+
+
+%install
+%cmake3_install
+
+
+%files
+%doc README.md %{kodi_addon}/changelog.txt
+%license LICENSE.md
+%{_libdir}/kodi/addons/%{kodi_addon}/
+%{_datadir}/kodi/addons/%{kodi_addon}/
+
+
+%changelog
+* Thu Jan 14 2021 Michael Cronenworth <mike(a)cchtml.com> - 7.0.0-1
+- Initial RPM release
diff --git a/sources b/sources
index e69de29..bf6165b 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (pvr.hdhomerun-7.0.0-Matrix.tar.gz) =
055b90ba34b63ba2b633309810d598a39545cbd4ab166bb372d2cc2ac9f2a9d76f811112f1b3bd88ff0b85381bbd234d7bfae5dd6246c0618e100c4083551e0e