comparison pidgin.spec.in @ 17296:99a2add7c4f2

- Silence unnecessary errors from gtk-update-icon-cache - Change Mandriva build dependencies to reflect the correct (lower case) names for libSM-devel & libXScrnSaver-devel (Sunny Dubey) Fixes #something-sent-to-me-by-email
author Stu Tomlinson <stu@nosnilmot.com>
date Fri, 25 May 2007 00:55:40 +0000
parents 8ee93c68ced0
children 58a286e231b7
comparison
equal deleted inserted replaced
17295:9e8a488825a0 17296:99a2add7c4f2
27 # Generic build requirements 27 # Generic build requirements
28 BuildRequires: libtool, pkgconfig, intltool, gettext, libxml2-devel 28 BuildRequires: libtool, pkgconfig, intltool, gettext, libxml2-devel
29 BuildRequires: gtk2-devel 29 BuildRequires: gtk2-devel
30 30
31 %{!?_without_startupnotification:BuildRequires: startup-notification-devel} 31 %{!?_without_startupnotification:BuildRequires: startup-notification-devel}
32 %{!?_without_modularx:BuildRequires: libSM-devel, libXScrnSaver-devel}
33 %{?_with_avahi:BuildRequires: avahi-compat-howl-devel} 32 %{?_with_avahi:BuildRequires: avahi-compat-howl-devel}
34 %{!?_without_gtkspell:BuildRequires: gtkspell-devel} 33 %{!?_without_gtkspell:BuildRequires: gtkspell-devel}
35 %{?_with_howl:BuildRequires: howl-devel} 34 %{?_with_howl:BuildRequires: howl-devel}
36 %{?_with_meanwhile:BuildRequires: meanwhile-devel} 35 %{?_with_meanwhile:BuildRequires: meanwhile-devel}
37 %{?_with_mono:BuildRequires: mono-devel} 36 %{?_with_mono:BuildRequires: mono-devel}
53 # Mandrake 10.1 and lower || Mandrake 10.2 (and higher?) 52 # Mandrake 10.1 and lower || Mandrake 10.2 (and higher?)
54 %if "%{_vendor}" == "MandrakeSoft" || "%{_vendor}" == "Mandrakesoft" || "%{_vendor}" == "Mandriva" 53 %if "%{_vendor}" == "MandrakeSoft" || "%{_vendor}" == "Mandrakesoft" || "%{_vendor}" == "Mandriva"
55 # For Mandrake/Mandriva: 54 # For Mandrake/Mandriva:
56 BuildRequires: libnss3-devel, perl-devel 55 BuildRequires: libnss3-devel, perl-devel
57 Obsoletes: libgaim-remote0 56 Obsoletes: libgaim-remote0
57 %{!?_without_modularx:BuildRequires: libsm-devel, libxscrnsaver-devel}
58 %else 58 %else
59 # For !Mandriva
60 %{!?_without_modularx:BuildRequires: libSM-devel, libXScrnSaver-devel}
59 # For SuSE, Red Hat, Fedora and others: 61 # For SuSE, Red Hat, Fedora and others:
60 %if "%{_vendor}" != "suse" 62 %if "%{_vendor}" != "suse"
61 # For Red Hat, Fedora and others: 63 # For Red Hat, Fedora and others:
62 # let's assume RH & FC1 are the only brain-dead distros missing the 64 # let's assume RH & FC1 are the only brain-dead distros missing the
63 # perl-XML-Parser dependency on intltool and that other RH/FC releases 65 # perl-XML-Parser dependency on intltool and that other RH/FC releases
310 gconftool-2 --makefile-install-rule \ 312 gconftool-2 --makefile-install-rule \
311 %{_sysconfdir}/gconf/schemas/purple.schemas > /dev/null || : 313 %{_sysconfdir}/gconf/schemas/purple.schemas > /dev/null || :
312 killall -HUP gconfd-2 &> /dev/null || : 314 killall -HUP gconfd-2 &> /dev/null || :
313 fi 315 fi
314 touch --no-create %{_datadir}/icons/hicolor || : 316 touch --no-create %{_datadir}/icons/hicolor || :
315 %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : 317 %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor &> /dev/null || :
316 318
317 %post -n libpurple -p /sbin/ldconfig 319 %post -n libpurple -p /sbin/ldconfig
318 320
319 %post -n finch -p /sbin/ldconfig 321 %post -n finch -p /sbin/ldconfig
320 322
326 killall -HUP gconfd-2 &> /dev/null || : 328 killall -HUP gconfd-2 &> /dev/null || :
327 fi 329 fi
328 330
329 %postun 331 %postun
330 touch --no-create %{_datadir}/icons/hicolor || : 332 touch --no-create %{_datadir}/icons/hicolor || :
331 %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : 333 %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor &> /dev/null || :
332 334
333 %postun -n libpurple -p /sbin/ldconfig 335 %postun -n libpurple -p /sbin/ldconfig
334 336
335 %postun -n finch -p /sbin/ldconfig 337 %postun -n finch -p /sbin/ldconfig
336 338
445 %{_libdir}/libgnt.so 447 %{_libdir}/libgnt.so
446 448
447 %endif 449 %endif
448 450
449 %changelog 451 %changelog
452 * Thu May 24 2007 Stu Tomlinson <stu@nosnilmot.com>
453 - Silence errors from gtk-update-icon-cache
454 - Change Mandriva build dependencies to reflect the correct (lower case)
455 names for libSM-devel & libXScrnSaver-devel (Sunny Dubey)
456
450 * Thu May 10 2007 Stu Tomlinson <stu@nosnilmot.com> 457 * Thu May 10 2007 Stu Tomlinson <stu@nosnilmot.com>
451 - Add scriptlet Requires for GConf2 to fix schema installation 458 - Add scriptlet Requires for GConf2 to fix schema installation
452 - Silence harmless errors when gconfd-2 is not running at install time 459 - Silence harmless errors when gconfd-2 is not running at install time
453 460
454 * Thu May 3 2007 Stu Tomlinson <stu@nosnilmot.com> 461 * Thu May 3 2007 Stu Tomlinson <stu@nosnilmot.com>