]> git.pld-linux.org Git - packages/phpMyAdmin.git/blobdiff - phpMyAdmin.spec
- added Source0-md5
[packages/phpMyAdmin.git] / phpMyAdmin.spec
index 6df5fdc24944763e9750771a5d1dcde1a390beb5..f7cc2ac29d5084bf45b1e79d7c1761e8f740f50e 100644 (file)
@@ -1,19 +1,22 @@
 Summary:       phpMyAdmin - web-based MySQL administration
 Summary(pl):   phpMyAdmin - administracja bazami MySQL przez WWW
 Name:          phpMyAdmin
-Version:       2.2.4
+Version:       2.5.0
 Release:       1
 License:       GPL v2
 Group:         Applications/Databases/Interfaces
-Source0:       http://prdownloads.sourceforge.net/phpmyadmin/%{name}-%{version}-php.tar.bz2
-URL:           http://sourceforge.net/projects/phpmyadmin/
+# 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/httpd/html/myadmin
+%define                _myadmindir     /home/services/httpd/html/myadmin
 
 %description
 phpMyAdmin can administer a whole MySQL-server (needs a super-user)
@@ -51,6 +54,7 @@ MySQL). Aktualnie phpMyAdmin potrafi:
 
 %prep
 %setup -q
+%patch -p1
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -62,31 +66,18 @@ 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
 
-gzip -9nf Documentation.txt ANNOUNCE.txt README TODO ChangeLog
-
 %clean
-#rm -rf $RPM_BUILD_ROOT
+rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc *.gz
+%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}/d*.php
-%{_myadmindir}/footer.inc.php
-%{_myadmindir}/header.inc.php
-%{_myadmindir}/index.php
-%{_myadmindir}/l*.php
-%{_myadmindir}/main.php
-%{_myadmindir}/mult_submits.inc.php
-%{_myadmindir}/phpinfo.php
-%{_myadmindir}/read_dump.php
-%{_myadmindir}/s*.php
-%{_myadmindir}/tbl_*.php
-%{_myadmindir}/user_details.php
-%{_myadmindir}/badwords.txt
-
-%{_myadmindir}/*.html
-%{_myadmindir}/lang/*.php
 %{_myadmindir}/images
+%{_myadmindir}/lang
 %{_myadmindir}/libraries
+%{_myadmindir}/badwords.txt
+%{_myadmindir}/*.html
+%{_myadmindir}/[!c]*.php
+%{_myadmindir}/c[!o]*.php
This page took 0.535804 seconds and 4 git commands to generate.