]>
Commit | Line | Data |
---|---|---|
2f1db12c JB |
1 | Summary: EGL External Platform Interface |
2 | Summary(pl.UTF-8): Interfejs EGL External Platform | |
3 | Name: eglexternalplatform | |
b49afed2 JP |
4 | Version: 1.1 |
5 | Release: 1 | |
2f1db12c JB |
6 | License: MIT |
7 | Group: Development/Libraries | |
8 | #Source0Download: https://github.com/NVIDIA/eglexternalplatform/releases | |
b49afed2 JP |
9 | Source0: https://github.com/NVIDIA/eglexternalplatform/archive/%{version}/%{name}-%{version}.tar.gz |
10 | # Source0-md5: ca1c152789955332cf315a9934742be2 | |
2f1db12c JB |
11 | URL: https://github.com/NVIDIA/eglexternalplatform |
12 | BuildRequires: rpmbuild(macros) >= 1.446 | |
13 | Requires: EGL-devel | |
14 | BuildArch: noarch | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
18 | This is a work-in-progress specification of the EGL External Platform | |
19 | interface for writing EGL platforms and their interactions with modern | |
20 | window systems on top of existing low-level EGL platform | |
21 | implementations. This keeps window system implementation specifics out | |
22 | of EGL drivers by using application-facing EGL functions. | |
23 | ||
24 | Examples of low-level EGL platforms are EGL_EXT_platform_device or | |
25 | EGL_KHR_platform_gbm. | |
26 | ||
27 | %description -l pl.UTF-8 | |
28 | Ten pakiet zawiera będącą w trakcie tworzenia specyfikację interfejsu | |
29 | EGL External Platform (platform zewnętrznych EGL) do pisania platform | |
30 | EGL oraz ich interakcji ze współczesnymi systemami okienkowymi, | |
31 | opartymi na istniejących niskopoziomowych implementacjach platform | |
32 | EGL. Dzięki temu specyfika implementacji systemu okien jest oddzielona | |
33 | od sterowników EGL poprzez użycie aplikacyjnych funkcji EGL. | |
34 | ||
35 | Przykładami niskopoziomowych platform EGL są EGL_EXT_platform_device | |
36 | czy EGL_KHR_platform_gbm. | |
37 | ||
38 | %prep | |
b49afed2 | 39 | %setup -q |
2f1db12c JB |
40 | |
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | install -d $RPM_BUILD_ROOT{%{_includedir}/EGL,%{_npkgconfigdir}} | |
44 | ||
45 | cp -p interface/*.h $RPM_BUILD_ROOT%{_includedir}/EGL | |
46 | cp -p eglexternalplatform.pc $RPM_BUILD_ROOT%{_npkgconfigdir} | |
47 | ||
48 | %clean | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | %files | |
52 | %defattr(644,root,root,755) | |
53 | %doc COPYING README.md | |
54 | %attr(755,root,root) %{_includedir}/EGL/eglexternalplatform.h | |
55 | %attr(755,root,root) %{_includedir}/EGL/eglexternalplatformversion.h | |
56 | %{_npkgconfigdir}/eglexternalplatform.pc |