From e2ac7dad19b3fc248dcea6d2b07a34983d87df4c Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 04:22:00 +0100 Subject: [PATCH] obsolete libgegl02; add debug package [release 0.4.22-2mamba;Wed May 06 2020] --- libgegl.spec | 30 ++++++++++++++++++++---------- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/libgegl.spec b/libgegl.spec index eedabf0..d9f971b 100644 --- a/libgegl.spec +++ b/libgegl.spec @@ -3,7 +3,7 @@ Name: libgegl Version: 0.4.22 -Release: 1mamba +Release: 2mamba Summary: GEGL (Generic Graphics Library) is a graph based image processing framework. Group: System/Libraries Vendor: openmamba @@ -19,6 +19,7 @@ Patch4: gegl-0.4.18-arm.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel +BuildRequires: ldconfig BuildRequires: libSDL2-devel BuildRequires: libavcodec-ffmpeg-devel BuildRequires: libavformat-ffmpeg-devel @@ -36,6 +37,7 @@ BuildRequires: liblensfun-devel BuildRequires: libopenexr-devel BuildRequires: libpango-devel BuildRequires: libpng-devel +BuildRequires: libpoppler-glib-devel BuildRequires: libraw-devel BuildRequires: librsvg-devel BuildRequires: libspiro-devel @@ -47,8 +49,12 @@ BuildRequires: libwebp-devel ## AUTOBUILDREQ-END BuildRequires: libraw-devel >= 0.19.0-1mamba BuildRequires: liblensfun-devel >= 0.3.2-1mamba +%ifnarch arm +BuildRequires: libluajit-devel +%endif Requires: asciidoc Requires: enscript +Obsoletes: libgegl02 BuildRoot: %{_tmppath}/%{name}-%{version}-root #Optional features: @@ -86,6 +92,7 @@ Through babl it provides support for a wide range of color models and pixel stor Group: Development/Libraries Summary: Static libraries and headers for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: libgegl02-devel %description devel GEGL (Generic Graphics Library) is a graph based image processing framework. @@ -103,22 +110,18 @@ Obsoletes: %{name}-api %description apidocs %{name} API documentation. +%debug_package + %prep %setup -q -n gegl-%{version} -#%patch0 -p1 -#%patch1 -p1 -#%patch2 -p1 -#%patch3 -p1 -%ifarch arm -#%patch4 -p1 -%endif - # workaround for a libtool error mkdir -p operations/workshop/external/lib %build -#./autogen.sh #export CAIRO_CFLAGS=-I/usr/include/cairo +export CFLAGS="%{optflags} -I%{_includedir}/OpenEXR -ldl" +export CXXFLAGS="%{optflags} -I%{_includedir}/OpenEXR -ldl" + %meson \ -Ddocs=true \ -Dworkshop=true @@ -178,6 +181,10 @@ install -d %{buildroot}%{_datadir}/pixmaps %{_libdir}/gegl-%{apiver}/grey2.json %dir %{_libdir}/gegl-%{apiver} %{_libdir}/gegl-%{apiver}/*.so +%ifnarch arm +%dir %{_datadir}/gegl-%{apiver}/lua +%{_datadir}/gegl-%{apiver}/lua/*.lua +%endif %doc AUTHORS COPYING COPYING.LESSER %files devel @@ -205,6 +212,9 @@ install -d %{buildroot}%{_datadir}/pixmaps %{_datadir}/gtk-doc/html/gegl/* %changelog +* Wed May 06 2020 Silvan Calarco 0.4.22-2mamba +- obsolete libgegl02; add debug package + * Mon Feb 24 2020 Automatic Build System 0.4.22-1mamba - automatic version update by autodist