From 9db11f9550c725d01382f4d312dfe71c9fc1ad1b Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 04:20:58 +0100 Subject: [PATCH] update to 6.0.5 [release 6.0.5-1mamba;Mon Dec 14 2020] --- libgdiplus.spec | 42 ++++++++++++++++++++++++++++-------------- 1 file changed, 28 insertions(+), 14 deletions(-) diff --git a/libgdiplus.spec b/libgdiplus.spec index b502ccc..70a7348 100644 --- a/libgdiplus.spec +++ b/libgdiplus.spec @@ -4,7 +4,7 @@ %define with_xcb 1 Name: libgdiplus -Version: 5.6.1 +Version: 6.0.5 Release: 1mamba Summary: An Open Source implementation of the GDI+ API Group: System/Libraries @@ -21,21 +21,29 @@ Patch4: libgdiplus-2.10.9-libgif-5.patch License: LGPL, MPL 1.1, MIT ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel +BuildRequires: ldconfig +BuildRequires: libX11-devel +BuildRequires: libXau-devel +BuildRequires: libXdmcp-devel +BuildRequires: libbzip2-devel BuildRequires: libcairo-devel BuildRequires: libexif-devel +BuildRequires: libexpat-devel BuildRequires: libfontconfig-devel BuildRequires: libfreetype-devel BuildRequires: libgif-devel BuildRequires: libglib-devel +BuildRequires: libjbig-devel BuildRequires: libjpeg-devel -BuildRequires: libpng14-devel +BuildRequires: liblzma-devel +BuildRequires: libpng-devel BuildRequires: libtiff-devel -BuildRequires: libX11-devel -BuildRequires: libXext-devel -BuildRequires: libXrender-devel +BuildRequires: libwebp-devel +BuildRequires: libxcb-devel +BuildRequires: libz-devel +BuildRequires: libzstd-devel ## AUTOBUILDREQ-END BuildRequires: pkgconfig -BuildRequires: libcairo-devel BuildRequires: libpoppler-devel %if %{with_glitz} BuildRequires: libglitz-devel @@ -53,13 +61,14 @@ It is part of the Mono Project. %package devel Group: Development/Libraries Summary: Static libraries and headers for %{name} -Requires: %{name} = %{version}-%{release} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel Libgdiplus is an Open Source implementation of the GDI+ API. It is part of the Mono Project. +This package contains static libraries and header files needed for development. -This package contains static libraries and header files need for development. +%debug_package %prep %setup -q @@ -67,10 +76,10 @@ This package contains static libraries and header files need for development. #%patch2 -p1 #%patch3 -p0 #%patch4 -p1 +./autogen.sh %build -export CFLAGS="-lX11 -lXext -lglib-2.0" -./autogen.sh +#export CFLAGS="-lX11 -lXext -lglib-2.0" %configure \ %if %{with_glitz} --enable-glitz \ @@ -99,16 +108,21 @@ sed -ie "s,-Werror,,g" src/Makefile %files %defattr(-,root,root) # note: mono requires libgdiplus.so -%{_libdir}/*.so* -%doc AUTHORS COPYING ChangeLog LICENSE MPL-1.1.html NEWS README TODO +%{_libdir}/libgdiplus.so +%{_libdir}/libgdiplus.so.* +%doc AUTHORS COPYING %files devel %defattr(-,root,root) -%{_libdir}/*.a -%{_libdir}/*.la +%{_libdir}/libgdiplus.a +%{_libdir}/libgdiplus.la %{_libdir}/pkgconfig/*.pc +%doc ChangeLog LICENSE NEWS TODO %changelog +* Mon Dec 14 2020 Silvan Calarco 6.0.5-1mamba +- update to 6.0.5 + * Thu Mar 28 2019 Automatic Build System 5.6.1-1mamba - automatic version update by autodist