to keep old versioning scheme and libpng.so.3 a symlink instead of copy
- disable mmx code on x86-64, builds now
- release 3
Changed files:
libpng12.spec -> 1.106
Summary(tr): PNG kitaplýðý
Name: libpng
Version: 1.2.10
-Release: 2
+Release: 3
Epoch: 2
License: distributable
Group: Libraries
%endif
%build
-%configure \
- --with-libpng-compat
-
%{__make} \
prefix=%{_prefix} \
LIBPATH=%{_libdir} \
CC="%{__cc}" \
+%ifarch %{x8664}
+ OPT_FLAGS="%{rpmcflags} -DPNG_NO_MMX_CODE"
+%else
OPT_FLAGS="%{rpmcflags}"
+%endif
%{__make} -C contrib/pngminus -f makefile.std \
LIBPATH=%{_libdir} \
%doc *.txt
%attr(755,root,root) %{_bindir}/libpng*-config
%attr(755,root,root) %{_libdir}/libpng*.so
-%{_libdir}/libpng*.la
%{_pkgconfigdir}/*
%{_includedir}/*
%{_mandir}/man?/*