Репозитории ALT
S: | 5.2.1-alt1 |
5.1: | 3.3.10-alt0.M50P.1 |
4.1: | 2.11.8.1-alt0.M41.1 |
4.0: | 2.11.8.1-alt0.M40.1 |
3.0: | 2.5.7-alt2pl1 |
Группа :: Система/Серверы
Пакет: phpMyAdmin
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: phpMyAdmin
Version: 3.3.10
Release: alt0.M50P.1
Summary: phpMyAdmin - web-based MySQL administration
License: GPL
Group: System/Servers
Url: http://www.phpmyadmin.net
Source0: http://prdownloads.sourceforge.net/phpmyadmin/%name-%version-all-languages.tar.bz2
Source1: config.inc.php
Source2: %name-README.ALT
Source3: %name.htaccess
Source5: %name.conf
Source6: %name.A.conf
Source7: %name-apache.control
Source8: %name-apache2.control
Provides: phpmyadmin
Obsoletes: %name-common
BuildArch: noarch
Packager: Dmitriy Kulik <lnkvisitor at altlinux.org>
Requires: pwgen webserver-common control
BuildPreReq: rpm-macros-fillup rpm-macros-apache rpm-macros-apache2 rpm-macros-webserver-common
BuildRequires: apache-base apache2-base control
%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
%package apache
Summary: phpMyAdmin - web-based MySQL administration (for apache 1.3 and php5)
Group: System/Servers
Requires: %name = %version-%release
Requires: apache-mod_php5
Requires: php5-mysql
Requires: php5-mcrypt
Requires: php5-mbstring
Requires: php5-gd2
Requires: php5-ctype
%description apache
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
Install this package if you need phpMyAdmin for apache 1.3 and php5.
%package apache2
Summary: phpMyAdmin - web-based MySQL administration (for apache 2.0 and php5)
Group: System/Servers
Requires: %name = %version-%release
Requires: apache2-mod_php5 >= 5.2.0
Requires: php5-mysql
Requires: php5-mcrypt
Requires: php5-mbstring
Requires: php5-gd2
%description apache2
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
Install this package if you need phpMyAdmin for apache 2.0 and php5.
%prep
%setup -q -n %name-%version-all-languages
%install
install -m755 -d %buildroot%webserver_webappsdir/%name/{lang,js{/mooRainbow{/images,},},themes,libraries{/auth,},css}
install -m644 *.php *.html *.css favicon.ico %buildroot%webserver_webappsdir/%name/
install -m644 js/*.js %buildroot%webserver_webappsdir/%name/js/
install -m644 js/mooRainbow/*.* %buildroot%webserver_webappsdir/%name/js/mooRainbow
install -m644 js/mooRainbow/images/*.* %buildroot%webserver_webappsdir/%name/js/mooRainbow/images
install -m644 lang/*.php %buildroot%webserver_webappsdir/%name/lang/
cp -a libraries/ %buildroot%webserver_webappsdir/%name/
cp -a themes %buildroot%webserver_webappsdir/%name/
cp -a %SOURCE3 %buildroot%webserver_webappsdir/%name/.htaccess
cp %SOURCE2 .
cp %SOURCE1 %buildroot%webserver_webappsdir/%name/
#make httpd config
%__mkdir_p %buildroot%apache_addonconfdir
%__mkdir_p %buildroot%apache_modconfdir
cp %SOURCE5 %buildroot%apache_addonconfdir/%name.conf
%__subst 's|--dir--|%webserver_webappsdir/%name|g' %buildroot%apache_addonconfdir/%name.conf
ln -s %apache_addonconfdir/%name.conf %buildroot%apache_modconfdir/%name.conf
%__mkdir_p %buildroot%apache2_extra_available
%__mkdir_p %buildroot%apache2_extra_enabled
cp %SOURCE6 %buildroot%apache2_extra_available/%name.conf
%__subst 's|--dir--|%webserver_webappsdir/%name|g' %buildroot%apache2_extra_available/%name.conf
ln -s %apache2_extra_available/%name.conf %buildroot%apache2_extra_enabled/%name.conf
#make control modules
%__mkdir_p %buildroot%_controldir
cp %SOURCE7 %buildroot%_controldir/%name-apache
%__subst 's|--dir--|%apache_addonconfdir|g' %buildroot%_controldir/%name-apache
cp %SOURCE8 %buildroot%_controldir/%name-apache2
%__subst 's|--dir--|%apache2_extra_available|g' %buildroot%_controldir/%name-apache2
%post
replace *SECRET* `pwgen -0s1` -- %webserver_webappsdir/%name/config.inc.php
%pre apache
%pre_control %name-apache
%post apache
%post_control -s restricted %name-apache
%_initdir/httpd condreload
%postun apache
%_initdir/httpd condreload
%pre apache2
%pre_control %name-apache2
%post apache2
%post_control -s restricted %name-apache2
%_initdir/httpd2 condreload
%postun apache2
%_initdir/httpd2 condreload
%files
%doc scripts contrib documentation-gsoc phpMyAdmin-README.ALT
%doc Documentation.html docs.css README TODO ChangeLog translators.html Documentation.txt
%dir %webserver_webappsdir/%name/
%webserver_webappsdir/%name/lang/
%webserver_webappsdir/%name/libraries/
%webserver_webappsdir/%name/themes/
%webserver_webappsdir/%name/js/
%webserver_webappsdir/%name/favicon.ico
%webserver_webappsdir/%name/.htaccess
%webserver_webappsdir/%name/*.html
%webserver_webappsdir/%name/*.css
%webserver_webappsdir/%name/[^c]*.php
%webserver_webappsdir/%name/c[^o]*.php
%webserver_webappsdir/%name/config.sample.inc.php
%attr(640,root,%webserver_group) %config(noreplace) %webserver_webappsdir/%name/config.inc.php
%exclude %webserver_webappsdir/%name/phpinfo.php
%files apache
%apache_addonconfdir/%name.conf
%apache_modconfdir/%name.conf
%attr(755,root,root) %_controldir/%name-apache
%files apache2
%apache2_extra_available/%name.conf
%apache2_extra_enabled/%name.conf
%attr(755,root,root) %_controldir/%name-apache2
%changelog
…
Полный changelog можно просмотреть здесь
Version: 3.3.10
Release: alt0.M50P.1
Summary: phpMyAdmin - web-based MySQL administration
License: GPL
Group: System/Servers
Url: http://www.phpmyadmin.net
Source0: http://prdownloads.sourceforge.net/phpmyadmin/%name-%version-all-languages.tar.bz2
Source1: config.inc.php
Source2: %name-README.ALT
Source3: %name.htaccess
Source5: %name.conf
Source6: %name.A.conf
Source7: %name-apache.control
Source8: %name-apache2.control
Provides: phpmyadmin
Obsoletes: %name-common
BuildArch: noarch
Packager: Dmitriy Kulik <lnkvisitor at altlinux.org>
Requires: pwgen webserver-common control
BuildPreReq: rpm-macros-fillup rpm-macros-apache rpm-macros-apache2 rpm-macros-webserver-common
BuildRequires: apache-base apache2-base control
%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
%package apache
Summary: phpMyAdmin - web-based MySQL administration (for apache 1.3 and php5)
Group: System/Servers
Requires: %name = %version-%release
Requires: apache-mod_php5
Requires: php5-mysql
Requires: php5-mcrypt
Requires: php5-mbstring
Requires: php5-gd2
Requires: php5-ctype
%description apache
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
Install this package if you need phpMyAdmin for apache 1.3 and php5.
%package apache2
Summary: phpMyAdmin - web-based MySQL administration (for apache 2.0 and php5)
Group: System/Servers
Requires: %name = %version-%release
Requires: apache2-mod_php5 >= 5.2.0
Requires: php5-mysql
Requires: php5-mcrypt
Requires: php5-mbstring
Requires: php5-gd2
%description apache2
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
Install this package if you need phpMyAdmin for apache 2.0 and php5.
%prep
%setup -q -n %name-%version-all-languages
%install
install -m755 -d %buildroot%webserver_webappsdir/%name/{lang,js{/mooRainbow{/images,},},themes,libraries{/auth,},css}
install -m644 *.php *.html *.css favicon.ico %buildroot%webserver_webappsdir/%name/
install -m644 js/*.js %buildroot%webserver_webappsdir/%name/js/
install -m644 js/mooRainbow/*.* %buildroot%webserver_webappsdir/%name/js/mooRainbow
install -m644 js/mooRainbow/images/*.* %buildroot%webserver_webappsdir/%name/js/mooRainbow/images
install -m644 lang/*.php %buildroot%webserver_webappsdir/%name/lang/
cp -a libraries/ %buildroot%webserver_webappsdir/%name/
cp -a themes %buildroot%webserver_webappsdir/%name/
cp -a %SOURCE3 %buildroot%webserver_webappsdir/%name/.htaccess
cp %SOURCE2 .
cp %SOURCE1 %buildroot%webserver_webappsdir/%name/
#make httpd config
%__mkdir_p %buildroot%apache_addonconfdir
%__mkdir_p %buildroot%apache_modconfdir
cp %SOURCE5 %buildroot%apache_addonconfdir/%name.conf
%__subst 's|--dir--|%webserver_webappsdir/%name|g' %buildroot%apache_addonconfdir/%name.conf
ln -s %apache_addonconfdir/%name.conf %buildroot%apache_modconfdir/%name.conf
%__mkdir_p %buildroot%apache2_extra_available
%__mkdir_p %buildroot%apache2_extra_enabled
cp %SOURCE6 %buildroot%apache2_extra_available/%name.conf
%__subst 's|--dir--|%webserver_webappsdir/%name|g' %buildroot%apache2_extra_available/%name.conf
ln -s %apache2_extra_available/%name.conf %buildroot%apache2_extra_enabled/%name.conf
#make control modules
%__mkdir_p %buildroot%_controldir
cp %SOURCE7 %buildroot%_controldir/%name-apache
%__subst 's|--dir--|%apache_addonconfdir|g' %buildroot%_controldir/%name-apache
cp %SOURCE8 %buildroot%_controldir/%name-apache2
%__subst 's|--dir--|%apache2_extra_available|g' %buildroot%_controldir/%name-apache2
%post
replace *SECRET* `pwgen -0s1` -- %webserver_webappsdir/%name/config.inc.php
%pre apache
%pre_control %name-apache
%post apache
%post_control -s restricted %name-apache
%_initdir/httpd condreload
%postun apache
%_initdir/httpd condreload
%pre apache2
%pre_control %name-apache2
%post apache2
%post_control -s restricted %name-apache2
%_initdir/httpd2 condreload
%postun apache2
%_initdir/httpd2 condreload
%files
%doc scripts contrib documentation-gsoc phpMyAdmin-README.ALT
%doc Documentation.html docs.css README TODO ChangeLog translators.html Documentation.txt
%dir %webserver_webappsdir/%name/
%webserver_webappsdir/%name/lang/
%webserver_webappsdir/%name/libraries/
%webserver_webappsdir/%name/themes/
%webserver_webappsdir/%name/js/
%webserver_webappsdir/%name/favicon.ico
%webserver_webappsdir/%name/.htaccess
%webserver_webappsdir/%name/*.html
%webserver_webappsdir/%name/*.css
%webserver_webappsdir/%name/[^c]*.php
%webserver_webappsdir/%name/c[^o]*.php
%webserver_webappsdir/%name/config.sample.inc.php
%attr(640,root,%webserver_group) %config(noreplace) %webserver_webappsdir/%name/config.inc.php
%exclude %webserver_webappsdir/%name/phpinfo.php
%files apache
%apache_addonconfdir/%name.conf
%apache_modconfdir/%name.conf
%attr(755,root,root) %_controldir/%name-apache
%files apache2
%apache2_extra_available/%name.conf
%apache2_extra_enabled/%name.conf
%attr(755,root,root) %_controldir/%name-apache2
%changelog
…
Полный changelog можно просмотреть здесь