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