Mercurial > pidgin
comparison pidgin.spec.in @ 21773:e9f94dd202c8
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
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Wed, 05 Dec 2007 20:44:34 +0000 |
parents | fcce0bf2a279 |
children | d8858b8a3d8b |
comparison
equal
deleted
inserted
replaced
21766:8c1bcaaaac34 | 21773:e9f94dd202c8 |
---|---|
11 %if 0%{?beta} | 11 %if 0%{?beta} |
12 %define pidginver %(echo "@VERSION@"|sed -e 's/dev.*//; s/beta.*//') | 12 %define pidginver %(echo "@VERSION@"|sed -e 's/dev.*//; s/beta.*//') |
13 %else | 13 %else |
14 %define pidginver @VERSION@ | 14 %define pidginver @VERSION@ |
15 %endif | 15 %endif |
16 | |
17 # define the minimum API version required, so we can use it for plugin deps | |
18 %define apiver %(echo "@VERSION@"|awk -F. '{print $1"."$2}') | |
16 | 19 |
17 Summary: A GTK+ based multiprotocol instant messaging client | 20 Summary: A GTK+ based multiprotocol instant messaging client |
18 Name: @PACKAGE@ | 21 Name: @PACKAGE@ |
19 Version: %pidginver | 22 Version: %pidginver |
20 Release: 0%{?beta:.beta%{beta}} | 23 Release: 0%{?beta:.beta%{beta}} |
27 # Generic build requirements | 30 # Generic build requirements |
28 BuildRequires: libtool, pkgconfig, intltool, gettext, libxml2-devel | 31 BuildRequires: libtool, pkgconfig, intltool, gettext, libxml2-devel |
29 BuildRequires: gtk2-devel | 32 BuildRequires: gtk2-devel |
30 | 33 |
31 %{!?_without_startupnotification:BuildRequires: startup-notification-devel} | 34 %{!?_without_startupnotification:BuildRequires: startup-notification-devel} |
32 %{?_with_avahi:BuildRequires: avahi-compat-howl-devel} | 35 %{?_with_avahi:BuildRequires: avahi-glib-devel} |
33 %{!?_without_gtkspell:BuildRequires: gtkspell-devel} | 36 %{!?_without_gtkspell:BuildRequires: gtkspell-devel} |
34 %{?_with_howl:BuildRequires: howl-devel} | 37 %{?_with_howl:BuildRequires: howl-devel} |
35 %{?_with_meanwhile:BuildRequires: meanwhile-devel} | 38 %{?_with_meanwhile:BuildRequires: meanwhile-devel} |
36 %{?_with_mono:BuildRequires: mono-devel} | 39 %{?_with_mono:BuildRequires: mono-devel} |
37 %{?_with_sasl:BuildRequires: cyrus-sasl-devel >= 2} | 40 %{?_with_sasl:BuildRequires: cyrus-sasl-devel >= 2} |
116 | 119 |
117 %if 0%{?_with_howl:1} || 0%{?_with_avahi:1} | 120 %if 0%{?_with_howl:1} || 0%{?_with_avahi:1} |
118 %package -n libpurple-bonjour | 121 %package -n libpurple-bonjour |
119 Summary: Bonjour plugin for Pidgin | 122 Summary: Bonjour plugin for Pidgin |
120 Group: Applications/Internet | 123 Group: Applications/Internet |
121 Requires: libpurple = %{version} | 124 Requires: libpurple >= %{apiver} |
122 %endif | 125 %endif |
123 | 126 |
124 %if 0%{?_with_meanwhile:1} | 127 %if 0%{?_with_meanwhile:1} |
125 %package -n libpurple-meanwhile | 128 %package -n libpurple-meanwhile |
126 Summary: Lotus Sametime plugin for Pidgin using the Meanwhile library | 129 Summary: Lotus Sametime plugin for Pidgin using the Meanwhile library |
127 Group: Applications/Internet | 130 Group: Applications/Internet |
128 Requires: libpurple = %{version} | 131 Requires: libpurple >= %{apiver} |
129 %endif | 132 %endif |
130 | 133 |
131 %if 0%{?_with_mono:1} | 134 %if 0%{?_with_mono:1} |
132 %package -n libpurple-mono | 135 %package -n libpurple-mono |
133 Summary: Mono .NET plugin support for Pidgin | 136 Summary: Mono .NET plugin support for Pidgin |
134 Group: Applications/Internet | 137 Group: Applications/Internet |
135 Requires: libpurple = %{version} | 138 Requires: libpurple >= %{apiver} |
136 %endif | 139 %endif |
137 | 140 |
138 %if 0%{!?_without_text:1} | 141 %if 0%{!?_without_text:1} |
139 %package -n finch | 142 %package -n finch |
140 Summary: A text-based user interface for Pidgin | 143 Summary: A text-based user interface for Pidgin |
460 %{_libdir}/libgnt.so | 463 %{_libdir}/libgnt.so |
461 | 464 |
462 %endif | 465 %endif |
463 | 466 |
464 %changelog | 467 %changelog |
468 * Wed Dec 5 2007 Stu Tomlinson <stu@nosnilmot.com> | |
469 - When building with avahi, use native avahi instead of howl compatability | |
470 headers | |
471 - Make the split out plugins depend only on the minimum necessary API | |
472 version of libpurple | |
473 | |
465 * Tue Oct 23 2007 Stu Tomlinson <stu@nosnilmot.com> | 474 * Tue Oct 23 2007 Stu Tomlinson <stu@nosnilmot.com> |
466 - Add finch.pc to finch-devel | 475 - Add finch.pc to finch-devel |
467 | 476 |
468 * Mon Sep 17 2007 Stu Tomlinson <stu@nosnilmot.com> | 477 * Mon Sep 17 2007 Stu Tomlinson <stu@nosnilmot.com> |
469 - Add version dependency on libpurple for pidgin | 478 - Add version dependency on libpurple for pidgin |