head 1.13;
access;
symbols;
locks; strict;
comment @-- @;
1.13
date 2009.12.07.10.10.49; author rse; state Exp;
branches;
next 1.12;
commitid IQuJLTqtyC76zqeu;
1.12
date 2009.07.02.16.35.10; author rse; state Exp;
branches;
next 1.11;
commitid hD3RQlmODz1QL9Ut;
1.11
date 2009.06.30.20.21.08; author rse; state Exp;
branches;
next 1.10;
commitid mW7f5wxeUG4f4VTt;
1.10
date 2009.06.27.18.37.30; author rse; state Exp;
branches;
next 1.9;
commitid kVn5Y569wMCLBwTt;
1.9
date 2009.06.27.12.53.28; author rse; state Exp;
branches;
next 1.8;
commitid o0gCk5r9lOXJHuTt;
1.8
date 2009.06.26.18.25.39; author rse; state Exp;
branches;
next 1.7;
commitid thpmZiP6EFfHzoTt;
1.7
date 2009.06.25.18.17.00; author rse; state Exp;
branches;
next 1.6;
commitid hhmQ73K4TrSIygTt;
1.6
date 2009.06.08.07.53.27; author rse; state Exp;
branches;
next 1.5;
commitid 8ZmfSYbX4msGE1Rt;
1.5
date 2009.04.18.13.13.20; author rse; state Exp;
branches;
next 1.4;
commitid 4pHXU27WTIGCZuKt;
1.4
date 2009.03.22.10.15.41; author rse; state Exp;
branches;
next 1.3;
commitid 9PvDAvYwSXjVW0Ht;
1.3
date 2009.03.22.10.06.29; author rse; state Exp;
branches;
next 1.2;
commitid Qp86z38MzLHLT0Ht;
1.2
date 2009.03.22.09.57.41; author rse; state Exp;
branches;
next 1.1;
commitid uARI765lEnLKQ0Ht;
1.1
date 2009.03.22.00.05.12; author rse; state Exp;
branches;
next ;
commitid 4MvMjyjvmV8uzXGt;
desc
@@
1.13
log
@upgrading package: nsis 2.45 -> 2.46
@
text
@##
## nsis.spec -- OpenPKG RPM Package Specification
## Copyright (c) 2000-2009 OpenPKG Foundation e.V.
##
## Permission to use, copy, modify, and distribute this software for
## any purpose with or without fee is hereby granted, provided that
## the above copyright notice and this permission notice appear in all
## copies.
##
## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
## SUCH DAMAGE.
##
# package information
Name: nsis
Summary: Nullsoft Scriptable Install System
URL: http://nsis.sourceforge.net/
Vendor: NullSoft
Packager: OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class: EVAL
Group: System
License: GPL
Version: 2.46
Release: 20091207
# list of sources
Source0: http://switch.dl.sourceforge.net/sourceforge/nsis/nsis-%{version}-src.tar.bz2
Source1: http://switch.dl.sourceforge.net/sourceforge/nsis/nsis-%{version}.zip
Patch0: nsis.patch
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20060823, infozip, scons, gcc, gcc::with_cxx = yes
PreReq: OpenPKG, openpkg >= 20060823
AutoReq: no
AutoReqProv: no
%description
Nullsoft Scriptable Install System (NSIS) is a professional,
script-driven Open-Source system to create Windows installers. It is
designed to be as small and flexible as possible and is therefore
very suitable for Internet distribution. This OpenPKG package
contains the compiler and the native Win32 binary artifacts.
%track
prog nsis = {
version = %{version}
url = http://sourceforge.net/projects/nsis/files/
regex = nsis-(\d+\.\d+)-src\.tar\.bz2
}
%prep
%setup -q -n nsis-%{version}-src
unzip -q -x %{SOURCE1}
%patch -p0
%build
# configure and build makensis(1)
export OPENPKG_CCFLAGS="%{l_cxxflags -O} %{l_cppflags}"
export OPENPKG_LINKFLAGS="%{l_ldflags} -liconv"
scons \
PREFIX=%{l_prefix}/share/nsis \
PREFIX_CONF=%{l_prefix}/etc/nsis \
PREFIX_DATA=%{l_prefix}/share/nsis \
NSIS_CONFIG_CONST_DATA_PATH=yes \
SKIPSTUBS=all \
SKIPPLUGINS=all \
SKIPUTILS=all \
SKIPMISC=all \
STRIP=no \
makensis
%install
# create installation hierarchy
rm -rf $RPM_BUILD_ROOT
%{l_shtool} mkdir -f -p -m 755 \
$RPM_BUILD_ROOT%{l_prefix}/bin \
$RPM_BUILD_ROOT%{l_prefix}/etc/nsis \
$RPM_BUILD_ROOT%{l_prefix}/share/nsis
# install default configuration file
%{l_shtool} install -c -m 644 \
nsisconf.nsh $RPM_BUILD_ROOT%{l_prefix}/etc/nsis/
# install the artifacts of the Win32 binary distribution
mv "nsis-%{version}/Contrib/Modern UI" \
"nsis-%{version}/Contrib/Modern-UI"
mv "nsis-%{version}/Contrib/Modern UI 2" \
"nsis-%{version}/Contrib/Modern-UI-2"
mv "nsis-%{version}/Contrib/Language files" \
"nsis-%{version}/Contrib/Language-files"
rm -rf nsis-%{version}/Examples
rm -rf nsis-%{version}/Docs
rm -f nsis-%{version}/nsisconf.nsh
rm -f nsis-%{version}/makensis.exe
rm -f nsis-%{version}/makensisw.exe
rm -f nsis-%{version}/COPYING
find nsis-%{version} -name "*.orig" -print | xargs rm -f
cp -rp nsis-%{version}/* \
$RPM_BUILD_ROOT%{l_prefix}/share/nsis/
# install the native-compiled compiler makensis(1)
%{l_shtool} install -c -s -m 755 \
build/release/makensis/makensis \
$RPM_BUILD_ROOT%{l_prefix}/bin/
# determine installation files
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
%{l_files_std} \
'%config %{l_prefix}/etc/nsis/*'
%files -f files
%clean
rm -rf $RPM_BUILD_ROOT
@
1.12
log
@fix tracking
@
text
@d34 2
a35 2
Version: 2.45
Release: 20090702
@
1.11
log
@switch to the new SourceForge.net website functionality where we can find all files (again)
@
text
@d35 1
a35 1
Release: 20090627
d61 1
a61 1
regex = nsis-(__VER__)-src\.tar\.bz2
@
1.10
log
@do not install .orig files
@
text
@d60 1
a60 1
url = http://prdownloads.sourceforge.net/nsis/
@
1.9
log
@more 32 bit specifics removals
@
text
@d110 1
@
1.8
log
@modifying package: nsis-2.45 20090625 -> 20090626
@
text
@d35 1
a35 1
Release: 20090626
@
1.7
log
@fix MUI includes
@
text
@d35 1
a35 1
Release: 20090625
@
1.6
log
@upgrading package: nsis 2.44 -> 2.45
@
text
@d35 1
a35 1
Release: 20090608
@
1.5
log
@bump years in copyright messages
@
text
@d34 2
a35 2
Version: 2.44
Release: 20090322
@
1.4
log
@no -m32 and no stripping
@
text
@d3 1
a3 1
## Copyright (c) 2000-2008 OpenPKG Foundation e.V.
@
1.3
log
@cleanup packaging and add more comments
@
text
@d82 1
@
1.2
log
@fix path handling
@
text
@d26 1
a26 1
Summary: NullSoft Installer System
d51 5
a55 2
NSIS, the Nullsoft Scriptable Install System, is a script-driven
Windows installation system.
d70 1
d85 1
d91 2
d95 2
d111 2
d115 3
a117 5
$RPM_BUILD_ROOT%{l_prefix}/share/nsis/
( echo "#!/bin/sh"
echo "exec %{l_prefix}/share/nsis/makensis \${1+\"\$@@\"}"
) >$RPM_BUILD_ROOT%{l_prefix}/bin/makensis
chmod 755 $RPM_BUILD_ROOT%{l_prefix}/bin/makensis
@
1.1
log
@new package: nsis 2.44 (NullSoft Installer System)
@
text
@d73 1
a77 1
NSIS_CONFIG_CONST_DATA_PATH=no \
@