]> git.saurik.com Git - wxWidgets.git/blame - docs/tech/tn0006.txt
ugh. Nesting the (per class) plugin sentries can require them to
[wxWidgets.git] / docs / tech / tn0006.txt
CommitLineData
f6bcfd97
BP
1How to make RPMs of the wxWindows sources
2=========================================
3
4This is just a short description. It is assumed that you know what you are
5doing. I do not take any responsibility for damaged systems, use at your own
6risk!
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
21Example
22=======
23
24Here'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
30Install 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
38That's all. You should now have a working wxWindows library.
39
40Regards,
41 Robert Fendt