diff options
author | Kristof Imre Szabo <kris@lxsystems.de> | 2016-02-27 23:55:14 +0100 |
---|---|---|
committer | Kristof Imre Szabo <kris@lxsystems.de> | 2016-02-27 23:55:14 +0100 |
commit | bf3e31ece77bcbf82ab6fdd66eef7f1a64a862fb (patch) | |
tree | 614f1eee6a9caa3c869677687b1155de574ecdd8 /ext/installfiles/linux/RPM/README.md | |
parent | f217ce7ff748b0aa4c60fdd93287fcf7792b5462 (diff) | |
download | infinitytier-bf3e31ece77bcbf82ab6fdd66eef7f1a64a862fb.tar.gz infinitytier-bf3e31ece77bcbf82ab6fdd66eef7f1a64a862fb.zip |
Initial commit of the standard zerotier RPM specification
Diffstat (limited to 'ext/installfiles/linux/RPM/README.md')
-rw-r--r-- | ext/installfiles/linux/RPM/README.md | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/ext/installfiles/linux/RPM/README.md b/ext/installfiles/linux/RPM/README.md new file mode 100644 index 00000000..5647cdde --- /dev/null +++ b/ext/installfiles/linux/RPM/README.md @@ -0,0 +1,20 @@ +This folder contains two spec files which enable building of various RPM packages for zerotier. + +#zerotier-one.spec.in +This file contains the information to build an RPM from the bash based binary installer of ZeroTier. The resulting RPM cannot be recompiled to different architecture. + +#zerotier.spec +This spec file is a "standard" RPM spec file which enables building an SRPM package from the ZeroTier sources. This makes possible to compile the software on different architectures in a standard way. The spec file supports two packages: the standard zerotier and the zerotier-controller too. It supports the build options exposed in the original Linux makefile: + +rpmbuild -ba zerotier.spec #builds the standard zerotier package, this is what you need in most of the cases +rpmbuild -ba zerotier.spec --with controller #builds the zerotier-controller package +rpmbuild -ba zerotier.spec --with debug #builds the zerotier package with debug enabled +rpmbuild -ba zerotier.spec --with miniupnpc #builds the zerotier package with miniupnpc enabled +rpmbuild -ba zerotier.spec --with cluster #builds the zerotier package with cluster enabled + + +##Build environment preparation +As zerotier is not distributed in tar.gz format at the moment, the %prep section of the spec file takes care about this. + + + |