|
1 | 1 | GeoShape rpmbuild for Enterprise Linux 6 |
2 | 2 | ---------------------- |
3 | 3 |
|
4 | | -__as a non-root user with sudo access on an EL6 Operating System...__ |
| 4 | +__Using Vagrant - https://www.vagrantup.com/__ |
5 | 5 |
|
6 | 6 | ```bash |
7 | | -cd ~ |
8 | | -sudo yum -y update |
9 | | -sudo yum -y install git |
10 | | -git clone git@github.com:ROGUE-JCTD/rpmbuild.git |
11 | | -sudo yum -y install rpmdevtools |
12 | | -sudo yum -y install http://yum.geonode.boundlessps.com/geonode-repo-1.0.0-1.el6.noarch.rpm |
13 | | -sudo yum -y install python27-devel python27-virtualenv gdal-devel=1.11.2 proj-devel postgresql93-devel libxslt-devel pcre-devel gcc gcc-c++ bzip2-devel db4-devel expat-devel gdbm-devel ncurses-devel openssl-devel readline-devel sqlite-devel tk-devel tcl-devel unzip wget |
| 7 | +git clone -b geoint git@github.com:ROGUE-JCTD/rpmbuild.git |
| 8 | +cd rpmbuild |
| 9 | +vagrant up |
| 10 | +vagrant ssh |
| 11 | +QA_RPATHS=$[ 0x0001|0x0010 ] rpmbuild --define '_topdir /vagrant' -bb /vagrant/SPECS/geoshape.spec |
| 12 | +QA_RPATHS=$[ 0x0001|0x0010 ] rpmbuild --define '_topdir /vagrant' -bb /vagrant/SPECS/geoshape-geoserver.spec |
| 13 | +vagrant destroy |
14 | 14 | ``` |
15 | 15 |
|
16 | | -Build Steps |
17 | | -```bash |
18 | | -cd rpmbuild/SOURCES |
19 | | -./get_sources |
20 | | -QA_RPATHS=$[ 0x0001|0x0010 ] rpmbuild -bb ~/rpmbuild/SPECS/geoshape.spec |
21 | | -``` |
| 16 | +The newly created rpms will be located at /vagrant/RPMS |
| 17 | + |
| 18 | +If using this on a disconnected environment the following links include non "BASE" rpms in zip file format: |
| 19 | + |
| 20 | +__Note:__ devel rpms are needed only from buildign the GeoSHAPE rpms. |
| 21 | + |
| 22 | +[external.zip - 47.3MB](http://yum.geoshape.org/zip/external.zip) |
| 23 | +- elasticsearch-1.6.0.noarch.rpm |
| 24 | +- erlang-18.1-1.el6.x86_64.rpm |
| 25 | +- rabbitmq-server-3.5.6-1.noarch.rpm |
| 26 | + |
| 27 | +[opengeo.zip - 51.2 MB](http://yum.geoshape.org/zip/opengeo.zip) |
| 28 | +- gdal-1.11.2-1.el6.x86_64.rpm |
| 29 | +- gdal-devel-1.11.2-1.el6.x86_64.rpm |
| 30 | +- geos-3.4.2-1.el6.x86_64.rpm |
| 31 | +- geos-devel-3.4.2-1.el6.x86_64.rpm |
| 32 | +- postgis21-2.1.7-1.x86_64.rpm |
| 33 | +- postgis21-postgresql93-2.1.7-1.x86_64.rpm |
| 34 | +- postgresql93-9.3.5-og1.el6.x86_64.rpm |
| 35 | +- postgresql93-devel-9.3.5-og1.el6.x86_64.rpm |
| 36 | +- postgresql93-libs-9.3.5-og1.el6.x86_64.rpm |
| 37 | +- postgresql93-server-9.3.5-og1.el6.x86_64.rpm |
| 38 | +- proj-4.8.0-3.el6.x86_64.rpm |
| 39 | +- proj-devel-4.8.0-3.el6.x86_64.rpm |
| 40 | +- tomcat-7.0.33-4.el6.noarch.rpm |
| 41 | +- tomcat-el-2.2-api-7.0.33-4.el6.noarch.rpm |
| 42 | +- tomcat-jsp-2.2-api-7.0.33-4.el6.noarch.rpm |
| 43 | +- tomcat-lib-7.0.33-4.el6.noarch.rpm |
| 44 | +- tomcat-servlet-3.0-api-7.0.33-4.el6.noarch.rpm |
| 45 | + |
| 46 | +[python27.zip - 17.8 MB](http://yum.geoshape.org/zip/python27.zip) |
| 47 | +- python27-2.7.10-2.el6.x86_64.rpm |
| 48 | +- python27-devel-2.7.10-2.el6.x86_64.rpm |
| 49 | +- python27-setuptools-18.7.1-1.el6.noarch.rpm |
| 50 | +- python27-virtualenv-13.1.0-1.el6.noarch.rpm |
0 commit comments