summaryrefslogtreecommitdiff
path: root/packaging/mesa.spec
diff options
context:
space:
mode:
authorKévin THIERRY <kevin.thierry@open.eurogiciel.org>2014-09-22 15:25:32 +0200
committerKévin THIERRY <kevin.thierry@open.eurogiciel.org>2014-12-09 11:41:38 +0100
commitf3880bb35eb8d0dbe4ba7d4a5744a135b340c821 (patch)
tree82a96878cfb0f869395154bc6bcec9a919a840fb /packaging/mesa.spec
parent4c0c75776dad209debc8b5bdc21355e33ffd745b (diff)
downloadmesa-tizen_3.0.2015.q1_common.tar.gz
mesa-tizen_3.0.2015.q1_common.tar.bz2
mesa-tizen_3.0.2015.q1_common.zip
Also: * Correct some rpmlint errors/warnings. * Use %reconfigure macro. Change-Id: I3389d0fe43992b2ca03e4eacb242354b57fc35f1 Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
Diffstat (limited to 'packaging/mesa.spec')
-rw-r--r--packaging/mesa.spec60
1 files changed, 29 insertions, 31 deletions
diff --git a/packaging/mesa.spec b/packaging/mesa.spec
index 9979930c0af..3037da46a06 100644
--- a/packaging/mesa.spec
+++ b/packaging/mesa.spec
@@ -120,7 +120,7 @@ programs against the GL library.
%endif
%package -n libwayland-egl
-Summary: Wayland EGL backend for Mesa
+Summary: Wayland EGL backend
%description -n libwayland-egl
Wayland EGL backend for Mesa.
@@ -158,7 +158,7 @@ programs against the EGL library.
%ifarch %ix86 x86_64
%package -n mesa-gallium-pipe
# Kudos to Debian for the descriptions
-Summary: Free implementation of Gallium-pipe API
+Summary: Gallium-pipe API
%description -n mesa-gallium-pipe
Gallium
@@ -300,48 +300,49 @@ rm -rf docs/README.{VMS,WIN32,OS2}
%build
-%install
rm -f src/mesa/depend
-autoreconf -fi
-%configure --enable-gles1 \
- --enable-gles2 \
- --disable-dri3 \
+%reconfigure --enable-gles1 \
+ --enable-gles2 \
+ --disable-dri3 \
%if %{with x}
%if %{with wayland}
- --with-egl-platforms=drm,wayland,x11 \
+ --with-egl-platforms=drm,wayland,x11 \
%else
- --with-egl-platforms=drm,x11 \
+ --with-egl-platforms=drm,x11 \
%endif
%else
%if %{with wayland}
- --with-egl-platforms=drm,wayland \
- --disable-glx \
+ --with-egl-platforms=drm,wayland \
+ --disable-glx \
%else
- --with-egl-platforms=drm \
- --disable-glx \
+ --with-egl-platforms=drm \
+ --disable-glx \
%endif
%endif
- --enable-shared-glapi \
- --enable-texture-float \
+ --enable-shared-glapi \
+ --enable-texture-float \
%if %glamor
- --enable-gbm \
+ --enable-gbm \
%endif
- --with-dri-searchpath=/usr/%{_lib}/dri/updates:/usr/%{_lib}/dri \
+ --with-dri-searchpath=/usr/%{_lib}/dri/updates:/usr/%{_lib}/dri \
%ifarch %ix86 x86_64
- --enable-gallium-egl \
- --enable-gallium-llvm \
- --with-dri-drivers=i915,i965,swrast \
- --with-gallium-drivers="i915,svga,swrast" \
- --enable-xa \
+ --enable-gallium-egl \
+ --enable-gallium-llvm \
+ --with-dri-drivers=i915,i965,swrast \
+ --with-gallium-drivers="i915,svga,swrast" \
+ --enable-xa \
%else
- --disable-gallium-egl \
+ --disable-gallium-egl \
%endif
%ifarch %arm aarch64
- --with-dri-drivers=swrast \
- --with-gallium-drivers="" \
+ --with-dri-drivers=swrast \
+ --with-gallium-drivers="" \
%endif
- CFLAGS="%{optflags} -DNDEBUG"
-make %{?_smp_mflags}
+ CFLAGS="%{optflags} -DNDEBUG"
+
+%__make %{?_smp_mflags}
+
+%install
%make_install
%if !%{with x}
@@ -396,7 +397,7 @@ install -m 644 $RPM_SOURCE_DIR/drirc %{buildroot}/etc
%defattr(-,root,root)
%license docs/COPYING
%config %{_sysconfdir}/drirc
-%{_libdir}/dri/
+%{_libdir}/dri
%if %{with x}
%files -n mesa-libGL
@@ -499,7 +500,6 @@ install -m 644 $RPM_SOURCE_DIR/drirc %{buildroot}/etc
%{_libdir}/libgbm.so
%{_libdir}/pkgconfig/gbm.pc
-
%files -n mesa-libglapi
%manifest %{name}.manifest
%defattr(-,root,root)
@@ -514,5 +514,3 @@ install -m 644 $RPM_SOURCE_DIR/drirc %{buildroot}/etc
%{_libdir}/pkgconfig/wayland-egl.pc
%endif
%{_libdir}/pkgconfig/dri.pc
-
-%changelog