]> git.pld-linux.org Git - packages/kodi-addon-pvr-hts.git/blame - kodi-addon-pvr-hts.spec
up to 20.6.3
[packages/kodi-addon-pvr-hts.git] / kodi-addon-pvr-hts.spec
CommitLineData
cc863b12 1%define kodi_ver 20
61eb8ffc 2%define next_kodi_ver %(echo $((%{kodi_ver}+1)))
cc863b12 3%define codename Nexus
61eb8ffc
JP
4%define addon pvr.hts
5
6Summary: Kodi's Tvheadend HTSP client addon
7Name: kodi-addon-pvr-hts
f4dbcea0 8Version: %{kodi_ver}.6.3
61eb8ffc
JP
9Release: 1
10License: GPL v2+
11Group: Applications/Multimedia
12Source0: https://github.com/kodi-pvr/pvr.hts/archive/%{version}-%{codename}/%{version}-%{codename}.tar.gz
f4dbcea0 13# Source0-md5: 1a212761a77cf05cb03cea0c149cc574
61eb8ffc
JP
14URL: https://github.com/kodi-pvr/pvr.hts
15BuildRequires: cmake >= 3.5
16BuildRequires: kodi-devel >= %{kodi_ver}
17BuildRequires: kodi-devel < %{next_kodi_ver}
18BuildRequires: libstdc++-devel >= 6:7
19BuildRequires: rpmbuild(macros) >= 1.605
20Requires: kodi >= %{kodi_ver}
21Requires: kodi < %{next_kodi_ver}
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25Kodi's Tvheadend HTSP client addon.
26
27%prep
28%setup -q -n %{addon}-%{version}-%{codename}
29
30%build
31%cmake -B build
32%{__make} -C build
33
34%install
35rm -rf $RPM_BUILD_ROOT
36%{__make} -C build install \
37 DESTDIR=$RPM_BUILD_ROOT
38
39%clean
40rm -rf $RPM_BUILD_ROOT
41
42%files
43%defattr(644,root,root,755)
44%dir %{_libdir}/kodi/addons/%{addon}
61eb8ffc 45%attr(755,root,root) %{_libdir}/kodi/addons/%{addon}/%{addon}.so.%{version}
61eb8ffc
JP
46%dir %{_datadir}/kodi/addons/%{addon}
47%{_datadir}/kodi/addons/%{addon}/addon.xml
48%{_datadir}/kodi/addons/%{addon}/changelog.txt
49%{_datadir}/kodi/addons/%{addon}/icon.png
50%{_datadir}/kodi/addons/%{addon}/resources
This page took 0.056152 seconds and 4 git commands to generate.