Witam,
za kazdym razem jak instaluję kopete zapominam zainstalować pluginu z
protokołem. Bez żadnego pluginu z protokołem kopete jest bezużyteczne.
Pomyślałem sobie, że kopete powinno mieć w zalażnościach coś w rodzaju
kopete-plugin-protocol, natomiast każda z paczek z protokołami powinna mieć
wpisany taki Provide.
Wtedy przy instalacji poldek będzie mi przypominał o konieczności instalacji
pluginu z protokołem.
Podobne rozwiązanie widzę w specu evolution.spec odnośnie komponentów.
Na wypadek jakby moja koncepcja znalazła uznanie załączam stosowne diffy (-:
--
Pozdrawiam,
Paweł Zuzelski
--- kopete.spec 2008-04-18 20:49:33.000000000 +0200
+++ kopete.spec.new 2008-04-18 20:47:12.000000000 +0200
@@ -50,6 +50,7 @@
%{?with_xmms:BuildRequires: xmms-devel >= 1.0.0}
Requires: %{name}-libkopete = %{epoch}:%{version}-%{release}
Requires: kdebase-core >= 6:3.5.0
+Requires: kopete-plugin-protocol
Requires: perl-modules
Requires: qt >= 6:3.3
Provides: kdenetwork-kopete
@@ -398,6 +399,7 @@
Group: X11/Applications/Networking
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: %{name}-libkopete_oscar = %{epoch}:%{version}-%{release}
+Provides: kdenetwork-kopete-protocol
Provides: kdenetwork-kopete-protocol-aim
Obsoletes: kdenetwork-kopete-protocol-aim
@@ -412,6 +414,7 @@
Summary(pl.UTF-8): Wtyczka Kopete dodająca obsługę protokołu GaduGadu
Group: X11/Applications/Networking
Requires: %{name} = %{epoch}:%{version}-%{release}
+Provides: kdenetwork-kopete-protocol
Provides: kdenetwork-kopete-protocol-gg
Obsoletes: kdenetwork-kopete-protocol-gg
@@ -426,6 +429,7 @@
Summary(pl.UTF-8): Wtyczka Kopete dodająca obsługę protokołu Groupwise
Group: X11/Applications/Networking
Requires: %{name} = %{epoch}:%{version}-%{release}
+Provides: kdenetwork-kopete-protocol
Provides: kdenetwork-kopete-protocol-groupwise
Obsoletes: kdenetwork-kopete-protocol-groupwise
@@ -441,6 +445,7 @@
Group: X11/Applications/Networking
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: %{name}-libkopete_oscar = %{epoch}:%{version}-%{release}
+Provides: kdenetwork-kopete-protocol
Provides: kdenetwork-kopete-protocol-icq
Obsoletes: kdenetwork-kopete-protocol-icq
@@ -455,6 +460,7 @@
Summary(pl.UTF-8): Wtyczka Kopete dodająca obsługę IRC-a
Group: X11/Applications/Networking
Requires: %{name} = %{epoch}:%{version}-%{release}
+Provides: kdenetwork-kopete-protocol
Provides: kdenetwork-kopete-protocol-irc
Obsoletes: kdenetwork-kopete-protocol-irc
@@ -469,6 +475,7 @@
Summary(pl.UTF-8): Wtyczka Kopete dodająca obsługę protokołu Jabber
Group: X11/Applications/Networking
Requires: %{name} = %{epoch}:%{version}-%{release}
+Provides: kdenetwork-kopete-protocol
Provides: kdenetwork-kopete-protocol-jabber
Obsoletes: kdenetwork-kopete-protocol-jabber
@@ -484,6 +491,7 @@
Group: X11/Applications/Networking
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: %{name}-libkopete_msn = %{epoch}:%{version}-%{release}
+Provides: kdenetwork-kopete-protocol
Provides: kdenetwork-kopete-protocol-msn
Obsoletes: kdenetwork-kopete-protocol-msn
@@ -498,6 +506,7 @@
Summary(pl.UTF-8): Wtyczka Kopete dodająca obsługę protokołu Lotus Sametime
Group: X11/Applications/Networking
Requires: %{name} = %{epoch}:%{version}-%{release}
+Provides: kdenetwork-kopete-protocol
Provides: kdenetwork-kopete-protocol-meanwhile
Obsoletes: kdenetwork-kopete-protocol-meanwhile
@@ -512,6 +521,7 @@
Summary(pl.UTF-8): Wtyczka Kopete dodająca obsługę kontaktów SMS
Group: X11/Applications/Networking
Requires: %{name} = %{epoch}:%{version}-%{release}
+Provides: kdenetwork-kopete-protocol
Provides: kdenetwork-kopete-protocol-sms
Obsoletes: kdenetwork-kopete-protocol-sms
@@ -526,6 +536,7 @@
Summary(pl.UTF-8): Wtyczka Kopete dodająca obsługę komunikacji przez WinPopUp
Group: X11/Applications/Networking
Requires: %{name} = %{epoch}:%{version}-%{release}
+Provides: kdenetwork-kopete-protocol
Provides: kdenetwork-kopete-protocol-winpopup
Obsoletes: kdenetwork-kopete-protocol-winpopup
@@ -540,6 +551,7 @@
Summary(pl.UTF-8): Wtyczka Kopete dodająca obsługę protokołu Yahoo
Group: X11/Applications/Networking
Requires: %{name} = %{epoch}:%{version}-%{release}
+Provides: kdenetwork-kopete-protocol
Provides: kdenetwork-kopete-protocol-yahoo
Obsoletes: kdenetwork-kopete-protocol-yahoo
--- kopete-protocol-skype.spec 2008-04-18 20:53:18.000000000 +0200
+++ kopete-protocol-skype.spec.new 2008-04-18 20:52:35.000000000 +0200
@@ -24,6 +24,7 @@
BuildRequires: dbus-devel < 0.24
BuildRequires: kdelibs-devel
BuildRequires: kdenetwork-devel
+Provides: kdenetwork-kopete-protocol
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
_______________________________________________
pld-devel-pl mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-devel-pl