]> git.pld-linux.org Git - packages/libwmf.git/commitdiff
- libpng 1.2.2 support
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 28 Apr 2002 13:31:29 +0000 (13:31 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libwmf.spec -> 1.38

libwmf.spec

index 2e2b54d2db734cac18d1e6a08cae08f6303e55c7..71a7715ac92bc5283253555fd6a76ae3d644b340 100644 (file)
@@ -12,14 +12,14 @@ Patch0:             %{name}-fontmap-pld.patch
 Patch1:                %{name}-includes.patch
 Patch2:                %{name}-segv.patch
 URL:           http://wvware.sourceforge.net/
-BuildRequires: libpng-devel
-BuildRequires: libjpeg-devel
-BuildRequires: freetype-devel >= 2.0
 BuildRequires: XFree86-devel
-BuildRequires: expat-devel
-BuildRequires: libplot-devel
 BuildRequires: autoconf
 BuildRequires: automake
+BuildRequires: expat-devel
+BuildRequires: freetype-devel >= 2.0
+BuildRequires: libjpeg-devel
+BuildRequires: libplot-devel
+BuildRequires: libpng-devel
 BuildRequires: libtool
 BuildRequires: plotutils
 Prereq:                /sbin/ldconfig
@@ -73,7 +73,10 @@ libtoolize --copy --force
 aclocal
 automake -a -c -f
 autoconf
-%configure \
+if [ -f %{_pkgconfigdir}/libpng12.pc ] ; then
+       CPPFLAGS="`pkg-config libpng12 --cflags`"
+fi
+%configure CPPFLAGS="$CPPFLAGS" \
        --with-plot \
        --enable-magick
 %{__make}
This page took 0.071814 seconds and 4 git commands to generate.