X-Git-Url: http://git.pld-linux.org/?p=packages%2Fcrossmingw32-libjpeg.git;a=blobdiff_plain;f=crossmingw32-libjpeg.spec;h=a78109100b90ecb37922adfbf351e28feb4cf920;hp=3d9cb22c9e2fa33c2ea684f90f1efd4089140457;hb=6df733320ea501fdbb0d2de80a41122f9ac1e0f1;hpb=78b067712e6971e8a5f7dfa86726319cbdb94f70 diff --git a/crossmingw32-libjpeg.spec b/crossmingw32-libjpeg.spec index 3d9cb22..a781091 100644 --- a/crossmingw32-libjpeg.spec +++ b/crossmingw32-libjpeg.spec @@ -2,16 +2,13 @@ Summary: Library for handling different jpeg files - Mingw32 cross version Summary(pl.UTF-8): Biblioteka do manipulacji plikami w formacie jpeg - wersja skrośna dla Mingw32 Name: crossmingw32-%{realname} -Version: 6b -Release: 6 +Version: 8a +Release: 1 License: distributable Group: Development/Libraries -Source0: ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v%{version}.tar.gz -# Source0-md5: dbd5f3b47ed13132f04c685d608a7547 -Patch0: %{realname}-DESTDIR.patch -Patch1: %{realname}-include.patch -Patch2: %{realname}-c++.patch -Patch3: %{name}-shared.patch +Source0: http://www.ijg.org/files/jpegsrc.v%{version}.tar.gz +# Source0-md5: 5146e68be3633c597b0d14d3ed8fa2ea +Patch0: %{realname}-maxmem-sysconf.patch URL: http://www.ijg.org/ BuildRequires: autoconf >= 2.50 BuildRequires: automake @@ -36,6 +33,8 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) # arch-specific flags (like alpha's -mieee) are not valid for i386 gcc %define optflags -O2 %endif +# -z options are invalid for mingw linker +%define filterout_ld -Wl,-z,.* %description The libjpeg package contains a library of functions for manipulating @@ -75,50 +74,27 @@ libjpeg - biblioteka DLL dla Windows. %prep %setup -q -n jpeg-%{version} %patch0 -p1 -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 - -cp /usr/share/automake/config.* . - -# hack: use recent libtool by configuring for mingw32 in separate dir -# (cannot regenerate main ac/lt because of missing configure.in) -mkdir lthack -cd lthack -cat >configure.ac <