summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-horde-Horde-Support.spec12
1 files changed, 8 insertions, 4 deletions
diff --git a/php-horde-Horde-Support.spec b/php-horde-Horde-Support.spec
index f5dca24..ea2f215 100644
--- a/php-horde-Horde-Support.spec
+++ b/php-horde-Horde-Support.spec
@@ -14,7 +14,7 @@ Summary: Horde support package
Group: Development/Libraries
License: BSD
URL: http://pear.horde.org
-Source0: http://pear.horde.org/get/%{pear_name}-%{version}.tgz
+Source0: http://%{pear_channel}/get/%{pear_name}-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch: noarch
@@ -27,13 +27,15 @@ BuildRequires: php-pear(%{pear_channel}/Horde_Test) >= 2.0.0
Requires(post): %{__pear}
Requires(postun): %{__pear}
+Requires: php(language) >= 5.3.0
+Requires: php-channel(%{pear_channel})
+Requires: php-date
+Requires: php-pcre
+Requires: php-spl
Requires: php-pear(%{pear_channel}/Horde_Exception) >= 2.0.0
Conflicts: php-pear(%{pear_channel}/Horde_Exception) >= 3.0.0
Requires: php-pear(%{pear_channel}/Horde_Stream_Wrapper) >= 2.0.0
Conflicts: php-pear(%{pear_channel}/Horde_Stream_Wrapper) >= 3.0.0
-Requires: php(language) >= 5.3.0
-Requires: php-channel(%{pear_channel})
-Requires: php-date php-pcre php-spl
# designed to work with php-pecl-uuid, not uuid-php
Conflicts: uuid-php
@@ -43,6 +45,7 @@ Provides: php-pear(%{pear_channel}/%{pear_name}) = %{version}
Support classes not tied to Horde but is used by it. These classes can be
used outside of Horde as well.
+
%prep
%setup -q -c -T
tar xif %{SOURCE0}
@@ -55,6 +58,7 @@ mv ../package.xml %{name}.xml
cd %{pear_name}-%{version}
# Empty build section, most likely nothing required.
+
%install
cd %{pear_name}-%{version}
%{__pear} install --nodeps --packagingroot %{buildroot} %{name}.xml