]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - distro/fedora/INSTALL
add instruction
[xonotic/gmqcc.git] / distro / fedora / INSTALL
index 9d021ff4cc30806d06371a31ab9851914a1fe3ae..390555a85f5b20fcf3340d551a42114d1c264e85 100644 (file)
@@ -1,17 +1,29 @@
+File is constantly updated!
+
+Since Fedora 19 we have this package in main repos. Please use it!
+
+For install gmqcc do this:
+# yum install gmqcc
+
+For install qcvm do this:
+# yum install qcvm
+
 To use the spec files in this fedora directory you need the core
-development tools for Fedora, building enviroment for the user, and
+development tools , building enviroment for the user, and
 the directory structure for it. If you don't already have these, issue
 the following commands.
 
 # yum groupinstall "Development Tools"
 # yum install rpmdevtools
-# rpmdev-setuptree
+$ rm -rf ~/rpmbuild
+$ rpmdev-setuptree
+
+Prepare and build the RPMs.
 
-Now, depending on the version of GMQCC you want, there are a serise of
-maintained spec files in this directory. Chose the version you want and
-issue the following to build the RPM.
+$ cp gmqcc.spec ~/rpmbuild/SPECS/
+$ wget https://github.com/graphitemaster/gmqcc/archive/0.2.9.tar.gz -o ~/rpmbuild/SOURCES/gmqcc-0.2.9.tar.gz
+$ wget https://raw.github.com/graphitemaster/gmqcc/master/distro/archlinux/release/build_fix.patch -o ~/rpmbuild/SPECS/build_fix.patch
+$ rpmbuild -ba ~/rpmbuild/SPECS/gmqcc.spec
 
-# rpmbuild -bs gmqc-[[version]].spec
+Now we have RPMs in ~/rpmbuild/RPMS/ and you can install it via yum.
 
-This will create an rpm file in the working directory, which you can
-install with the rpm command line tool or mock.