X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;ds=sidebyside;f=nsis%2Fmingw32-nsis.spec;fp=nsis%2Fmingw32-nsis.spec;h=4255c616526e64dc6f070bd14dd9a51d33429ae7;hb=05c674c80ad9a2aa47972f9ac7915ca409abea12;hp=1c98ecb6d2fa9ed6bc2bc8bd594522ac2b340c79;hpb=63a2fa13b135c765210e7331113a9bcd99949b3b;p=fedora-mingw.git diff --git a/nsis/mingw32-nsis.spec b/nsis/mingw32-nsis.spec index 1c98ecb..4255c61 100644 --- a/nsis/mingw32-nsis.spec +++ b/nsis/mingw32-nsis.spec @@ -16,14 +16,25 @@ Patch0: nsis-2.39-debian-64bit-fixes.patch Patch1: nsis-2.39-debian-debug-opt.patch # This patch is required for NSIS to find the correct cross-compiler. -Patch2: nsis-2.39-mingw32-search.patch +Patch100: nsis-2.39-mingw32-search.patch BuildRequires: mingw32-filesystem >= 20 BuildRequires: mingw32-gcc BuildRequires: mingw32-binutils BuildRequires: python BuildRequires: scons >= 0.96.93 + +# We build with 'gcc -m32' and that fails on 64 bit platforms when we +# include . On x86-64, this is provided by +# glibc-devel.i386. Depend on the file explicitly, since only recent +# versions of RPM let you require a package by architecture. +BuildRequires: /usr/include/gnu/stubs-32.h + +# We really need the 32 bit version of this library. The 64 bit +# version will definitely not work. XXX Need to do the right thing on +# non-x86 architectures. BuildRequires: wxGTK-devel +#.i386 %description @@ -38,9 +49,11 @@ assembler code. %prep %setup -q -n nsis-%{version}-src + %patch0 -p1 %patch1 -p1 -%patch2 -p1 + +%patch100 -p1 %build @@ -66,8 +79,9 @@ rm -rf $RPM_BUILD_ROOT %config(noreplace) %{_sysconfdir}/nsisconf.nsh %{_includedir}/nsis %doc %{_docdir}/%{name}-%{version} +%{_datadir}/nsis %changelog -* Mon Sep 22 2008 Richard W.M. Jones - 2.39-1 +* Tue Oct 7 2008 Richard W.M. Jones - 2.39-1 - Initial RPM release.