Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37845961
en ru br
ALT Linux repos
4.1: 4.2-alt1
4.0: 4.1.3-alt1
3.0: 3.5.4-alt1

Group :: System/Servers
RPM: phpPgAdmin

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: phpPgAdmin
Version: 3.5.4
Release: alt1

Summary: Handle the adminstration of PostgreSQL over the web
License: GPL
Group: System/Servers

URL: http://phppgadmin.sourceforge.net/
Source0: http://dl.sourceforge.net/phppgadmin/phpPgAdmin-%version.tar.bz2
Source1: phpPgAdmin.localhost.htaccess

Requires: php-pgsql
BuildArch: noarch

%define apache_home %_var/www/html

Prefix: %apache_home

Summary(ru_RU.KOI8-R): Управление PostgreSQL через web
Summary(uk_UA.KOI8-U): Керування PostgreSQL через web

%description
phpPgAdmin is a fully functional PostgreSQL administration
utility. You can use it to create and maintain multiple databases
and even multiple servers.

phpPgAdmin is phpMyAdmin (for MySQL) ported to PostgreSQL.

%description -l ru_RU.KOI8-R
%name -- это полнофункциональная утилита для администрирования
СУБД PostgreSQL. Применима для нескольких БД/серверов.

%description -l uk_UA.KOI8-U
%name -- це повнофункц╕ональна утил╕та для адм╕н╕стрування
СУБД PostgreSQL. Може працювати з к╕лькома БД/серверами.

%prep
%setup -q -n %name

%build
# fix perms
find . -type d | xargs chmod 755
find . -type f | xargs chmod 644
%__mv -f conf/config.inc.php-dist conf/config.inc.php

%install
subst 's|error_reporting(E_ALL);|error_reporting(E_ALL \& ~E_NOTICE);|' libraries/lib.inc.php

%__install -pD %SOURCE1 %buildroot%apache_home/%name/.htaccess
%__cp -aRf [^A-Z]* %buildroot%apache_home/%name/
%__rm -f %buildroot%apache_home/%name/conf/.cvsignore

%files
%doc CREDITS DEVELOPERS FAQ HISTORY INSTALL TODO TRANSLATORS
%config(noreplace) %attr(0640,webmaster,apache) %apache_home/%name/conf/config.inc.php
%config(noreplace) %attr(0640,webmaster,apache) %apache_home/%name/.htaccess
%apache_home/%name/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin