1 Summary: phpPgAdmin - web-based PostgreSQL administration
2 Summary(pl): phpPgAdmin - administracja bazami PostgreSQL przez WWW
5 %define tar_version %(echo %{version} | sed "s,\\.,-,g")
8 Group: Applications/Databases/Interfaces
9 Source0: http://dl.sourceforge.net/phppgadmin/%{name}_%{tar_version}.tar.bz2
10 URL: http://sourceforge.net/projects/phppgadmin/
11 Requires: php >= 4.0.6
13 Requires: php-pgsql >= 4.0.6
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 %define _pgadmindir /home/services/httpd/html/pgadmin
21 phpPgAdmin is a fully functional web-based administration utility for
22 a PostgreSQL database server. It handles all the basic functionality
23 as well as some advanced features such as triggers, views and
24 functions (stored procs)
27 phpPgAdmin jest w pelni funkcjonalnym bazowanym na WWW narzedziem
28 administracyjnym dla serwera baz danych PostgreSQL. Posiada wszystkie
29 podstawowe mozliwosc, jak i czesc bardziej zaawansowanych jak
30 przelaczniki, widoki i funkcje(zapisane procedury)
33 %setup -q -n phpPgAdmin
36 rm -rf $RPM_BUILD_ROOT
37 install -d $RPM_BUILD_ROOT%{_pgadmindir}/{lang,images,libraries}
39 cp *.php *.html $RPM_BUILD_ROOT%{_pgadmindir}
40 cp config.inc.php-dist $RPM_BUILD_ROOT%{_pgadmindir}/config.inc.php
41 cp images/*.gif $RPM_BUILD_ROOT%{_pgadmindir}/images
44 rm -rf $RPM_BUILD_ROOT
47 %defattr(644,root,root,755)
48 %doc Documentation.html BUGS DEVELOPERS INSTALL README TODO ChangeLog
50 %attr(640,root,http) %config(noreplace) %verify(not size mtime md5) %{_pgadmindir}/config.inc.php
51 %{_pgadmindir}/[!c]*.php
52 %{_pgadmindir}/c[ah]*.php