comparison pidgin.spec.in @ 22884:fdda2b8a4146

propagate from branch 'im.pidgin.pidgin' (head e4cc3b79eb04e4937c5fa764f6839a8e07397651) to branch 'im.pidgin.pidgin.custom_smiley' (head ddcc6eb918167735a0768b1a2976c95b5b15e213)
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Wed, 05 Mar 2008 17:18:09 +0000
parents 4512cb14cf29
children 18c3c7d8bdbd
comparison
equal deleted inserted replaced
22883:09f426ca9ca7 22884:fdda2b8a4146
32 BuildRequires: gtk2-devel 32 BuildRequires: gtk2-devel
33 33
34 %{!?_without_startupnotification:BuildRequires: startup-notification-devel} 34 %{!?_without_startupnotification:BuildRequires: startup-notification-devel}
35 %{?_with_avahi:BuildRequires: avahi-glib-devel} 35 %{?_with_avahi:BuildRequires: avahi-glib-devel}
36 %{!?_without_gtkspell:BuildRequires: gtkspell-devel} 36 %{!?_without_gtkspell:BuildRequires: gtkspell-devel}
37 %{?_with_howl:BuildRequires: howl-devel}
38 %{?_with_meanwhile:BuildRequires: meanwhile-devel} 37 %{?_with_meanwhile:BuildRequires: meanwhile-devel}
39 %{?_with_mono:BuildRequires: mono-devel} 38 %{?_with_mono:BuildRequires: mono-devel}
40 %{?_with_sasl:BuildRequires: cyrus-sasl-devel >= 2} 39 %{?_with_sasl:BuildRequires: cyrus-sasl-devel >= 2}
41 %{!?_without_silc:BuildRequires: /usr/include/silc/silcclient.h} 40 %{!?_without_silc:BuildRequires: /usr/include/silc/silcclient.h}
42 %{!?_without_tcl:BuildRequires: tcl, tk, /usr/include/tcl.h} 41 %{!?_without_tcl:BuildRequires: tcl, tk, /usr/include/tcl.h}
115 %{?_with_dbus:Requires: dbus-1-devel >= 0.35} 114 %{?_with_dbus:Requires: dbus-1-devel >= 0.35}
116 %else 115 %else
117 %{?_with_dbus:Requires: dbus-devel >= 0.35} 116 %{?_with_dbus:Requires: dbus-devel >= 0.35}
118 %endif 117 %endif
119 118
120 %if 0%{?_with_howl:1} || 0%{?_with_avahi:1} 119 %if 0%{?_with_avahi:1}
121 %package -n libpurple-bonjour 120 %package -n libpurple-bonjour
122 Summary: Bonjour plugin for Pidgin 121 Summary: Bonjour plugin for Pidgin
123 Group: Applications/Internet 122 Group: Applications/Internet
124 Requires: libpurple >= %{apiver} 123 Requires: libpurple >= %{apiver}
125 %endif 124 %endif
182 %description -n libpurple-devel 181 %description -n libpurple-devel
183 The libpurple-devel package contains the header files, developer 182 The libpurple-devel package contains the header files, developer
184 documentation, and libraries required for development of libpurple based 183 documentation, and libraries required for development of libpurple based
185 instant messaging clients or plugins for any libpurple based client. 184 instant messaging clients or plugins for any libpurple based client.
186 185
187 %if 0%{?_with_howl:1} || 0%{?_with_avahi:1} 186 %if 0%{?_with_avahi:1}
188 %description -n libpurple-bonjour 187 %description -n libpurple-bonjour
189 Bonjour plugin for Pidgin. 188 Bonjour plugin for Pidgin.
190 %endif 189 %endif
191 190
192 %if 0%{?_with_meanwhile:1} 191 %if 0%{?_with_meanwhile:1}
259 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la 258 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
260 rm -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod 259 rm -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod
261 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' 260 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
262 find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';' 261 find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
263 262
264 %if 0%{!?_with_howl:1} && 0%{!?_with_avahi:1} 263 %if 0%{!?_with_avahi:1}
265 rm -f $RPM_BUILD_ROOT%{_libdir}/purple-2/libbonjour.so 264 rm -f $RPM_BUILD_ROOT%{_libdir}/purple-2/libbonjour.so
266 %endif 265 %endif
267 266
268 %if 0%{!?_with_meanwhile:1} 267 %if 0%{!?_with_meanwhile:1}
269 rm -f $RPM_BUILD_ROOT%{_libdir}/purple-2/libsametime.so 268 rm -f $RPM_BUILD_ROOT%{_libdir}/purple-2/libsametime.so
325 gconftool-2 --makefile-install-rule \ 324 gconftool-2 --makefile-install-rule \
326 %{_sysconfdir}/gconf/schemas/purple.schemas > /dev/null || : 325 %{_sysconfdir}/gconf/schemas/purple.schemas > /dev/null || :
327 killall -HUP gconfd-2 &> /dev/null || : 326 killall -HUP gconfd-2 &> /dev/null || :
328 fi 327 fi
329 touch --no-create %{_datadir}/icons/hicolor || : 328 touch --no-create %{_datadir}/icons/hicolor || :
330 %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor &> /dev/null || : 329 if [ -x %{_bindir}/gtk-update-icon-cache ]; then
330 %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor &> /dev/null || :
331 fi
331 332
332 %post -n libpurple -p /sbin/ldconfig 333 %post -n libpurple -p /sbin/ldconfig
333 334
334 %post -n finch -p /sbin/ldconfig 335 %post -n finch -p /sbin/ldconfig
335 336
341 killall -HUP gconfd-2 &> /dev/null || : 342 killall -HUP gconfd-2 &> /dev/null || :
342 fi 343 fi
343 344
344 %postun 345 %postun
345 touch --no-create %{_datadir}/icons/hicolor || : 346 touch --no-create %{_datadir}/icons/hicolor || :
346 %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor &> /dev/null || : 347 if [ -x %{_bindir}/gtk-update-icon-cache ]; then
348 %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor &> /dev/null || :
349 fi
347 350
348 %postun -n libpurple -p /sbin/ldconfig 351 %postun -n libpurple -p /sbin/ldconfig
349 352
350 %postun -n finch -p /sbin/ldconfig 353 %postun -n finch -p /sbin/ldconfig
351 354
417 %if 0%{?_with_dbus:1} 420 %if 0%{?_with_dbus:1}
418 %{_libdir}/libpurple-client.so 421 %{_libdir}/libpurple-client.so
419 %endif 422 %endif
420 423
421 424
422 %if 0%{?_with_howl:1} || 0%{?_with_avahi:1} 425 %if 0%{?_with_avahi:1}
423 %files -n libpurple-bonjour 426 %files -n libpurple-bonjour
424 %defattr(-, root, root) 427 %defattr(-, root, root)
425 428
426 %{_libdir}/purple-2/libbonjour.* 429 %{_libdir}/purple-2/libbonjour.*
427 %endif 430 %endif
463 %{_libdir}/libgnt.so 466 %{_libdir}/libgnt.so
464 467
465 %endif 468 %endif
466 469
467 %changelog 470 %changelog
471 * Thu Feb 28 2008 Stu Tomlinson <stu@nosnilmot.com>
472 - Remove --with-howl options as we no longer support using howl for bonjour
473
468 * Wed Dec 5 2007 Stu Tomlinson <stu@nosnilmot.com> 474 * Wed Dec 5 2007 Stu Tomlinson <stu@nosnilmot.com>
469 - When building with avahi, use native avahi instead of howl compatability 475 - When building with avahi, use native avahi instead of howl compatability
470 headers 476 headers
471 - Make the split out plugins depend only on the minimum necessary API 477 - Make the split out plugins depend only on the minimum necessary API
472 version of libpurple 478 version of libpurple