1 Name: mingw32-nsiswrapper
4 Summary: Helper program for making NSIS Windows installers
7 Group: Development/Libraries
8 URL: http://fedoraproject.org/wiki/MinGW
9 Source0: nsiswrapper.pl
12 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
18 Requires: mingw32-nsis
22 NSISWrapper is a helper program for making Windows installers,
23 particularly when you are cross-compiling from Unix.
25 NSIS (a separate package) is a program for building Windows
26 installers. This wrapper simply makes it easier to generate the
27 installer script that NSIS needs.
39 rm -rf $RPM_BUILD_ROOT
41 mkdir -p $RPM_BUILD_ROOT%{_bindir}
42 install -m 0755 %{SOURCE0} $RPM_BUILD_ROOT%{_bindir}/nsiswrapper
44 # Install documentation (manually).
45 mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
46 install -m 0644 %{SOURCE1} %{SOURCE2} \
47 $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
49 # Build the manpage from the source.
50 mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
51 pod2man -c "NSIS" -r "%{name}-%{version}" %{SOURCE0} \
52 > $RPM_BUILD_ROOT%{_mandir}/man1/nsiswrapper.1
56 rm -rf $RPM_BUILD_ROOT
61 %doc %{_docdir}/%{name}-%{version}/COPYING
62 %doc %{_docdir}/%{name}-%{version}/README
63 %{_bindir}/nsiswrapper
64 %{_mandir}/man1/nsiswrapper.1*
68 * Thu Oct 16 2008 Richard W.M. Jones <rjones@redhat.com> - 3-2
69 - Initial RPM release.