summaryrefslogtreecommitdiffstats
path: root/php-horde-Horde-Cli.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2013-07-25 17:15:35 +0200
committerRemi Collet <fedora@famillecollet.com>2013-07-25 17:15:35 +0200
commit4df0421fceac8c6bc6f430ed5867fcc34233cf22 (patch)
tree28765685271c59536afb6e97be002c7ac43113c5 /php-horde-Horde-Cli.spec
parent5934f4b6a33f836fd2f8467729e81c778b1fa795 (diff)
horde: minor cleanups
Diffstat (limited to 'php-horde-Horde-Cli.spec')
-rw-r--r--php-horde-Horde-Cli.spec10
1 files changed, 5 insertions, 5 deletions
diff --git a/php-horde-Horde-Cli.spec b/php-horde-Horde-Cli.spec
index 75dbf2c..fc1eb7a 100644
--- a/php-horde-Horde-Cli.spec
+++ b/php-horde-Horde-Cli.spec
@@ -1,4 +1,3 @@
-%{!?pear_metadir: %global pear_metadir %{pear_phpdir}}
%{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}
%global pear_name Horde_Cli
%global pear_channel pear.horde.org
@@ -10,12 +9,12 @@ Summary: Horde Command Line Interface API
Group: Development/Libraries
License: LGPLv2+
-URL: http://pear.horde.org
+URL: http://%{pear_channel}
Source0: http://%{pear_channel}/get/%{pear_name}-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
-BuildRequires: gettext
BuildArch: noarch
+BuildRequires: gettext
BuildRequires: php-pear(PEAR) >= 1.7.0
BuildRequires: php-channel(%{pear_channel})
@@ -71,6 +70,7 @@ rm -rf %{buildroot}%{pear_metadir}/.??*
mkdir -p %{buildroot}%{pear_xmldir}
install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
+# Locales
for loc in locale/{??,??_??}
do
lang=$(basename $loc)
@@ -95,8 +95,8 @@ fi
%{pear_xmldir}/%{name}.xml
%{pear_phpdir}/Horde/Cli
%{pear_phpdir}/Horde/Cli.php
-%dir %{pear_datadir}/Horde_Cli
-%dir %{pear_datadir}/Horde_Cli/locale
+%dir %{pear_datadir}/%{pear_name}
+%dir %{pear_datadir}/%{pear_name}/locale
%changelog