add instruction
[xonotic/gmqcc.git] / distro / fedora / INSTALL
1 File is constantly updated!
2
3 Since Fedora 19 we have this package in main repos. Please use it!
4
5 For install gmqcc do this:
6 # yum install gmqcc
7
8 For install qcvm do this:
9 # yum install qcvm
10
11 To use the spec files in this fedora directory you need the core
12 development tools , building enviroment for the user, and
13 the directory structure for it. If you don't already have these, issue
14 the following commands.
15
16 # yum groupinstall "Development Tools"
17 # yum install rpmdevtools
18 $ rm -rf ~/rpmbuild
19 $ rpmdev-setuptree
20
21 Prepare and build the RPMs.
22
23 $ cp gmqcc.spec ~/rpmbuild/SPECS/
24 $ wget https://github.com/graphitemaster/gmqcc/archive/0.2.9.tar.gz -o ~/rpmbuild/SOURCES/gmqcc-0.2.9.tar.gz
25 $ wget https://raw.github.com/graphitemaster/gmqcc/master/distro/archlinux/release/build_fix.patch -o ~/rpmbuild/SPECS/build_fix.patch
26 $ rpmbuild -ba ~/rpmbuild/SPECS/gmqcc.spec
27
28 Now we have RPMs in ~/rpmbuild/RPMS/ and you can install it via yum.
29