X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;ds=sidebyside;f=nsis%2Fmingw32-nsis.spec;h=5d78d0059dd2750b46429bdcff4b83e4357e8863;hb=1db85ae7f325d391fce973142797fb7073ac0942;hp=1c98ecb6d2fa9ed6bc2bc8bd594522ac2b340c79;hpb=14bb5f7a7a8110b0c21eef08c532bd7f18c42e8e;p=fedora-mingw.git diff --git a/nsis/mingw32-nsis.spec b/nsis/mingw32-nsis.spec index 1c98ecb..5d78d00 100644 --- a/nsis/mingw32-nsis.spec +++ b/nsis/mingw32-nsis.spec @@ -1,9 +1,10 @@ %define sconsopts VERSION=%{version} PREFIX=%{_prefix} PREFIX_CONF=%{_sysconfdir} SKIPPLUGINS=System DEBUG_SYMBOLS=1 OPTS=1 +%define _default_patch_fuzz 2 Name: mingw32-nsis Version: 2.39 -Release: 1%{?dist} -Summary: MinGW Windows libxml2 XML processing library +Release: 5%{?dist} +Summary: Nullsoft Scriptable Install System License: zlib and CPL Group: Development/Libraries @@ -16,14 +17,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-gcc-c++ BuildRequires: mingw32-binutils BuildRequires: python BuildRequires: scons >= 0.96.93 -BuildRequires: wxGTK-devel + +# 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: /usr/lib/libwx_baseu-2.8.so %description @@ -38,9 +50,11 @@ assembler code. %prep %setup -q -n nsis-%{version}-src + %patch0 -p1 %patch1 -p1 -%patch2 -p1 + +%patch100 -p1 %build @@ -66,8 +80,12 @@ 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 +* Fri Oct 17 2008 Richard W.M. Jones - 2.39-5 +- Fix the Summary line. + +* Wed Oct 8 2008 Richard W.M. Jones - 2.39-4 - Initial RPM release.