]> git.pld-linux.org Git - packages/gd.git/blobdiff - gd.spec
- release 2 (by relup.sh)
[packages/gd.git] / gd.spec
diff --git a/gd.spec b/gd.spec
index 07e05659aaaf337100d0b9e7f865419c0bdf4981..59e9b3f109e3cb5db065ce691fdffae5cb4c8b84 100644 (file)
--- a/gd.spec
+++ b/gd.spec
@@ -7,22 +7,21 @@
 %bcond_without tests           # "make check"
 #
 %ifarch pentium3 pentium4
-%define        with_ssemath    1
+%define        with_sse        1
 %endif
 Summary:       Library for PNG, JPEG creation
 Summary(es.UTF-8):     Biblioteca para manipulación de imágenes
 Summary(pl.UTF-8):     Biblioteka do tworzenia grafiki w formacie PNG, JPEG
 Summary(pt_BR.UTF-8):  Biblioteca para manipulação de imagens
 Name:          gd
-Version:       2.2.3
-Release:       1
+Version:       2.2.5
+Release:       2
 License:       BSD-like
 Group:         Libraries
 #Source0Download: https://github.com/libgd/libgd/releases
 Source0:       https://github.com/libgd/libgd/releases/download/%{name}-%{version}/lib%{name}-%{version}.tar.xz
-# Source0-md5: 14e4134c129b4c166c3a0549a32ef340
+# Source0-md5: 8d8d6a6189513ecee6e893b1fb109bf8
 Patch0:                %{name}-fontpath.patch
-Patch1:                %{name}-2.0.33-BoxBound.patch
 Patch2:                %{name}-loop.patch
 Patch3:                %{name}-liq.patch
 URL:           https://libgd.github.io/
@@ -161,7 +160,6 @@ para uso pelos programas que usam a libgd.
 %prep
 %setup -q -n libgd-%{version}
 %patch0 -p1
-%patch1 -p1
 %patch2 -p1
 %patch3 -p1
 
@@ -188,20 +186,14 @@ CFLAGS="%{rpmcflags} -msse -mfpmath=sse"
 %{__make}
 
 %if %{with tests}
-# https://bitbucket.org/libgd/gd-libgd/issue/72/gdimagestringft_bbox-test-fails-on-old (what is the exact reason???)
-XFAIL_TESTS=gdimagestringft/gdimagestringft_bbox
 %ifarch %{ix86}
-%if %{without ssemath}
+# https://github.com/libgd/libgd/issues/359
+XFAIL_TESTS="$XFAIL_TESTS gdimagegrayscale/basic"
+%if %{without sse}
 # 387 arithmetic is inexact, https://github.com/libgd/libgd/issues/242
 XFAIL_TESTS="$XFAIL_TESTS gdimagecopyresampled/bug00201 gdimagerotate/bug00067"
 %endif
 %endif
-%if %{with libimagequant}
-# liq quantization method doesn't support alpha channel in a way expected by gd
-XFAIL_TESTS="$XFAIL_TESTS gif/bug00006"
-%endif
-# freetype TTF rendering difference?
-XFAIL_TESTS="$XFAIL_TESTS freetype/bug00132"
 export XFAIL_TESTS
 %{__make} check
 %endif
@@ -220,7 +212,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc COPYING ChangeLog NEWS
+%doc CONTRIBUTORS COPYING README.md
 %attr(755,root,root) %{_libdir}/libgd.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libgd.so.3
 
This page took 0.097622 seconds and 4 git commands to generate.