Summary: phpMyAdmin - web-based MySQL administration Summary(pl): phpMyAdmin - administracja bazami MySQL przez WWW Name: phpMyAdmin Version: 2.5.0 Release: 1 License: GPL v2 Group: Applications/Databases/Interfaces # Source0-md5: d64b1e6a630ad8f218196d16c948854e Source0: http://dl.sourceforge.net/phpmyadmin/%{name}-%{version}-php.tar.bz2 Patch0: %{name}-config.patch URL: http://www.phpmyadmin.net/ Requires: mysql Requires: php-mysql Requires: php Requires: webserver Buildarch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _myadmindir /home/services/httpd/html/myadmin %description phpMyAdmin can administer a whole MySQL-server (needs a super-user) but also a single database. To accomplish the latter you'll need a properly set up MySQL-user who can read/write only the desired database. It's up to you to look up the appropiate part in the MySQL manual. Currently phpMyAdmin can: - create and drop databases - create, copy, drop and alter tables - delete, edit and add fields - execute any SQL-statement, even batch-queries - manage keys on fields - load text files into tables - create (*) and read dumps of tables - export (*) and import data to CSV values - administer multiple servers and single databases - communicate in more than 20 different languages %description -l pl phpMyAdmin potrafi zarządzać całymi bazami MySQL (potrzebne uprawnienia super-user'a) jak i pojedynczymi bazami danych. Będziesz potrzebował użytkownika, który ma prawa zapisu/odczytu tylko tych baz, którymi chcesz administrować (zajrzyj do odpowiedniej części manual'a MySQL). Aktualnie phpMyAdmin potrafi: - tworzyć i usuwać bazy - create, copy, drop oraz alter na tabelach - dodawać, usuwać i edytować pola - wykonywać dowolne zapytania SQL - zarządzać kluczami na rekordach - wczytywać tekst z plików do tabel - obsługiwać ponad 20 języków - zarządzać wieloma serwerami i pojedyńczymi bazami danych - eksportować i importować dane do wartości CSV - tworzyć i czytać zrzuty tabel %prep %setup -q %patch -p1 %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_myadmindir}/{lang,images,libraries,libraries/auth} install *.php *.html badwords.txt $RPM_BUILD_ROOT%{_myadmindir} install images/*.{gif,png} $RPM_BUILD_ROOT%{_myadmindir}/images install lang/*.php $RPM_BUILD_ROOT%{_myadmindir}/lang install libraries/*.{js,php} $RPM_BUILD_ROOT%{_myadmindir}/libraries install libraries/auth/*.php $RPM_BUILD_ROOT%{_myadmindir}/libraries/auth %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc Documentation.txt ANNOUNCE.txt README TODO ChangeLog %dir %{_myadmindir} %attr(640,root,http) %config(noreplace) %verify(not size mtime md5) %{_myadmindir}/config.inc.php %{_myadmindir}/images %{_myadmindir}/lang %{_myadmindir}/libraries %{_myadmindir}/badwords.txt %{_myadmindir}/*.html %{_myadmindir}/[!c]*.php %{_myadmindir}/c[!o]*.php