X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=packaging%2Flibpng.spec;h=c8daa046b2fd7b43745ab853836d7055339d01e2;hb=refs%2Ftags%2Faccepted%2Ftizen%2Funified%2F20170412.152619;hp=0708d457d9d04fc50348e5d06d2a7979e521e824;hpb=cddeb9a58231983955be196b6392998b0cb02e12;p=platform%2Fupstream%2Flibpng.git diff --git a/packaging/libpng.spec b/packaging/libpng.spec index 0708d45..c8daa04 100644 --- a/packaging/libpng.spec +++ b/packaging/libpng.spec @@ -1,7 +1,7 @@ Name: libpng -Version: 1.6.13 +Version: 1.6.21 Release: 1 -License: Zlib +License: Libpng Summary: A library of functions for manipulating PNG image format files Url: http://www.libpng.org/pub/png/ Group: System/Libraries @@ -22,7 +22,7 @@ files. %package devel Summary: Development tools for programs to manipulate PNG image format files Group: Development/Libraries -Requires: %{name} = %{version} +Requires: %{name} = %{version}-%{release} Requires: zlib-devel %description devel @@ -34,9 +34,22 @@ for developing programs using the PNG (Portable Network Graphics) library. cp %{SOURCE1001} . %build +%ifarch %{arm} +CFLAGS+=" -D_ARCH_ARM_ -mfpu=neon" +%endif -%configure --disable-static -make %{?_smp_mflags} +%if 0%{?TIZEN_PRODUCT_TV} +CFLAGS+=" -D_PNG_COLOR_PICK_ENABLED_ -D_PNG_SEQUENTIAL_READ_SUPPORTED_" +%endif + +%configure \ + --disable-static \ +%ifarch %arm armv7l armv7el aarch64 + --enable-arm-neon=check +%endif + + +%__make %{?_smp_mflags} %install %make_install