ALT Linux repos
Group :: Networking/WWW
RPM: phpMyAdmin
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define _source_payload w9.gzdio
Name: phpMyAdmin
Version: 2.11.8.1
Release: alt0.M41.1
%define origversion %version
Summary: phpMyAdmin - web-based MySQL administration
License: GPL
Group: Networking/WWW
Url: http://www.phpmyadmin.net
#Source: http://prdownloads.sourceforge.net/phpmyadmin/%name-%origversion.tar.bz2
Source0: http://prdownloads.sourceforge.net/phpmyadmin/%name-%origversion-all-languages.tar.bz2
Source1: localhost.htaccess
Source2: phpMyAdmin-README.ALT
#Requires: mod_php php-mysql
Requires: %name-engine
Provides: phpmyadmin
BuildArch: noarch
Packager: Igor Zubkov <icesik at altlinux.org>
#TODO: try again to let non-root webmaster edit the config file
# (read: need web policy)
#define webmaster webmaster
%define apache_group apache
%define apache_home /var/www
%define pma_home %apache_home/html/%name
%define pma_doc %_docdir/%name-%version
%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 common
Summary: phpMyAdmin - web-based MySQL administration (common package)
Group: Networking/WWW
%description common
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
This is package contains common part of phpMyAdmin.
%package apache-php4
Summary: phpMyAdmin - web-based MySQL administration (for apache 1.3 and php4)
Group: Networking/WWW
Requires: %name-common = %version-%release
Requires: apache-mod_php
Requires: php-mysql
Requires: php-mcrypt
Requires: php-mbstring
Provides: %name-engine
%description apache-php4
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 php4.
%package apache-php5
Summary: phpMyAdmin - web-based MySQL administration (for apache 1.3 and php5)
Group: Networking/WWW
Requires: %name-common = %version-%release
Requires: apache-mod_php5
Requires: php5-mysql
Requires: php5-mcrypt
Requires: php5-mbstring
Provides: %name-engine
%description apache-php5
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-php4
Summary: phpMyAdmin - web-based MySQL administration (for apache 2.0 and php4)
Group: Networking/WWW
Requires: %name-common = %version-%release
Requires: apache2-mod_php
Requires: php-mysql
Requires: php-mcrypt
Requires: php-mbstring
Provides: %name-engine
%description apache2-php4
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 php4.
%package apache2-php5
Summary: phpMyAdmin - web-based MySQL administration (for apache 2.0 and php5)
Group: Networking/WWW
Requires: %name-common = %version-%release
Requires: apache2-mod_php5
Requires: php5-mysql
Requires: php5-mcrypt
Requires: php5-mbstring
Provides: %name-engine
%description apache2-php5
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-%origversion-all-languages
%install
install -m755 -d %buildroot%pma_home/{lang,js,test,themes,libraries{/auth,},css}
install -m644 *.php *.html *.css favicon.ico %buildroot%pma_home/
install -m644 js/*.js %buildroot%pma_home/js/
install -m644 lang/*.php %buildroot%pma_home/lang/
install -m640 %SOURCE1 %buildroot%pma_home/.htaccess
cp -a libraries/ %buildroot%pma_home/
cp -a test/ %buildroot%pma_home/
cp -a themes %buildroot%pma_home/
cp %SOURCE2 .
%files
%doc scripts contrib phpMyAdmin-README.ALT
%doc Documentation.html docs.css README TODO ChangeLog translators.html Documentation.txt
%files common
%dir %pma_home/
#attr(0640,root,%apache_group) %config(noreplace) %verify(not size mtime md5) %pma_home/config.inc.php
%attr(0640,root,apache) %config(noreplace) %pma_home/.htaccess
%pma_home/lang/
%pma_home/libraries/
%pma_home/test/
%pma_home/themes/
%pma_home/js/
%pma_home/favicon.ico
%pma_home/*.html
%pma_home/*.css
%pma_home/[^c]*.php
%pma_home/c[^o]*.php
%pma_home/config.sample.inc.php
%exclude %pma_home/phpinfo.php
%files apache-php4
%files apache-php5
%files apache2-php4
%files apache2-php5
# TODO:
# - translators.html goes in twice
%changelog
…
Full changelog you can see here
Name: phpMyAdmin
Version: 2.11.8.1
Release: alt0.M41.1
%define origversion %version
Summary: phpMyAdmin - web-based MySQL administration
License: GPL
Group: Networking/WWW
Url: http://www.phpmyadmin.net
#Source: http://prdownloads.sourceforge.net/phpmyadmin/%name-%origversion.tar.bz2
Source0: http://prdownloads.sourceforge.net/phpmyadmin/%name-%origversion-all-languages.tar.bz2
Source1: localhost.htaccess
Source2: phpMyAdmin-README.ALT
#Requires: mod_php php-mysql
Requires: %name-engine
Provides: phpmyadmin
BuildArch: noarch
Packager: Igor Zubkov <icesik at altlinux.org>
#TODO: try again to let non-root webmaster edit the config file
# (read: need web policy)
#define webmaster webmaster
%define apache_group apache
%define apache_home /var/www
%define pma_home %apache_home/html/%name
%define pma_doc %_docdir/%name-%version
%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 common
Summary: phpMyAdmin - web-based MySQL administration (common package)
Group: Networking/WWW
%description common
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
This is package contains common part of phpMyAdmin.
%package apache-php4
Summary: phpMyAdmin - web-based MySQL administration (for apache 1.3 and php4)
Group: Networking/WWW
Requires: %name-common = %version-%release
Requires: apache-mod_php
Requires: php-mysql
Requires: php-mcrypt
Requires: php-mbstring
Provides: %name-engine
%description apache-php4
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 php4.
%package apache-php5
Summary: phpMyAdmin - web-based MySQL administration (for apache 1.3 and php5)
Group: Networking/WWW
Requires: %name-common = %version-%release
Requires: apache-mod_php5
Requires: php5-mysql
Requires: php5-mcrypt
Requires: php5-mbstring
Provides: %name-engine
%description apache-php5
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-php4
Summary: phpMyAdmin - web-based MySQL administration (for apache 2.0 and php4)
Group: Networking/WWW
Requires: %name-common = %version-%release
Requires: apache2-mod_php
Requires: php-mysql
Requires: php-mcrypt
Requires: php-mbstring
Provides: %name-engine
%description apache2-php4
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 php4.
%package apache2-php5
Summary: phpMyAdmin - web-based MySQL administration (for apache 2.0 and php5)
Group: Networking/WWW
Requires: %name-common = %version-%release
Requires: apache2-mod_php5
Requires: php5-mysql
Requires: php5-mcrypt
Requires: php5-mbstring
Provides: %name-engine
%description apache2-php5
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-%origversion-all-languages
%install
install -m755 -d %buildroot%pma_home/{lang,js,test,themes,libraries{/auth,},css}
install -m644 *.php *.html *.css favicon.ico %buildroot%pma_home/
install -m644 js/*.js %buildroot%pma_home/js/
install -m644 lang/*.php %buildroot%pma_home/lang/
install -m640 %SOURCE1 %buildroot%pma_home/.htaccess
cp -a libraries/ %buildroot%pma_home/
cp -a test/ %buildroot%pma_home/
cp -a themes %buildroot%pma_home/
cp %SOURCE2 .
%files
%doc scripts contrib phpMyAdmin-README.ALT
%doc Documentation.html docs.css README TODO ChangeLog translators.html Documentation.txt
%files common
%dir %pma_home/
#attr(0640,root,%apache_group) %config(noreplace) %verify(not size mtime md5) %pma_home/config.inc.php
%attr(0640,root,apache) %config(noreplace) %pma_home/.htaccess
%pma_home/lang/
%pma_home/libraries/
%pma_home/test/
%pma_home/themes/
%pma_home/js/
%pma_home/favicon.ico
%pma_home/*.html
%pma_home/*.css
%pma_home/[^c]*.php
%pma_home/c[^o]*.php
%pma_home/config.sample.inc.php
%exclude %pma_home/phpinfo.php
%files apache-php4
%files apache-php5
%files apache2-php4
%files apache2-php5
# TODO:
# - translators.html goes in twice
%changelog
…
Full changelog you can see here