]> git.pld-linux.org Git - packages/phpPgAdmin.git/blob - phpPgAdmin.spec
- really 2.4.1 version now (tar name)
[packages/phpPgAdmin.git] / phpPgAdmin.spec
1 Summary:        phpPgAdmin - web-based PostgreSQL administration
2 Summary(pl):    phpPgAdmin - administracja bazami PostgreSQL przez WWW
3 Name:           phpPgAdmin
4 Version:        2.4.1
5 %define         tar_version     %(echo %{version} | sed "s,\\.,-,g")
6 Release:        1
7 License:        GPL v2
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
13 Requires:       webserver
14 Buildarch:      noarch
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %define         _pgadmindir     /home/httpd/html/pgadmin
18
19 %description
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)
24
25 %description -l pl
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)
30
31 %prep
32 %setup -q -n phpPgAdmin
33 %build
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37 install -d $RPM_BUILD_ROOT%{_pgadmindir}/{lang,images,libraries}
38
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
42
43 gzip -9nf Documentation.html BUGS DEVELOPERS INSTALL README TODO ChangeLog
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %doc *.gz
51 %dir %{_pgadmindir}
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
55 %{_pgadmindir}/*.html
56 %{_pgadmindir}/images
This page took 0.049127 seconds and 3 git commands to generate.