]> git.pld-linux.org Git - packages/egl-wayland.git/blob - egl-wayland.spec
- updated to 1.1.12
[packages/egl-wayland.git] / egl-wayland.spec
1 #
2 # Conditional build:
3 %bcond_with     static_libs     # static library
4 #
5 Summary:        Wayland EGL External Platform library
6 Summary(pl.UTF-8):      Biblioteka platformy zewnętrznej Wayland EGL
7 Name:           egl-wayland
8 Version:        1.1.12
9 Release:        1
10 License:        MIT
11 Group:          Libraries
12 #Source0Download: https://github.com/NVIDIA/egl-wayland/releases
13 Source0:        https://github.com/NVIDIA/egl-wayland/archive/%{version}/%{name}-%{version}.tar.gz
14 # Source0-md5:  62c7f8c9f53e3dd18df50bcc3f7ddd4c
15 Patch0:         %{name}-pc.patch
16 URL:            https://github.com/NVIDIA/egl-wayland
17 BuildRequires:  autoconf >= 2.64
18 BuildRequires:  automake >= 1:1.11
19 BuildRequires:  eglexternalplatform >= 1.1
20 BuildRequires:  eglexternalplatform < 2
21 BuildRequires:  libtool >= 2:2.2
22 BuildRequires:  pkgconfig
23 BuildRequires:  wayland-devel >= 1.15
24 BuildRequires:  wayland-egl-devel
25 BuildRequires:  wayland-protocols >= 1.8
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 This is a work-in-progress implementation of a EGL External Platform
30 library to add client-side Wayland support to EGL on top of EGLDevice
31 and EGLStream families of extensions.
32
33 This library implements an EGL External Platform interface to work
34 along with EGL drivers that support the external platform mechanism.
35
36 %description -l pl.UTF-8
37 Ten pakiet zawiera będącą w trakcie tworzenia implementację biblioteki
38 platformy zewnętrznej EGL dodającą obsługę strony klienta Wayland do
39 EGL w oparciu o rodziny rozszerzeń EGLDevice i EGLStream.
40
41 Ta biblioteka implementuje interfejs EGL External Platform do
42 współpracy ze sterownikami EGL obsługującymi mechanizm platform
43 zewnętrznych.
44
45 %package devel
46 Summary:        Header files for Wayland EGL library
47 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki Wayland EGL
48 Group:          Development/Libraries
49 Requires:       %{name} = %{version}-%{release}
50 Requires:       eglexternalplatform >= 1.0
51 Requires:       eglexternalplatform < 2
52
53 %description devel
54 Header files for Wayland EGL library.
55
56 %description devel -l pl.UTF-8
57 Pliki nagłówkowe biblioteki Wayland EGL.
58
59 %package static
60 Summary:        Static Wayland EGL library
61 Summary(pl.UTF-8):      Statyczna biblioteka Wayland EGL
62 Group:          Development/Libraries
63 Requires:       %{name}-devel = %{version}-%{release}
64
65 %description static
66 Static Wayland EGL library.
67
68 %description static -l pl.UTF-8
69 Statyczna biblioteka Wayland EGL.
70
71 %prep
72 %setup -q
73 %patch0 -p1
74
75 %build
76 %{__libtoolize}
77 %{__aclocal} -I m4
78 %{__autoconf}
79 %{__autoheader}
80 %{__automake}
81 %configure \
82         --disable-silent-rules \
83         %{?with_static_libs:--enable-static}
84 %{__make}
85
86 %install
87 rm -rf $RPM_BUILD_ROOT
88
89 %{__make} install \
90         DESTDIR=$RPM_BUILD_ROOT
91
92 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
93
94 %clean
95 rm -rf $RPM_BUILD_ROOT
96
97 %post   -p /sbin/ldconfig
98 %postun -p /sbin/ldconfig
99
100 %files
101 %defattr(644,root,root,755)
102 %doc COPYING README.md
103 %attr(755,root,root) %{_libdir}/libnvidia-egl-wayland.so.*.*.*
104 %attr(755,root,root) %ghost %{_libdir}/libnvidia-egl-wayland.so.1
105
106 %files devel
107 %defattr(644,root,root,755)
108 %attr(755,root,root) %{_libdir}/libnvidia-egl-wayland.so
109 %{_pkgconfigdir}/wayland-eglstream.pc
110 # protocol description
111 %{_datadir}/wayland-eglstream
112 %{_npkgconfigdir}/wayland-eglstream-protocols.pc
113
114 %if %{with static_libs}
115 %files static
116 %defattr(644,root,root,755)
117 %{_libdir}/libnvidia-egl-wayland.a
118 %endif
This page took 0.18144 seconds and 4 git commands to generate.