]> git.pld-linux.org Git - packages/phpPgAdmin.git/blob - phpPgAdmin.spec
- Initial revision. spec file adapted from phpMyAdmin, need to be updated soon
[packages/phpPgAdmin.git] / phpPgAdmin.spec
1 Summary:        phpPgAdmin - web-based MySQL administration
2 Summary(pl):    phpPgAdmin - administracja bazami MySQL przez WWW
3 Name:           phpPgAdmin
4 Version:        2.3.1
5 Release:        1
6 License:        GPL v2
7 Group:          Applications/Databases/Interfaces
8 Group(de):      Applikationen/Dateibanken/Schnittstellen
9 Group(pl):      Aplikacje/Bazy danych/Interfejsy
10 Source:         http://prdownloads.sourceforge.net/phppgadmin/%{name}_2-3-1.tar.gz
11 URL:            http://sourceforge.net/projects/phppgadmin/
12 Requires:       postgresql
13 Requires:       php >= 4
14 Requires:       webserver
15 Buildarch:      noarch
16 BuildRoot:      /tmp/%{name}-%{version}-root
17
18
19 %define         _pgadmindir     /home/httpd/html/pgadmin
20
21 %description
22 phpPgAdmin can administer a whole PostgreSQL-server (needs a
23 super-user) but also a single database. To accomplish the latter
24 you'll need a properly set up PostgreSQL-user who can read/write only
25 the desired database. It's up to you to look up the appropiate part in
26 the PostgreSQL manual. Currently phpPgAdmin can:
27   - create and drop databases
28   - create, copy, drop and alter tables
29   - delete, edit and add fields
30   - execute any SQL-statement, even batch-queries
31   - manage keys on fields
32   - load text files into tables
33   - create (*) and read dumps of tables
34   - export (*) and import data to CSV values
35   - administer multiple servers and single databases
36   - communicate in more than 20 different languages
37
38 %description -l pl
39 phpPgAdmin potrafi zarz±dzaæ ca³ymi bazami PostgreSQL (potrzebne
40 uprawnienia super-user'a) jak i pojedynczymi bazami danych. Bêdziesz
41 potrzebowa³ u¿ytkownika, który ma prawa zapisu/odczytu tylko tych baz,
42 którymi chcesz administrowaæ (zajrzyj do odpowiedniej czê¶ci manual'a
43 PostgreSQL). Aktualnie phpPgAdmin potrafi:
44   - tworzyæ i usuwaæ bazy
45   - create, copy, drop oraz alter na tabelach
46   - dodawaæ, usuwaæ i edytowaæ pola
47   - wykonywaæ dowolne zapytania SQL
48   - zarz±dzaæ kluczami na rekordach
49   - wczytywaæ tekst z plików do tabel
50   - obs³ugiwaæ ponad 20 jêzyków
51   - zarz±dzaæ wieloma serwerami i pojedyñczymi bazami danych
52   - eksportowaæ i importowaæ dane do warto¶ci CSV
53   - tworzyæ i czytaæ zrzuty tabel
54
55 %prep
56 %setup -q -n phpPgAdmin
57 %build
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61 install -d $RPM_BUILD_ROOT%{_pgadmindir}/{lang,images,libraries}
62
63 cp *.php $RPM_BUILD_ROOT%{_pgadmindir}
64 cp *.html $RPM_BUILD_ROOT%{_pgadmindir}
65 cp images/*.gif $RPM_BUILD_ROOT%{_pgadmindir}/images
66
67 gzip -9nf Documentation.html BUGS DEVELOPERS INSTALL README TODO ChangeLog
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %files
73 %defattr(644,root,root,755)
74 %doc *.gz
75 %dir %{_pgadmindir}
76 %attr(640,root,http) %config(noreplace) %verify(not size mtime md5) %{_pgadmindir}/config.inc.php
77 %{_pgadmindir}/all_db.php
78 %{_pgadmindir}/db*.php
79 %{_pgadmindir}/fil*.php
80 %{_pgadmindir}/fun*.php
81 %{_pgadmindir}/grp*.php
82 %{_pgadmindir}/ldi*.php
83 %{_pgadmindir}/left.php
84 %{_pgadmindir}/main.php
85 %{_pgadmindir}/oper*.php
86 %{_pgadmindir}/rep*.php
87 %{_pgadmindir}/seq*.php
88 %{_pgadmindir}/sql.php
89 %{_pgadmindir}/tbl*.php
90 %{_pgadmindir}/trig*.php
91 %{_pgadmindir}/user*.php
92 %{_pgadmindir}/view*.php
93 %{_pgadmindir}/footer.inc.php
94 %{_pgadmindir}/header.inc.php
95 %{_pgadmindir}/index.php
96 %{_pgadmindir}/*.html
97 %{_pgadmindir}/images
98 %{_pgadmindir}/chinese*.php
99 %{_pgadmindir}/danish*.php
100 %{_pgadmindir}/catala*.php
101 %{_pgadmindir}/english*.php
102 %{_pgadmindir}/german*.php
103 %{_pgadmindir}/italian*.php
104 %{_pgadmindir}/lib.inc.php
105 %{_pgadmindir}/login*.php
106 %{_pgadmindir}/old.chinese*.php
107 %{_pgadmindir}/portu*.php
108 %{_pgadmindir}/russ*.php
109 %{_pgadmindir}/spanish*.php
This page took 0.044222 seconds and 4 git commands to generate.