]> git.pld-linux.org Git - packages/libpng.git/blobdiff - libpng.spec
- updated to 1.6.31
[packages/libpng.git] / libpng.spec
index 5ec99e4d00f36d5c2b9c24f6c62ae9702620b180..a0843de16696c8ce1251ad035765d4c06256a823 100644 (file)
@@ -1,3 +1,6 @@
+# NOTE: there is intel SSE optimization available but with no runtime detection;
+#       it's enabled based on compiler flags (-msse*, either explicit or implied by -march=)
+#
 # Conditional build:
 %bcond_without tests           # don't perform "make check"
 %bcond_without default_libpng  # don't use this libpng as default system libpng
@@ -10,17 +13,16 @@ Summary(pl.UTF-8):  Biblioteka PNG
 Summary(pt_BR.UTF-8):  Biblioteca PNG
 Summary(tr.UTF-8):     PNG kitaplığı
 Name:          libpng
-Version:       1.6.17
+Version:       1.6.31
 Release:       1
 Epoch:         2
 License:       distributable
 Group:         Libraries
 Source0:       http://downloads.sourceforge.net/libpng/%{name}-%{version}.tar.xz
-# Source0-md5: 430a9b76b78533235cd4b9b26ce75c7e
+# Source0-md5: 1b34eab440263e32cfa39d19413fad54
 Patch0:                %{name}-pngminus.patch
-Patch1:                http://downloads.sourceforge.net/libpng-apng/%{name}-1.6.17-apng.patch.gz
-# Patch1-md5:  f68d34f10bcc7f43b8c3dce5708e1933
-Patch2:                %{name}-tests.patch
+Patch1:                http://downloads.sourceforge.net/libpng-apng/%{name}-%{version}-apng.patch.gz
+# Patch1-md5:  c13dbdd84b768d450b2c4f035a8d911a
 URL:           http://www.libpng.org/pub/png/libpng.html
 BuildRequires: rpmbuild(macros) >= 1.213
 BuildRequires: tar >= 1:1.22
@@ -145,10 +147,19 @@ Narzędzia do konwersji plików PNG z lub do plików PNM.
 %setup -q
 %patch0 -p1
 %patch1 -p1
-%patch2 -p1
 
 %build
-%configure
+%configure \
+%ifarch %{arm} aarch64
+       --enable-arm-neon=check \
+%endif
+%ifarch mipsel mips64el
+       --enable-mips-msa=check \
+%endif
+%ifarch ppc ppc64
+       --enable-powerpc-vsx=check
+%endif
+
 %{__make}
 
 %{__make} -C contrib/pngminus -f makefile.std \
This page took 0.063651 seconds and 4 git commands to generate.