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: ftp://ftp.sourceforge.net/pub/sourceforge/phppgadmin/%{name}_%{tar_version}.tar.bz2
10 URL: http://sourceforge.net/projects/phppgadmin/
11 Requires: php >= 4.0.6
12 Requires: php-pgsql >= 4.0.6
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 %define _pgadmindir /home/httpd/html/pgadmin
20 phpPgAdmin is a fully functional web-based administration utility for
21 a PostgreSQL database server. It handles all the basic functionality
22 as well as some advanced features such as triggers, views and
23 functions (stored procs)
26 phpPgAdmin jest w pelni funkcjonalnym bazowanym na WWW narzedziem
27 administracyjnym dla serwera baz danych PostgreSQL. Posiada wszystkie
28 podstawowe mozliwosc, jak i czesc bardziej zaawansowanych jak
29 przelaczniki, widoki i funkcje(zapisane procedury)
32 %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
43 gzip -9nf Documentation.html BUGS DEVELOPERS INSTALL README TODO ChangeLog
46 rm -rf $RPM_BUILD_ROOT
49 %defattr(644,root,root,755)
52 %attr(640,root,http) %config(noreplace) %verify(not size mtime md5) %{_pgadmindir}/config.inc.php
53 %{_pgadmindir}/[^c]*.php
54 %{_pgadmindir}/c[ah]*.php