]> git.saurik.com Git - wxWidgets.git/blob - docs/tech/tn0006.txt
Don't use ConvertToBitmap
[wxWidgets.git] / docs / tech / tn0006.txt
1 How to make RPMs of the wxWindows sources
2 =========================================
3
4 This is just a short description. It is assumed that you know what you are
5 doing. I do not take any responsibility for damaged systems, use at your own
6 risk!
7
8 1. Extract the archive in a temporary directory. Since you are
9 reading this text, you already have done this.
10 2. Copy the .spec file to
11 (rpm-dir)/SPECS
12 3. Copy the .tgz file to
13 (rpm-dir)/SOURCES
14 4. Start the RPM manager with
15 rpm -bb (rpm-dir)/SPECS/(.spec-file)
16 or with
17 rpm -ba (rpm-dir)/SPECS/(.spec-file)
18 (the latter also builds the .src.rpm-file)
19 5. You now have a nice set of RPMs in (rpm-dir)/RPMS
20
21 Example
22 =======
23
24 Here's how to install e.g. wxMotif 2.1.14:
25
26 cp wxMotif.spec /usr/src/packages/SPECS
27 cp wxMotif-2.1.14.tgz /usr/src/packages/SOURCES
28 rpm -bb /usr/src/packages/SPECS/wxMotif.spec
29
30 Install the resulting packages with
31
32 rpm --install /usr/src/packages/RPMS/i386/wxMotif-2.1.14-0.i386.rpm
33 rpm --install /usr/src/packages/RPMS/i386/wxMotif-devel-2.1.14-0.i386.rpm
34 rpm --install /usr/src/packages/RPMS/i386/wxMotif-gl-2.1.14-0.i386.rpm
35
36
37
38 That's all. You should now have a working wxWindows library.
39
40 Regards,
41 Robert Fendt