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