diff --git a/libgdiplus-2.10.9-format.patch b/libgdiplus-2.10.9-format.patch deleted file mode 100644 index 4ec427f..0000000 --- a/libgdiplus-2.10.9-format.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff -up libgdiplus-2.10.9/src/Makefile.am.format libgdiplus-2.10.9/src/Makefile.am ---- libgdiplus-2.10.9/src/Makefile.am.format 2014-04-25 09:24:12.000000000 +0200 -+++ libgdiplus-2.10.9/src/Makefile.am 2014-04-25 09:24:21.000000000 +0200 -@@ -119,4 +119,4 @@ libgdiplus_la_SOURCES = \ - - libgdiplus_la_LIBADD = $(GDIPLUS_LIBS) - --INCLUDES = $(GDIPLUS_CFLAGS) -Wall -Wno-unused -Wno-format -+INCLUDES = $(GDIPLUS_CFLAGS) -Wall -Wno-unused -diff -up libgdiplus-2.10.9/src/Makefile.in.format libgdiplus-2.10.9/src/Makefile.in ---- libgdiplus-2.10.9/src/Makefile.in.format 2014-04-25 09:24:16.000000000 +0200 -+++ libgdiplus-2.10.9/src/Makefile.in 2014-04-25 09:24:34.000000000 +0200 -@@ -361,7 +361,7 @@ libgdiplus_la_SOURCES = \ - wmfcodec.h - - libgdiplus_la_LIBADD = $(GDIPLUS_LIBS) --INCLUDES = $(GDIPLUS_CFLAGS) -Wall -Wno-unused -Wno-format -+INCLUDES = $(GDIPLUS_CFLAGS) -Wall -Wno-unused - all: all-am - - .SUFFIXES: diff --git a/libgdiplus-5.6.tar.gz b/libgdiplus-5.6.tar.gz deleted file mode 100644 index a2eb3ba..0000000 Binary files a/libgdiplus-5.6.tar.gz and /dev/null differ diff --git a/libgdiplus-6.1.tar.gz b/libgdiplus-6.1.tar.gz new file mode 100644 index 0000000..ed969e7 Binary files /dev/null and b/libgdiplus-6.1.tar.gz differ diff --git a/libgdiplus.spec b/libgdiplus.spec index fc0febc..128a56f 100644 --- a/libgdiplus.spec +++ b/libgdiplus.spec @@ -1,14 +1,13 @@ %undefine _hardened_build Name: libgdiplus -Version: 5.6 -Release: 4 +Version: 6.1 +Release: 1 Summary: An Open Source implementation of the GDI+ API License: MIT and MPL-1.1 and GPL-3.0+ URL: http://www.mono-project.com/Main_Page Source0: http://download.mono-project.com/sources/%{name}/%{name}-%{version}.tar.gz -Patch1: libgdiplus-2.10.9-format.patch -BuildRequires: gcc freetype-devel glib2-devel libjpeg-devel libtiff-devel +BuildRequires: gcc freetype-devel glib2-devel libjpeg-devel libtiff-devel gcc-c++ make BuildRequires: libpng-devel fontconfig-devel cairo-devel giflib-devel libexif-devel zlib-devel %description @@ -23,7 +22,6 @@ Development files for libgdiplus %prep %setup -q -%patch1 -p1 -b .format CFLAGS="$RPM_OPT_FLAGS -Wl,-z,lazy" CXXFLAGS="$RPM_OPT_FLAGS -Wl,-z,lazy" export CFLAGS @@ -44,7 +42,7 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';' %files %{!?_licensedir:%global license %%doc} %license COPYING -%doc NEWS README TODO AUTHORS ChangeLog +%doc NEWS README.md TODO AUTHORS ChangeLog %{_libdir}/lib*.so.* %files devel @@ -52,6 +50,9 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';' %{_libdir}/lib*.so %changelog +* Fri Jul 7 2023 liyanan - 6.1-1 +- Update to version 6.1 + * Thu Jan 21 2021 Ge Wang - 5.6-4 - Modify license information.