commit 61eb8ffc8b34ff4f63ed8f3fcd53a24392c451d3
Author: Jan Palus <[email protected]>
Date:   Fri Nov 12 00:16:09 2021 +0100

    new

 kodi-addon-pvr-hts.spec | 52 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)
---
diff --git a/kodi-addon-pvr-hts.spec b/kodi-addon-pvr-hts.spec
new file mode 100644
index 0000000..7ae27d8
--- /dev/null
+++ b/kodi-addon-pvr-hts.spec
@@ -0,0 +1,52 @@
+%define                kodi_ver        19
+%define                next_kodi_ver   %(echo $((%{kodi_ver}+1)))
+%define                codename        Matrix
+%define                addon           pvr.hts
+
+Summary:       Kodi's Tvheadend HTSP client addon
+Name:          kodi-addon-pvr-hts
+Version:       %{kodi_ver}.0.2
+Release:       1
+License:       GPL v2+
+Group:         Applications/Multimedia
+Source0:       
https://github.com/kodi-pvr/pvr.hts/archive/%{version}-%{codename}/%{version}-%{codename}.tar.gz
+# Source0-md5: 2e6298b766d75c3f8c323b1cac81d397
+URL:           https://github.com/kodi-pvr/pvr.hts
+BuildRequires: cmake >= 3.5
+BuildRequires: kodi-devel >= %{kodi_ver}
+BuildRequires: kodi-devel < %{next_kodi_ver}
+BuildRequires: libstdc++-devel >= 6:7
+BuildRequires: rpmbuild(macros) >= 1.605
+Requires:      kodi >= %{kodi_ver}
+Requires:      kodi < %{next_kodi_ver}
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Kodi's Tvheadend HTSP client addon.
+
+%prep
+%setup -q -n %{addon}-%{version}-%{codename}
+
+%build
+%cmake -B build
+%{__make} -C build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} -C build install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%dir %{_libdir}/kodi/addons/%{addon}
+%attr(755,root,root) %{_libdir}/kodi/addons/%{addon}/%{addon}.so
+%attr(755,root,root) %{_libdir}/kodi/addons/%{addon}/%{addon}.so.%{version}
+%attr(755,root,root) %{_libdir}/kodi/addons/%{addon}/%{addon}.so.%{kodi_ver}.*
+%dir %{_datadir}/kodi/addons/%{addon}
+%{_datadir}/kodi/addons/%{addon}/addon.xml
+%{_datadir}/kodi/addons/%{addon}/changelog.txt
+%{_datadir}/kodi/addons/%{addon}/icon.png
+%{_datadir}/kodi/addons/%{addon}/resources
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kodi-addon-pvr-hts.git/commitdiff/61eb8ffc8b34ff4f63ed8f3fcd53a24392c451d3

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to