diff options
author | Remi Collet <fedora@famillecollet.com> | 2013-03-27 19:01:41 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2013-03-27 19:01:41 +0100 |
commit | 3ef8aed0613751c28405f7d4d1735974baaba70f (patch) | |
tree | a3103e4805d05cdc01bbe036937ea400144bf0d7 | |
parent | f82a3591a05d45706f14900dc04bb3239a3f51f4 (diff) |
phpMyAdmin: 4.0.0-beta3
-rw-r--r-- | phpMyAdmin-dev.spec | 60 |
1 files changed, 37 insertions, 23 deletions
diff --git a/phpMyAdmin-dev.spec b/phpMyAdmin-dev.spec index 8c82256..c3d9380 100644 --- a/phpMyAdmin-dev.spec +++ b/phpMyAdmin-dev.spec @@ -1,7 +1,7 @@ -#global prever rc1 +%global prever beta3 Name: phpMyAdmin -Version: 3.5.7 +Version: 4.0.0 Release: %{?prever:0.}1%{?prever:.%prever}%{?dist} Summary: Web based MySQL browser written in php @@ -11,28 +11,40 @@ URL: http://www.phpmyadmin.net/ Source0: http://downloads.sourceforge.net/sourceforge/phpmyadmin/%{name}-%{version}%{?prever:-%prever}-all-languages.tar.bz2 Source2: phpMyAdmin.htaccess -Source10: http://downloads.sourceforge.net/sourceforge/phpmyadmin/darkblue_orange-2.11.zip -Source11: http://downloads.sourceforge.net/sourceforge/phpmyadmin/graphite-1.0.zip -Source12: http://downloads.sourceforge.net/sourceforge/phpmyadmin/toba-0.2.zip -Source13: http://downloads.sourceforge.net/sourceforge/phpmyadmin/paradice-3.4.zip -Source14: http://downloads.sourceforge.net/sourceforge/phpmyadmin/blueorange-1.0b.zip -Source15: http://downloads.sourceforge.net/sourceforge/phpmyadmin/cleanstrap-1.0.zip -Source16: http://downloads.sourceforge.net/sourceforge/phpmyadmin/metro-1.0.zip - -# http://sourceforge.net/p/phpmyadmin/bugs/3828/ -# MariaDB reported as MySQL -Patch0: %{name}-mariadb.patch - BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: unzip Requires: webserver Requires: php(language) >= 5.2.0 +Requires: php-bcmath +Requires: php-bz2 +Requires: php-ctype +Requires: php-curl +Requires: php-date +Requires: php-filter Requires: php-gd +Requires: php-gettext +Requires: php-gmp +Requires: php-hash +Requires: php-iconv +Requires: php-pecl(imagick) +Requires: php-json +Requires: php-libxml Requires: php-mbstring Requires: php-mcrypt -Requires: php-mysql +Requires: php-mysqli +Requires: php-openssl +Requires: php-pcre +Requires: php-recode +Requires: php-session +Requires: php-simplexml +Requires: php-spl +Requires: php-tidy +Requires: php-xml +Requires: php-xmlwriter +Requires: php-zip +Requires: php-zlib Requires: php-php-gettext Provides: phpmyadmin = %{version}-%{release} Obsoletes: phpMyAdmin3 @@ -49,8 +61,6 @@ is available in 50 languages %prep %setup -qn phpMyAdmin-%{version}%{?prever:-%prever}-all-languages -%patch0 -p1 - # Minimal configuration file sed -e "/'extension'/s@'mysql'@'mysqli'@" \ -e "/'blowfish_secret'/s@''@'MUSTBECHANGEDONINSTALL'@" \ @@ -72,10 +82,10 @@ grep '^define' libraries/vendor_config.php # to avoid rpmlint warnings find . -name \*.php -exec chmod -x {} \; -for archive in %{SOURCE10} %{SOURCE11} %{SOURCE12} %{SOURCE13} %{SOURCE14} %{SOURCE15} %{SOURCE16} -do - %{__unzip} -q $archive -d themes -done +#for archive in %{SOURCE10} %{SOURCE11} %{SOURCE12} %{SOURCE13} %{SOURCE14} %{SOURCE15} %{SOURCE16} +#do +# %{__unzip} -q $archive -d themes +#done %build @@ -107,7 +117,7 @@ rm -rf %{buildroot}%{_datadir}/%{pkgname}/libraries/php-gettext rm -rf %{buildroot} -%if %{?fedora}%{!?fedora:99} <= 15 +%if %{?fedora}%{!?fedora:99} <= 16 %pre echo -e "\nWARNING : Fedora %{fedora} is now EOL :" echo -e "You should consider upgrading to a supported release.\n" @@ -121,7 +131,7 @@ sed -i -e "/'blowfish_secret'/s/MUSTBECHANGEDONINSTALL/$RANDOM$RANDOM$RANDOM$RAN %files %defattr(-,root,root,-) -%doc ChangeLog README LICENSE Documentation.txt +%doc ChangeLog README LICENSE %{_datadir}/%{name} %dir %{_sysconfdir}/%{name} %config(noreplace) %{_sysconfdir}/%{name}/config.inc.php @@ -132,6 +142,10 @@ sed -i -e "/'blowfish_secret'/s/MUSTBECHANGEDONINSTALL/$RANDOM$RANDOM$RANDOM$RAN %changelog +* Wed Mar 27 2013 Remi Collet <rpms@famillecollet.com> 4.0.0-0.1.beta3 +- 4.0.0-beta3 +- remove all additional themes + * Fri Feb 15 2013 Remi Collet <rpms@famillecollet.com> 3.5.7-1 - Upstream released 3.5.7 (bugfix) - patch for http://sourceforge.net/p/phpmyadmin/bugs/3828/ |