]> git.saurik.com Git - wxWidgets.git/blame - utils/wxPython/distrib/makerpm
wxHTMLHelpController compiles (and somewhat works) under Windows, added a
[wxWidgets.git] / utils / wxPython / distrib / makerpm
CommitLineData
e6c95f27
RD
1#!/bin/bash
2
3if [ -z $1 ]; then
4 echo "Please specify a version number on the command line."
5 exit 1
6fi
7
8if [ ! -f wxPython.spec.in ]; then
9 echo "Please run this script from the directory containing the wxPython.spec.in file."
10 exit 1
11fi
12
13
14
15mkdir i386
16strip /usr/lib/python1.5/site-packages/wxPython/wxcmodule.so
17
18cat wxPython.spec.in | sed s/__VERSION__/$1/g > wxPython.spec
69c6074d 19rpm --rcfile .rpmrc -bb wxPython.spec
e6c95f27
RD
20
21mv i386/*.rpm .
22rm -rf i386