1 %define sconsopts VERSION=%{version} PREFIX=%{_prefix} PREFIX_CONF=%{_sysconfdir} SKIPPLUGINS=System DEBUG_SYMBOLS=1 OPTS=1
2 %define _default_patch_fuzz 2
7 Summary: Nullsoft Scriptable Install System
10 Group: Development/Libraries
11 URL: http://nsis.sourceforge.net/
12 Source0: http://dl.sourceforge.net/sourceforge/nsis/nsis-%{version}-src.tar.bz2
13 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
15 # Patches from Debian (mainly by Paul Wise).
16 Patch0: nsis-2.42-debian-64bit-fixes.patch
17 Patch1: nsis-2.43-debian-debug-opt.patch
19 BuildRequires: mingw32-filesystem >= 40
20 BuildRequires: mingw32-gcc
21 BuildRequires: mingw32-gcc-c++
22 BuildRequires: mingw32-binutils
26 # since nsis a 32 bit only apps
27 #ExclusiveArch: %{ix86} ppc
28 #BuildRequires: wxGTK-devel
29 # The above is only required for Koji. In mock we _can_ build on
30 # x86_64 provided we have the 32 bit libraries required by the next
32 BuildRequires: /usr/include/gnu/stubs-32.h
33 BuildRequires: /usr/lib/libwx_baseu-2.8.so
37 NSIS, the Nullsoft Scriptable Install System, is a script-driven
38 Windows installation system.
40 This package includes native Fedora binaries of makensis (etc.) and
41 all plugins except for System.dll. The System.dll plugin cannot be
42 built natively at this time since it includes inline Microsoft
47 %setup -q -n nsis-%{version}-src
58 rm -rf $RPM_BUILD_ROOT
61 scons %{sconsopts} PREFIX_DEST=$RPM_BUILD_ROOT install
63 mv $RPM_BUILD_ROOT%{_docdir}/nsis $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
67 rm -rf $RPM_BUILD_ROOT
72 %doc %{_docdir}/%{name}-%{version}
73 %config(noreplace) %{_sysconfdir}/nsisconf.nsh
80 * Fri Feb 20 2009 Richard W.M. Jones <rjones@redhat.com> - 2.43-2
81 - Rebuild for mingw32-gcc 4.4
83 * Fri Feb 13 2009 Levente Farkas <lfarkas@lfarkas.org> - 2.43-1
84 - update to the latest upstream
86 * Wed Jan 14 2009 Levente Farkas <lfarkas@lfarkas.org> - 2.42-1
87 - update to the latest upstream
90 * Fri Oct 17 2008 Richard W.M. Jones <rjones@redhat.com> - 2.39-5
91 - Fix the Summary line.
93 * Wed Oct 8 2008 Richard W.M. Jones <rjones@redhat.com> - 2.39-4
94 - Initial RPM release.