summaryrefslogtreecommitdiffstats
path: root/phpMyAdmin.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2013-11-23 18:55:25 +0100
committerRemi Collet <fedora@famillecollet.com>2013-11-23 18:55:25 +0100
commit6800029784878b0363493f48dc146f20655084f2 (patch)
treeb617aa9015225e74c16aefe1669b70ac664a4012 /phpMyAdmin.spec
parent5aaa60623a8f17afbca26d7e6ae8944c17958c7a (diff)
phpMyAdmin: 4.1.0RC1 for remi-test
Diffstat (limited to 'phpMyAdmin.spec')
-rw-r--r--phpMyAdmin.spec19
1 files changed, 11 insertions, 8 deletions
diff --git a/phpMyAdmin.spec b/phpMyAdmin.spec
index 4c0504d..5f0b39e 100644
--- a/phpMyAdmin.spec
+++ b/phpMyAdmin.spec
@@ -1,8 +1,8 @@
-#global prever rc1
+%global prever rc1
Name: phpMyAdmin
-Version: 4.0.9
-Release: 1%{?dist}
+Version: 4.1.0
+Release: 0.1.rc1%{?dist}
Summary: Web based MySQL browser written in php
Group: Applications/Internet
@@ -12,14 +12,14 @@ Source0: http://downloads.sourceforge.net/sourceforge/phpmyadmin/%{name}-%{versi
Source2: phpMyAdmin.htaccess
# https://github.com/phpmyadmin/phpmyadmin/pull/357
-Patch0: %{name}-vendor.patch
+#Patch0: %{name}-vendor.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: unzip
Requires: webserver
-Requires: php(language) >= 5.2.0
+Requires: php(language) >= 5.3.0
Requires: php-bcmath
Requires: php-bz2
Requires: php-ctype
@@ -35,11 +35,14 @@ Requires: php-libxml
Requires: php-mbstring
Requires: php-mcrypt
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
@@ -62,7 +65,7 @@ is available in 50 languages
%prep
%setup -qn phpMyAdmin-%{version}%{?prever:-%prever}-all-languages
-%patch0 -p1
+#patch0 -p1
# Minimal configuration file
sed -e "/'extension'/s@'mysql'@'mysqli'@" \
@@ -128,7 +131,7 @@ rm -rf %{buildroot}%{_datadir}/%{pkgname}/libraries/tcpdf
rm -rf %{buildroot}
-%if %{?fedora}%{!?fedora:99} <= 16
+%if %{?fedora}%{!?fedora:99} <= 18
%pre
echo -e "\nWARNING : Fedora %{fedora} is now EOL :"
echo -e "You should consider upgrading to a supported release.\n"
@@ -142,7 +145,7 @@ sed -i -e "/'blowfish_secret'/s/MUSTBECHANGEDONINSTALL/$RANDOM$RANDOM$RANDOM$RAN
%files
%defattr(-,root,root,-)
-%doc ChangeLog README LICENSE
+%doc ChangeLog README LICENSE CONTRIBUTING.md
%{_datadir}/%{name}
%dir %{_sysconfdir}/%{name}
%config(noreplace) %{_sysconfdir}/%{name}/config.inc.php