1 Summary: Platform support library used by libCEC and binary add-ons for Kodi
7 URL: https://github.com/Pulse-Eight/platform/
8 Source0: https://github.com/Pulse-Eight/platform/archive/%{name}-%{version}.tar.gz
9 # Source0-md5: 3b9b00b7e0bb43532518741c1e30a2d7
11 BuildRequires: libstdc++-devel
14 Platform support library used by libCEC and binary add-ons for Kodi.
17 Summary: Development files for %{name}
18 Group: Development/Libraries
19 Requires: %{name} = %{version}-%{release}
23 The %{name}-devel package contains libraries and header files for
24 developing applications that use %{name}.
27 %setup -q -n platform-p8-platform-%{version}
37 rm -rf $RPM_BUILD_ROOT
39 %{__make} -C build install \
40 DESTDIR=$RPM_BUILD_ROOT
43 rm -rf $RPM_BUILD_ROOT
45 %post -p /sbin/ldconfig
46 %postun -p /sbin/ldconfig
49 %defattr(644,root,root,755)
51 %attr(755,root,root) %{_libdir}/lib%{name}.so.*.*
52 %attr(755,root,root) %ghost %{_libdir}/lib%{name}.so.2
55 %defattr(644,root,root,755)
56 %{_includedir}/%{name}
57 %attr(755,root,root) %{_libdir}/lib%{name}.so
59 %{_pkgconfigdir}/%{name}.pc