]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/wxPython/distrib/makerpm
Compilation fixes
[wxWidgets.git] / utils / wxPython / distrib / makerpm
index 2709058383fa2c09858f8e6608cc61b37985335d..c17bcf73e957c23edc8192cae2d2de0c0bdf7afa 100755 (executable)
@@ -12,11 +12,22 @@ fi
 
 
 
-mkdir i386
-strip /usr/lib/python1.5/site-packages/wxPython/wxcmodule.so
+strip /usr/lib/python1.5/site-packages/wxPython/*.so
+strip /usr/lib/libwxPyHelpers.so
 
 cat wxPython.spec.in | sed s/__VERSION__/$1/g > wxPython.spec
-rpm --rcfile .rpmrc -bb --clean wxPython.spec
 
-mv i386/*.rpm .
-rm -rf i386
+mkdir /usr/doc/wxPython-$1
+cp ../README.txt /usr/doc/wxPython-$1
+cp ../../../docs/preamble.txt /usr/doc/wxPython-$1
+cp ../../../docs/licence.txt /usr/doc/wxPython-$1
+cp ../../../docs/licendoc.txt /usr/doc/wxPython-$1
+cp ../../../docs/lgpl.txt /usr/doc/wxPython-$1
+cp ../../../docs/gpl.txt /usr/doc/wxPython-$1
+
+rpm -bb wxPython.spec
+
+mv /usr/src/redhat/RPMS/*/wxPython*.rpm .
+chown rd:users wxPython*.rpm
+
+rm -r /usr/doc/wxPython-$1
\ No newline at end of file