im.pidgin.pidgin: e01f47781596a32f43650b309f62df34c4825aed

nosnilmot at pidgin.im nosnilmot at pidgin.im
Wed Dec 5 15:50:48 EST 2007


-----------------------------------------------------------------
Revision: e01f47781596a32f43650b309f62df34c4825aed
Ancestor: 5dc4cf40c038206bcf06fe7407e1e308b0264e32
Author: nosnilmot at pidgin.im
Date: 2007-12-05T20:44:34
Branch: im.pidgin.pidgin

Modified files:
        pidgin.spec.in

ChangeLog: 

RPM spec file updates:
- When building with avahi, use native avahi instead of howl compatability
  headers
- Make the split out plugins depend only on the minimum necessary API
  version of libpurple


-------------- next part --------------
============================================================
--- pidgin.spec.in	c3d2fb68e3326a6afbbfdfa7f8c4d9266c2adb3e
+++ pidgin.spec.in	648bad2c96a85b5fa15db3f62cb4dbe35ed5855e
@@ -14,6 +14,9 @@
 %define pidginver @VERSION@
 %endif
 
+# define the minimum API version required, so we can use it for plugin deps
+%define apiver %(echo "@VERSION@"|awk -F. '{print $1"."$2}')
+
 Summary:    A GTK+ based multiprotocol instant messaging client
 Name:       @PACKAGE@
 Version:    %pidginver
@@ -29,7 +32,7 @@ BuildRequires: gtk2-devel
 BuildRequires: gtk2-devel
 
 %{!?_without_startupnotification:BuildRequires: startup-notification-devel}
-%{?_with_avahi:BuildRequires: avahi-compat-howl-devel}
+%{?_with_avahi:BuildRequires: avahi-glib-devel}
 %{!?_without_gtkspell:BuildRequires: gtkspell-devel}
 %{?_with_howl:BuildRequires: howl-devel}
 %{?_with_meanwhile:BuildRequires: meanwhile-devel}
@@ -118,21 +121,21 @@ Group:      Applications/Internet
 %package -n libpurple-bonjour
 Summary:    Bonjour plugin for Pidgin
 Group:      Applications/Internet
-Requires:   libpurple = %{version}
+Requires:   libpurple >= %{apiver}
 %endif
 
 %if 0%{?_with_meanwhile:1}
 %package -n libpurple-meanwhile
 Summary:    Lotus Sametime plugin for Pidgin using the Meanwhile library
 Group:      Applications/Internet
-Requires:   libpurple = %{version}
+Requires:   libpurple >= %{apiver}
 %endif
 
 %if 0%{?_with_mono:1}
 %package -n libpurple-mono
 Summary:    Mono .NET plugin support for Pidgin
 Group:      Applications/Internet
-Requires:   libpurple = %{version}
+Requires:   libpurple >= %{apiver}
 %endif
 
 %if 0%{!?_without_text:1}
@@ -462,6 +465,12 @@ touch --no-create %{_datadir}/icons/hico
 %endif
 
 %changelog
+* Wed Dec  5 2007 Stu Tomlinson <stu at nosnilmot.com>
+- When building with avahi, use native avahi instead of howl compatability
+  headers
+- Make the split out plugins depend only on the minimum necessary API
+  version of libpurple
+
 * Tue Oct 23 2007 Stu Tomlinson <stu at nosnilmot.com>
 - Add finch.pc to finch-devel
 


More information about the Commits mailing list