]> git.pld-linux.org Git - packages/platform.git/commitdiff
- initial
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 17 Jan 2021 10:13:34 +0000 (11:13 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 17 Jan 2021 10:13:34 +0000 (11:13 +0100)
platform.spec [new file with mode: 0644]

diff --git a/platform.spec b/platform.spec
new file mode 100644 (file)
index 0000000..90429c6
--- /dev/null
@@ -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
This page took 0.075675 seconds and 5 git commands to generate.