X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=nsis%2Fmingw32-nsis.spec;h=76b94d3ea72348e52702ad8d05f8387f410dc7b5;hb=bb0d0ed22f660c4ffcaacdfecf68ac72138b70e1;hp=4255c616526e64dc6f070bd14dd9a51d33429ae7;hpb=05c674c80ad9a2aa47972f9ac7915ca409abea12;p=fedora-mingw.git diff --git a/nsis/mingw32-nsis.spec b/nsis/mingw32-nsis.spec index 4255c61..76b94d3 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 +Version: 2.43 +Release: 2%{?dist} +Summary: Nullsoft Scriptable Install System License: zlib and CPL Group: Development/Libraries @@ -12,29 +13,24 @@ Source0: http://dl.sourceforge.net/sourceforge/nsis/nsis-%{version}-src.t BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) # Patches from Debian (mainly by Paul Wise). -Patch0: nsis-2.39-debian-64bit-fixes.patch -Patch1: nsis-2.39-debian-debug-opt.patch +Patch0: nsis-2.42-debian-64bit-fixes.patch +Patch1: nsis-2.43-debian-debug-opt.patch -# This patch is required for NSIS to find the correct cross-compiler. -Patch100: nsis-2.39-mingw32-search.patch - -BuildRequires: mingw32-filesystem >= 20 +BuildRequires: mingw32-filesystem >= 40 BuildRequires: mingw32-gcc +BuildRequires: mingw32-gcc-c++ 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: scons + +# since nsis a 32 bit only apps +#ExclusiveArch: %{ix86} ppc +#BuildRequires: wxGTK-devel +# The above is only required for Koji. In mock we _can_ build on +# x86_64 provided we have the 32 bit libraries required by the next +# two lines. 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 +BuildRequires: /usr/lib/libwx_baseu-2.8.so %description @@ -50,10 +46,8 @@ assembler code. %prep %setup -q -n nsis-%{version}-src -%patch0 -p1 -%patch1 -p1 - -%patch100 -p1 +%patch0 -p1 -b .64bit +%patch1 -p1 -b .debug %build @@ -75,13 +69,26 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) -%{_bindir}/* -%config(noreplace) %{_sysconfdir}/nsisconf.nsh -%{_includedir}/nsis %doc %{_docdir}/%{name}-%{version} +%config(noreplace) %{_sysconfdir}/nsisconf.nsh +%{_bindir}/* +#{_includedir}/nsis %{_datadir}/nsis %changelog -* Tue Oct 7 2008 Richard W.M. Jones - 2.39-1 +* Fri Feb 20 2009 Richard W.M. Jones - 2.43-2 +- Rebuild for mingw32-gcc 4.4 + +* Fri Feb 13 2009 Levente Farkas - 2.43-1 +- update to the latest upstream + +* Wed Jan 14 2009 Levente Farkas - 2.42-1 +- update to the latest upstream +- a few small changes + +* 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.