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