123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- Name: BetterPostgres4cP
- Version: 1.0
- Release: 2%{?dist}
- Summary: Better PostgreSQL management for cPanel hosts
- Group: Plugins
- License: Troglodyne
- URL: https://troglodyne.net/better-postgres-for-cpanel
- Source0: BetterPostgres4cP-%{version}.tar.gz
- # No real way to tell it what version of cpanel-perl libs it needs,
- # as each of these are named like cpanel-perl-5xx-Module-Name.
- # This makes your RPM break every time they upgrade perl.
- # As such, just require the symlink to the binary and "pray it goes ok"
- AutoReqProv: no
- BuildRequires: make
- Requires: Troglodyne-API
- Requires: /usr/local/cpanel/3rdparty/bin/perl
- %description
- Plugin for more advanced management of PostgreSQL on cPanel systems
- %prep
- %setup -q
- %build
- %install
- make install DESTDIR=%{buildroot}
- %files
- %defattr(0700,root,root,-)
- /usr/local/cpanel/whostmgr/docroot/cgi/troglodyne/pgupgrade.cgi
- %defattr(0600,root,root,-)
- /usr/local/cpanel/whostmgr/docroot/templates/troglodyne/pgupgrade.tmpl
- /var/cpanel/templates/troglodyne/config/main.default
- /usr/local/cpanel/whostmgr/docroot/cgi/troglodyne/js/pgupgrade.js
- /usr/local/cpanel/whostmgr/docroot/cgi/troglodyne/img/troglophant.png
- /usr/local/cpanel/whostmgr/docroot/addon_plugins/troglophant.png
- /var/cpanel/perl/Troglodyne/CGI/PgUpgrade.pm
- /var/cpanel/perl/Troglodyne/CpPostgreSQL.pm
- /var/cpanel/perl/Troglodyne/API/Postgres.pm
- %defattr(0755,root,root,0755)
- /var/cpanel/apps/better_postgres.conf
- %preun
- /usr/local/cpanel/bin/unregister_appconfig better_postgres
- %post
- /usr/local/cpanel/bin/register_appconfig /var/cpanel/apps/better_postgres.conf
- %changelog
- * Tue Jul 21 2020 George S. Baugh <george@troglodyne.net> - 1.0.2
- - Section out Troglodyne-API into it's own RPM, add as dep
- * Tue Apr 14 2020 George S. Baugh <george@troglodyne.net> - 1.0.1
- - Initial Release
|