|
|
|
|
@ -32,16 +32,17 @@ Packager: The OpenPKG Project
|
|
|
|
|
Distribution: OpenPKG [BASE] |
|
|
|
|
Group: Graphics |
|
|
|
|
License: LGPL |
|
|
|
|
Version: 1.0.5 |
|
|
|
|
Release: 20030302 |
|
|
|
|
Version: 1.0.6 |
|
|
|
|
Release: 20031108 |
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
|
Source0: http://osdn.dl.sourceforge.net/sourceforge/libmng/libmng-%{version}.tar.gz |
|
|
|
|
Patch0: mng.patch.bz2 |
|
|
|
|
|
|
|
|
|
# build information |
|
|
|
|
Prefix: %{l_prefix} |
|
|
|
|
BuildRoot: %{l_buildroot} |
|
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20020206, zlib, jpeg |
|
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20020206, zlib, jpeg, gcc |
|
|
|
|
PreReq: OpenPKG, openpkg >= 20020206, zlib, jpeg |
|
|
|
|
AutoReq: no |
|
|
|
|
AutoReqProv: no |
|
|
|
|
@ -53,8 +54,19 @@ AutoReqProv: no
|
|
|
|
|
|
|
|
|
|
%prep |
|
|
|
|
%setup -q -n libmng-%{version} |
|
|
|
|
# FIXME: rse: remove the following lines later once MNG distribution |
|
|
|
|
# FIXME: rse: contains its pre-generated Autoconf stuff again!" |
|
|
|
|
%patch -p1 |
|
|
|
|
ln -s makefiles/configure.in . |
|
|
|
|
ln -s makefiles/acinclude.m4 . |
|
|
|
|
ln -s makefiles/Makefile.am . |
|
|
|
|
chmod a+x configure |
|
|
|
|
|
|
|
|
|
%build |
|
|
|
|
AUTOCONF=true \ |
|
|
|
|
AUTOMAKE=true \ |
|
|
|
|
ACLOCAL=true \ |
|
|
|
|
MAKEINFO=true \ |
|
|
|
|
CC="%{l_cc}" \ |
|
|
|
|
CFLAGS="%{l_cflags -O}" \ |
|
|
|
|
./configure \ |
|
|
|
|
|