commit 3a74dc283894e74d4fb8411e8c3f9cea22e42920
Author: Arkadiusz Miƛkiewicz <[email protected]>
Date:   Sun Jan 17 11:13:34 2021 +0100

    - initial

 platform.spec | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 57 insertions(+)
---
diff --git a/platform.spec b/platform.spec
new file mode 100644
index 0000000..90429c6
--- /dev/null
+++ b/platform.spec
@@ -0,0 +1,57 @@
+Summary:       Platform support library used by libCEC and binary add-ons for 
Kodi
+Name:          platform
+Version:       2.1.0.1
+Release:       1
+License:       GPL v2+
+URL:           https://github.com/Pulse-Eight/platform/
+Source0:       
https://github.com/Pulse-Eight/platform/archive/p8-%{name}-%{version}.tar.gz
+# Source0-md5: 3b9b00b7e0bb43532518741c1e30a2d7
+BuildRequires: cmake
+BuildRequires: libstdc++-devel
+
+%description
+Platform support library used by libCEC and binary add-ons for Kodi.
+
+%package devel
+Summary:       Development files for %{name}
+Requires:      %{name} = %{version}-%{release}
+Requires:      cmake
+
+%description devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+%prep
+%setup -q -n %{name}-p8-%{name}-%{version}
+
+%build
+install -d build
+cd build
+%cmake ..
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} -C build install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post   -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc README.md
+%attr(755,root,root) %{_libdir}/libp8-%{name}.so.*.*
+%attr(755,root,root) %ghost %{_libdir}/libp8-%{name}.so.2
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/p8-%{name}
+%attr(755,root,root) %{_libdir}/libp8-%{name}.so
+%{_libdir}/p8-%{name}
+%{_pkgconfigdir}/p8-%{name}.pc
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/platform.git/commitdiff/3a74dc283894e74d4fb8411e8c3f9cea22e42920

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

Reply via email to