]> git.pld-linux.org Git - packages/phpMyAdmin.git/commitdiff
- added S: webserver(indexfile)
authorarvenil <arvenil@pld-linux.org>
Sun, 18 May 2008 19:06:17 +0000 (19:06 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added banner with info how to access by deafult phpMyAdmin
- adapter
- release 3

Changed files:
    phpMyAdmin.spec -> 1.184

phpMyAdmin.spec

index d840531dbfce275247e18dcba67719c1e8f9f2a4..ad8835cdb98653d88ee19619af2792934f295e3e 100644 (file)
@@ -4,7 +4,7 @@ Summary:        phpMyAdmin - web-based MySQL administration
 Summary(pl.UTF-8):     phpMyAdmin - administracja bazami MySQL przez WWW
 Name:          phpMyAdmin
 Version:       2.11.6
-Release:       2
+Release:       3
 License:       GPL v2
 Group:         Applications/Databases/Interfaces
 Source0:       http://dl.sourceforge.net/phpmyadmin/%{name}-%{version}-all-languages.tar.bz2
@@ -16,14 +16,15 @@ URL:                http://www.phpmyadmin.net/
 BuildRequires: rpmbuild(macros) >= 1.268
 Requires(triggerpostun):       sed >= 4.0
 Requires:      php(ctype)
-Requires:      php(mcrypt)
 Requires:      php(mbstring)
+Requires:      php(mcrypt)
 Requires:      php(mysql)
 Requires:      php(pcre)
 Requires:      webapps
 Requires:      webserver(access)
 Requires:      webserver(alias)
 Requires:      webserver(php)
+Suggests:      webserver(indexfile)
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -125,6 +126,16 @@ rm -rf $RPM_BUILD_ROOT
 %triggerun -- lighttpd
 %webapp_unregister lighttpd %{_webapp}
 
+%post
+if [ "$1" = 1 ]; then
+%banner -e %{name} <<EOF
+To access phpMyAdmin type in a web browser following url:
+http://localhost/myadmin/index.php
+If you have installed webserver(indexfile) you can use shorter version:
+http://localhost/myadmin
+EOF
+fi
+
 %files
 %defattr(644,root,root,755)
 %doc Documentation.* CREDITS ChangeLog INSTALL README TODO translators.html scripts libraries/tcpdf/README-tcpdf libraries/import/README-import libraries/transformations/README-transformations libraries/transformations/TEMPLATE* libraries/transformations/*.sh lang/*.sh
This page took 0.037667 seconds and 4 git commands to generate.