1.1 --- a/mng/mng.spec Thu Oct 07 19:03:39 2010 +0200 1.2 +++ b/mng/mng.spec Thu Oct 07 19:04:06 2010 +0200 1.3 @@ -32,7 +32,7 @@ 1.4 Group: Graphics 1.5 License: LGPL 1.6 Version: 1.0.10 1.7 -Release: 20080101 1.8 +Release: 20101010 1.9 1.10 # list of sources 1.11 Source0: http://switch.dl.sourceforge.net/sourceforge/libmng/libmng-%{version}.tar.gz 1.12 @@ -55,7 +55,7 @@ 1.13 %track 1.14 prog mng = { 1.15 version = %{version} 1.16 - url = http://prdownloads.sourceforge.net/libmng/ 1.17 + url = http://sourceforge.net/projects/libmng/files/ 1.18 regex = libmng-(\d+\.\d+\.\d+)\.tar\.gz 1.19 } 1.20 1.21 @@ -66,7 +66,9 @@ 1.22 %{l_make} %{l_mflags -O} \ 1.23 -f makefiles/makefile.unix \ 1.24 CC="%{l_cc}" \ 1.25 - CFLAGS="%{l_cflags -O} %{l_cppflags} -DMNG_FULL_CMS" 1.26 + CFLAGS="%{l_cflags -O} %{l_cppflags} -DMNG_FULL_CMS \ 1.27 + -DMNG_SUPPORT_READ -DMNG_SUPPORT_WRITE -DMNG_SUPPORT_DISPLAY \ 1.28 + -DMNG_ACCESS_CHUNKS" 1.29 1.30 %install 1.31 rm -rf $RPM_BUILD_ROOT