diff --git a/libpng.spec b/libpng.spec index fc28712..218c094 100644 --- a/libpng.spec +++ b/libpng.spec @@ -1,13 +1,14 @@ Summary: A library of functions for manipulating PNG image format files. Name: libpng Version: 1.2.5 -Release: 1 +Release: 2 License: OSI certified Group: System Environment/Libraries Source: ftp://swrinde.nde.swri.edu/pub/png/src/libpng-%{version}.tar.bz2 Patch0: libpng-1.2.5-rhconf.patch Patch1: libpng-1.2.2-libdirfix.patch Patch2: libpng-1.2.5-oob_error_message.patch +Patch3: libpng-1.2.5-misc.patch Buildroot: %{_tmppath}/%{name}-%{version}-root BuildPrereq: zlib-devel Provides: libpng.so.3 @@ -47,6 +48,7 @@ ln -s scripts/makefile.linux Makefile %patch0 -p1 -b .rhconf %patch1 -p1 -b .libdirfix %patch2 -p1 -b .oob_error_message +%patch3 -p1 -b .misc %build make ZLIBLIB=%{_libdir} RPM_OPT_FLAGS="$RPM_OPT_FLAGS" LIBPATH=%{_libdir} @@ -79,6 +81,10 @@ make install prefix=$RPM_BUILD_ROOT/usr LIBPATH=$RPM_BUILD_ROOT%{_libdir} rm -rf $RPM_BUILD_ROOT %changelog +* Mon May 24 2004 Than Ngo 2:1.2.5-2 +- add patch to link libm automatically +- get rid of rpath + * Wed May 19 2004 Matthias Clasen 2:1.2.5-1 - 1.2.5