summaryrefslogtreecommitdiffstats
path: root/php-horde-horde.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2013-04-05 18:48:10 +0200
committerRemi Collet <fedora@famillecollet.com>2013-04-05 18:48:10 +0200
commit862dbe05d01fb23abc4ecf7e1f3f8bd4f6101153 (patch)
tree286dc488e0e1d5dc31f3e63211de764ef047798f /php-horde-horde.spec
parent018052300babdb91abc053adc16de41873fc1c65 (diff)
php-horde-horde: improves optional dependencies
Diffstat (limited to 'php-horde-horde.spec')
-rw-r--r--php-horde-horde.spec29
1 files changed, 14 insertions, 15 deletions
diff --git a/php-horde-horde.spec b/php-horde-horde.spec
index f3c3ee4..d374e1c 100644
--- a/php-horde-horde.spec
+++ b/php-horde-horde.spec
@@ -3,16 +3,9 @@
%global pear_name horde
%global pear_channel pear.horde.org
-# TODO :
-# static -> /var/lib
-# /var/log
-# cron (alarm)
-# config: Image, Log
-# "horbe" sub-package, with apache stuff
-
Name: php-horde-horde
Version: 5.0.4
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Horde Application Framework
Group: Development/Libraries
@@ -124,16 +117,19 @@ Requires: php-pear(Console_Getopt)
Requires: php-pear(Console_Table)
Requires: php-pear(Net_DNS2)
Requires: php-pear(Services_Weather)
-Requires: php-pear(Services_Weather)
-Requires: php-pear(%{pear_channel}/Horde_Db) >= 2.0.0
-Requires: php-pear(%{pear_channel}/Horde_SyncMl) >= 2.0.0
-
-# Optionnal: Horde_ActiveSync, Horde_Oauth, Horde_Service_Facebook,
-# Horde_Service_Twitter, Horde_Service_Weather
+# Optional but implicitly required
+# Horde_Db, Horde_Feed, Horde_Oauth, Horde_SyncMl
+# Optionnal but TODO
+# Horde_ActiveSync, Horde_Service_Facebook,
+# Horde_Service_Twitter, Horde_Service_Weather
Provides: php-pear(%{pear_channel}/%{pear_name}) = %{version}
+%if 0%{?fedora} > 19
Obsoletes: horde < 5
Provides: horde = %{version}
+%else
+Conflicts: horde < 5
+%endif
%description
@@ -222,7 +218,7 @@ fi
%attr(0640,apache,apache) %config %{_sysconfdir}/horde/*.dist
%attr(0660,apache,apache) %config(noreplace) %{_sysconfdir}/horde/*.php
%attr(0660,apache,apache) %config %{_sysconfdir}/horde/*.xml
-%attr(0640,apache,apache) %config %{_sysconfdir}/horde/registry.d/README
+%attr(0640,apache,apache) %{_sysconfdir}/horde/registry.d/README
%{pear_xmldir}/%{name}.xml
%{_bindir}/horde-active-sessions
%{_bindir}/horde-alarms
@@ -254,6 +250,9 @@ fi
%changelog
+* Fri Apr 5 2013 Remi Collet <remi@fedoraproject.org> - 5.0.4-2
+- improves optional dependencies
+
* Tue Feb 12 2013 Remi Collet <remi@fedoraproject.org> - 5.0.4-1
- Update to 5.0.4