]> git.pld-linux.org Git - packages/phpMyAdmin.git/blob - phpMyAdmin.spec
- update ("This version contains the messages that were omitted in some language...
[packages/phpMyAdmin.git] / phpMyAdmin.spec
1 Summary:        phpMyAdmin - web-based MySQL administration
2 Summary(pl):    phpMyAdmin - administracja bazami MySQL przez WWW
3 Name:           phpMyAdmin
4 Version:        2.3.3pl1
5 Release:        1
6 License:        GPL v2
7 Group:          Applications/Databases/Interfaces
8 Source0:        http://prdownloads.sourceforge.net/phpmyadmin/%{name}-%{version}-php.tar.bz2
9 URL:            http://www.phpmyadmin.net
10 Requires:       mysql
11 Requires:       php-mysql
12 Requires:       webserver
13 Buildarch:      noarch
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %define         _myadmindir     /home/services/httpd/html/myadmin
17
18 %description
19 phpMyAdmin can administer a whole MySQL-server (needs a super-user)
20 but also a single database. To accomplish the latter you'll need a
21 properly set up MySQL-user who can read/write only the desired
22 database. It's up to you to look up the appropiate part in the MySQL
23 manual. Currently phpMyAdmin can:
24   - create and drop databases
25   - create, copy, drop and alter tables
26   - delete, edit and add fields
27   - execute any SQL-statement, even batch-queries
28   - manage keys on fields
29   - load text files into tables
30   - create (*) and read dumps of tables
31   - export (*) and import data to CSV values
32   - administer multiple servers and single databases
33   - communicate in more than 20 different languages
34
35 %description -l pl
36 phpMyAdmin potrafi zarz±dzaæ ca³ymi bazami MySQL (potrzebne
37 uprawnienia super-user'a) jak i pojedynczymi bazami danych. Bêdziesz
38 potrzebowa³ u¿ytkownika, który ma prawa zapisu/odczytu tylko tych baz,
39 którymi chcesz administrowaæ (zajrzyj do odpowiedniej czê¶ci manual'a
40 MySQL). Aktualnie phpMyAdmin potrafi:
41   - tworzyæ i usuwaæ bazy
42   - create, copy, drop oraz alter na tabelach
43   - dodawaæ, usuwaæ i edytowaæ pola
44   - wykonywaæ dowolne zapytania SQL
45   - zarz±dzaæ kluczami na rekordach
46   - wczytywaæ tekst z plików do tabel
47   - obs³ugiwaæ ponad 20 jêzyków
48   - zarz±dzaæ wieloma serwerami i pojedyñczymi bazami danych
49   - eksportowaæ i importowaæ dane do warto¶ci CSV
50   - tworzyæ i czytaæ zrzuty tabel
51
52 %prep
53 %setup -q
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57 install -d $RPM_BUILD_ROOT%{_myadmindir}/{lang,images,libraries,libraries/auth}
58
59 install *.php *.html badwords.txt $RPM_BUILD_ROOT%{_myadmindir}
60 install images/*.{gif,png} $RPM_BUILD_ROOT%{_myadmindir}/images
61 install lang/*.php $RPM_BUILD_ROOT%{_myadmindir}/lang
62 install libraries/*.{js,php} $RPM_BUILD_ROOT%{_myadmindir}/libraries
63 install libraries/auth/*.php $RPM_BUILD_ROOT%{_myadmindir}/libraries/auth
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %files
69 %defattr(644,root,root,755)
70 %doc Documentation.txt ANNOUNCE.txt README TODO ChangeLog
71 %dir %{_myadmindir}
72 %attr(640,root,http) %config(noreplace) %verify(not size mtime md5) %{_myadmindir}/config.inc.php
73 %{_myadmindir}/images
74 %{_myadmindir}/lang
75 %{_myadmindir}/libraries
76 %{_myadmindir}/badwords.txt
77 %{_myadmindir}/*.html
78 %{_myadmindir}/[^c]*.php
79 %{_myadmindir}/c[^o]*.php
This page took 0.0368810000000001 seconds and 4 git commands to generate.