pgadmin4/pkg/redhat
2020-03-31 17:44:38 +01:00
..
build.sh Use the correct architecture for web packages on Redhat. 2020-03-20 15:48:00 +00:00
pgadmin4-python3-mod_wsgi-exports.patch Add support for building RPMs on CentOS/RHEL 7 2020-03-19 12:56:39 -04:00
pgadmin4-python3-mod_wsgi.conf Add support for building RPMs on CentOS/RHEL 7 2020-03-19 12:56:39 -04:00
pgadmin4-python-mod_wsgi.spec Add support for building RPMs on CentOS/RHEL 7 2020-03-19 12:56:39 -04:00
pgadmin4.conf Add support for building RHEL/CentOS 8 RPMs. 2020-03-18 08:51:11 -04:00
README Update supported distro lists. 2020-03-20 14:51:19 +00:00
setup.sh Install rpm-sign. 2020-03-31 17:44:38 +01:00

This directory contains the build runner script for creating .RPM packages for
Redhat distributions. 

Build configuration
===================

To build RPM packages, first run the setup.sh script as root to install the 
required pre-requisites, e.g.

    # pkg/redhat/setup.sh

Building packages
=================

To build a set of packages, from the top-level source directory run:

    $ make redhat

or

    $ pkg/redhat/build.sh

Four .rpm packages will be created in the dist/ directory:

pgadmin4-<version>.<distro>_noarch.rpm
  A convenience package that depends on all the others.

pgadmin4-server-<version>.<distro>.<arch>.rpm
  The core server, e.g. the Python and JS code and the online documentation.

pgadmin4-desktop-<version>.<distro>.<arch>.rpm
  The desktop runtime. Requires the server package.

pgadmin4-web-<version>.<distro>.<arch>.rpm
  The server mode setup script for configuring Apache HTTPD. Requires the 
  server package.

pgadmin4-python3-mod_wsgi-4.7.1-2.el7.<arch>.rpm
  The Python 3 build of mod_wsgi for the Apache HTTPD server. Only built
  on RHEL/CentOS 7.

Supported platforms
===================

Fedora 30 & 31
RHEL/CentOS 7 & 8

Warning
=======

These scripts are experimental - use at your own risk!