]> git.pld-linux.org Git - packages/libpng12.git/commitdiff
- for libpng 1.2.x stick to old, custom makefiles instead of ac/am
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 19 May 2006 22:33:30 +0000 (22:33 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  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

libpng12.spec

index fb37f13852cc311ccb66f0e6876d45324e5a4661..0fd722f563f68710010488ea4125c12dc1935898 100644 (file)
@@ -7,7 +7,7 @@ Summary(pt_BR): Biblioteca PNG
 Summary(tr):   PNG kitaplýðý
 Name:          libpng
 Version:       1.2.10
-Release:       2
+Release:       3
 Epoch:         2
 License:       distributable
 Group:         Libraries
@@ -156,14 +156,15 @@ ln -sf scripts/makefile.linux ./Makefile
 %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} \
@@ -202,7 +203,6 @@ rm -rf $RPM_BUILD_ROOT
 %doc *.txt
 %attr(755,root,root) %{_bindir}/libpng*-config
 %attr(755,root,root) %{_libdir}/libpng*.so
-%{_libdir}/libpng*.la
 %{_pkgconfigdir}/*
 %{_includedir}/*
 %{_mandir}/man?/*
This page took 0.08797 seconds and 4 git commands to generate.