80 lines
2.0 KiB
RPMSpec
80 lines
2.0 KiB
RPMSpec
#
|
|
# spec file for package phpPgAdmin (Version 4.0.1)
|
|
#
|
|
# Copyright (c) 2006 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.0.1
|
|
Release: 1
|
|
License: GNU General Public License (GPL) - all versions
|
|
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 -n phpPgAdmin
|
|
* Wed Oct 18 2006 - tpatzig@suse.de
|
|
- initial build of phpPgAdmin Version 4.0.1
|