Add masks to all channels in SDL_CreateRGBSurface calls
[sdl_tbmf.git] / INSTALL.RPM
blob9f3d24b2105cd2b5613ed06ee1f2d0ccca58a33e
1 Tar archive installation as RPM:
3 These instructions are for tar packages, which have spec file.
5 1.      Get package.tar.gz
7 2.      Make sure you can build rpms:
9         In RedHat systems you should have at least packages rpm and rpm-build
10         installed to build rpms. If they are, root should be able to build
11         rpms, but if you don't have accesss to root account in your system or
12         you just don't want to use it, you can also setup rpm build
13         environment for some other account. See SETTING UP RPM BUILD
14         ENVIRONMENT in this file.
16 3.      Build binary rpms from the tar archive:
18         It could be done with command:
20         rpm -tb package.tar.gz
22 4.      Install rpms:
24         If build succeed, rpm printed one or more lines near the end of build
25         proccess where reads something like this:
27         Wrote: /path/to/rpmbuildroot/RPMS/arch/package-version.arch.rpm
28         Wrote: /path/to/rpmbuildroot/RPMS/arch/package-subpkg-version.arch.rpm
30         Those lines tell you where your fresh binary rpms are located. Install
31         or upgrade them by running command:
33         rpm -Uhv /path/to/rpmbuildroot/RPMS/arch/package-version.arch.rpm
35         for each RPM file you want to install or upgrade.
37 5.      That's it!
40 SETTING UP RPM BUILD ENVIRONMENT
41 Create file .rpmmacros in your home directory and put following line into it:
43 %_topdir /your/homedir/some/dir
45 where /your/homedir/some/dir is a directory which you have write
46 permissions to. Then make these subdirectories into that dir (<arch> is
47 your architecture. For Intel based systems it is usually i386):
49 BUILD
50 RPMS
51 RPMS/<arch>
52 RPMS/noarch
53 SOURCES
54 SPECS
55 SRPMS