libcec-p8-platform/libcec-p8-platform.spec

67 lines
1.7 KiB
RPMSpec

Name: libcec-p8-platform
Version: 2.1.0.1
Release: 1mamba
Summary: Platform support library used by libCEC and binary add-ons for Kodi
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/Pulse-Eight/platform
Source: https://github.com/Pulse-Eight/platform/archive/p8-platform-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Platform support library used by libCEC and binary add-ons for Kodi.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q -n platform-p8-platform-%{version}
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libp8-platform.so.*
%files devel
%defattr(-,root,root)
%dir %{_includedir}/p8-platform
%{_includedir}/p8-platform/*
%{_libdir}/libp8-platform.so
%{_libdir}/p8-platform/p8-platform-config.cmake
%{_libdir}/pkgconfig/p8-platform.pc
%doc README.md
%changelog
* Mon Nov 04 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.0.1-1mamba
- package created using the webbuild interface