phpPgAdmin/phpPgAdmin.spec

90 lines
2.5 KiB
RPMSpec

#
# spec file for package phpPgAdmin (Version 4.1.3)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: phpPgAdmin
Summary: phpPgAdmin is a web-based administration tool for PostgreSQL
BuildRequires: apache2
Version: 4.1.3
Release: 1
License: GPL v2 or later
Group: Productivity/Databases/Tools
Requires: php5-pgsql apache2-mod_php5
URL: http://phppgadmin.sourceforge.net
Source0: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArchitectures: noarch
%description
phpPgAdmin is a web-based administration tool for PostgreSQL. It is
perfect for PostgreSQL DBAs, newbies and hosting services.
Currently it can:
- Administer multiple servers
- Support for PostgreSQL 7.0.x, 7.1.x, 7.2.x, 7.3.x, 7.4.x, 8.0.x
and 8.1.x
- Manage all aspects (Users, Groups, Databases, Schemas, Tables,
Views, Reports)
- Easy data manipulation (browse tables, views, reports; Select,
insert, update and delete; execute SQL statements)
- Dump table data in a variety of formats
- Import SQL scripts, COPY data, XML, CSV and Tabbed
- Available in 26 languages
Authors:
--------
Dan Wilson
Robert Treat
Christopher Kings-Lynne
%prep
%setup -q
%build
%install
mkdir -p %buildroot/srv/www/htdocs/%{name}
cp -a * %buildroot/srv/www/htdocs/%{name}/
rm -f %buildroot/srv/www/htdocs/%{name}/lang/php2po
rm -f %buildroot/srv/www/htdocs/%{name}/lang/po2php
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(0644,root,root,0755)
%doc CREDITS DEVELOPERS INSTALL TODO TRANSLATORS
/srv/www/htdocs/%{name}
%exclude /srv/www/htdocs/%{name}/conf/config.inc.php
%config(noreplace) /srv/www/htdocs/%{name}/conf/config.inc.php
%changelog
* Sat Aug 04 2007 - tpatzig@suse.de
- update to Version 4.1.3
* Send encrypted passwords over the wire wherever possible.
* Alter sequence, nextval and setval (Guillaume)
* Autovacuum configuration support (Robert Treat)
* Basic ROLE support (Chris Kings-Lynne, Javier Carlos)
* Add support for SSL connections (Eric Kinolik)
* Display Prepared Transactions (Javier Carlos)
* Add automatic lookup of foreign key values in insert/update fields (John Jawed)
* several bugfixes
* Wed Oct 18 2006 - tpatzig@suse.de
- initial build of phpPgAdmin Version 4.0.1