# # pidgin_major_ver and pidgin_minor_ver should be defined to match the minimum # Pidgin API version _required_ to build Guifications # Due to the way Pidgin checks plugin versions, we need to also ensure that # the correct minimum version of Pidgin is Require:'d based on what version of # the Pidgin headers we actually build with. # %define pidgin_major_ver 2 %define pidgin_minor_ver 0 %define pidgin_next_major_ver %(echo $((%{pidgin_major_ver}+1))) %define pidgin_build_minor_ver %(pkg-config --modversion pidgin | awk -F. '{ print $2 }') Summary: Guifications Plugin for Pidgin Name: pidgin-guifications Version: 2.14 Release: 1%{?dist} License: GPL Group: Applications/Internet Url: http://plugins.guifications.org/trac/wiki/Guifications Source: http://downloads.guifications.org/plugins/Guifications2/pidgin-guifications-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libtool, gtk2-devel, gettext BuildRequires: pidgin-devel >= %{pidgin_major_ver}.%{pidgin_minor_ver} BuildRequires: perl(XML::Parser) Requires: pidgin >= %{pidgin_major_ver}.%{pidgin_build_minor_ver} %description Guifications is a graphical notification plugin for the open source instant messaging client Pidgin. %prep %setup -q %build %configure make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make DESTDIR="$RPM_BUILD_ROOT" install rm -f $RPM_BUILD_ROOT%{_libdir}/pidgin/*.la $RPM_BUILD_ROOT%{_libdir}/pidgin/*.a %find_lang guifications %clean rm -rf $RPM_BUILD_ROOT %files -f guifications.lang %defattr(-, root, root) %doc AUTHORS ChangeLog COPYING README doc/flow.png doc/flow.dia doc/QUOTES %{_libdir}/pidgin/*.so %{_datadir}/pixmaps/pidgin/guifications %changelog * Fri May 18 2007 Stu Tomlinson 2.14-1 - New upstream release - Works with Pidgin * Thu Jan 25 2007 Radek Vokál 2.13-0.6.beta6 - update to beta6 package * Mon Jan 22 2007 Radek Vokál 2.13-0.5.beta5 - rebuilt * Sat Dec 09 2006 Thorsten Leemhuis 2.13-0.4.beta5 - add BR perl(XML::Parser) * Sat Dec 09 2006 Thorsten Leemhuis 2.13-0.3.beta5 - apply patch from Gen Zhang 2.13-0.3.beta5 in #212742 that updates to beta5: - bump - make the language build work - Update URL/Source0 * Thu Oct 05 2006 Christian Iseli 2.13-0.3.beta3 - rebuilt for unwind info generation, broken in gcc-4.1.1-21 * Mon Sep 18 2006 Tom "spot" Callaway - 2.13-0.2.beta3 - keep this guy alive, bump to 2.13 beta3 * Wed Mar 15 2006 Radek Vokál - 2.12-3 - rebuild * Thu Aug 18 2005 Jeremy Katz - 2.12-2 - rebuild for new cairo * Thu Aug 4 2005 Colin Charles 2.12-1 - bump to new upstream release * Tue Jun 28 2005 Colin Charles 2.10-4 - remove redundant CFLAGS in %%configure (Ralf) * Mon Jun 27 2005 Colin Charles 2.10-3 - remove BuildRequires on pkgconfig; brought in by gtk2-devel * Sat Jun 25 2005 Colin Charles 2.10-2 - changed from tar.gz to tar.bz2 for file size reduction - fix rpmlint description-line-too-long, as well as download URL * Sat Jun 25 2005 Colin Charles 2.10-1 - initial FE build, with preferred BuildRoot * Sat Apr 9 2005 Stu Tomlinson - spec file cleanup * Fri Dec 17 2004 Stu Tomlinson - Tweaks to the Gaim version dependencies * Sat Oct 9 2004 Stu Tomlinson - Add Gaim version checks to match new Gaim versioning * Wed Jun 30 2004 Stu Tomlinson - Initial spec file for Guifications 2