fb9d8d2
Summary:	Jabber client written in PyGTK
fb9d8d2
Name:		gajim
174a3c4
%global		majorver 0.14
174a3c4
Version:	0.14.1
7c1faa8
Release:	3%{?dist}.1
0e25a80
License:	GPLv3
fb9d8d2
Group:		Applications/Internet
fb9d8d2
URL:		http://gajim.org/
9a9b89c
Source0:	http://gajim.org/downloads/%{majorver}/%{name}-%{version}.tar.bz2
daf9655
# libasyncns triggers a kernel bug (RHBZ#529202), so let's not use it until
daf9655
# it's fixed.
174a3c4
Patch2:		gajim-0.14-disable-libasyncns.patch
174a3c4
Patch4:		gajim-0.14-check-error.patch
174a3c4
Patch5:		gajim-0.14-handle-read-before-close.patch
9a9b89c
BuildArch:	noarch
0caf32a
BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
fb9d8d2
174a3c4
Requires:	avahi-ui-tools
174a3c4
# for NSLookupResolver; a fallback when libasyncns does not work
fb9d8d2
Requires:	bind-utils
fb9d8d2
Requires:	dbus-python
174a3c4
#  Audio/Video calls:
174a3c4
Requires:	farsight2-python
174a3c4
Requires:	gstreamer-python
174a3c4
# XXX: Gajim does not import bonobo directly, but some module does and
174a3c4
# prints an error if it's not available.
fb51b72
Requires:	gnome-python2-bonobo
9a9b89c
Requires:	gnome-python2-desktop
174a3c4
Requires:	gnome-python2-gnome
0e25a80
Requires:	gnupg
174a3c4
Requires:	hicolor-icon-theme
e5e7570
Requires:	notify-python
e5e7570
Requires:	pyOpenSSL
0e25a80
Requires:	python-crypto
0e25a80
Requires:	python-GnuPGInterface
7c1faa8
# XXX: python-kerberos is neither in RHEL6.0 nor EPEL.
7c1faa8
# It will be in 6.1 though according to bz#664751.
7c1faa8
#Requires:	python-kerberos
daf9655
# See above comment for Patch1
daf9655
#Requires:	python-libasyncns
174a3c4
174a3c4
# these are dlopen'd using ctypes find_library/LoadLibrary:
9a9b89c
Requires:	gtkspell
9a9b89c
Requires:	libXScrnSaver
fb9d8d2
174a3c4
# Optional features with significatly sized deps. Gajim detects them at
174a3c4
# runtime. Intentionally not as hard deps.
174a3c4
# XXX: Gajim could install them using PackageKit when really necessary.
174a3c4
#  Password encryption:
174a3c4
#Requires:	gnome-python2-gnomekeyring
174a3c4
#  RST Generator:
174a3c4
#Requires:	python-docutils
174a3c4
fb9d8d2
BuildRequires:	desktop-file-utils
fb9d8d2
BuildRequires:	gettext
fb9d8d2
BuildRequires:	gtk2-devel
fb9d8d2
BuildRequires:	intltool
0caf32a
BuildRequires:	pygtk2-devel
9a9b89c
BuildRequires:	hardlink
Dawid Gajownik 2c200cf
Dawid Gajownik 2c200cf
%description
Dawid Gajownik 2c200cf
Gajim is a Jabber client written in PyGTK. The goal of Gajim's developers is
Dawid Gajownik 2c200cf
to provide a full featured and easy to use xmpp client for the GTK+ users.
9a9b89c
Gajim does not require GNOME to run, even though it exists with it nicely.
Dawid Gajownik 2c200cf
Dawid Gajownik 2c200cf
%prep
Dawid Gajownik 2c200cf
%setup -q
174a3c4
%patch2 -p1
174a3c4
%patch4 -p1
174a3c4
%patch5 -p1
Dawid Gajownik 2c200cf
Dawid Gajownik 2c200cf
%build
174a3c4
%configure --docdir=%{_docdir}/%{name}-%{version}
Dawid Gajownik 2c200cf
fb9d8d2
make %{?_smp_mflags}
Dawid Gajownik 2c200cf
Dawid Gajownik 2c200cf
%install
fb9d8d2
rm -rf $RPM_BUILD_ROOT
Dawid Gajownik a2c6f86
fb9d8d2
make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT
9a9b89c
hardlink -c $RPM_BUILD_ROOT/%{_bindir}
Dawid Gajownik 2c200cf
fb9d8d2
desktop-file-install --vendor fedora --delete-original \
fb9d8d2
  --dir $RPM_BUILD_ROOT%{_datadir}/applications \
fb9d8d2
  --remove-category=Application \
fb9d8d2
  $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
Dawid Gajownik 425c0cc
Dawid Gajownik 2c200cf
%find_lang %{name}
Dawid Gajownik 2c200cf
174a3c4
%post
174a3c4
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
174a3c4
174a3c4
%postun
174a3c4
if [ $1 -eq 0 ] ; then
174a3c4
    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
174a3c4
    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
174a3c4
fi
174a3c4
174a3c4
%posttrans
174a3c4
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
Dawid Gajownik 2c200cf
%clean
Dawid Gajownik 2c200cf
rm -rf %{buildroot}
Dawid Gajownik 2c200cf
Dawid Gajownik 2c200cf
%files -f %{name}.lang
Dawid Gajownik 2c200cf
%defattr(-,root,root,-)
0caf32a
%doc AUTHORS
0caf32a
%doc ChangeLog
0caf32a
%doc COPYING
0caf32a
%doc README.html
0caf32a
%doc THANKS
0e25a80
%doc THANKS.artists
e5e7570
%doc %{_mandir}/man1/%{name}.1*
174a3c4
%doc %{_mandir}/man1/%{name}-history-manager.1*
e5e7570
%doc %{_mandir}/man1/%{name}-remote.1*
fb9d8d2
%{_bindir}/%{name}
0e25a80
%{_bindir}/%{name}-history-manager
fb9d8d2
%{_bindir}/%{name}-remote
0caf32a
%{_datadir}/applications/fedora-%{name}.desktop
174a3c4
%{_datadir}/icons/hicolor/64x64/apps/%{name}.png
174a3c4
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
0caf32a
0caf32a
%dir %{_datadir}/%{name}
0caf32a
%{_datadir}/%{name}/data
174a3c4
%{_datadir}/%{name}/icons
0caf32a
%{_datadir}/%{name}/src
0caf32a
Dawid Gajownik 2c200cf
%changelog
7c1faa8
* Fri Feb 25 2011 Michal Schmidt <mschmidt@redhat.com> 0.14.1-3.el6.1
7c1faa8
- python-kerberos is not available in RHEL6.0.
7c1faa8
174a3c4
* Mon Nov 15 2010 Michal Schmidt <mschmidt@redhat.com> 0.14.1-3
174a3c4
- Fix a regression noted by Peter Lemenkov in Bodhi.
174a3c4
  (Could not connect to gmail.com)
174a3c4
174a3c4
* Fri Nov 05 2010 Michal Schmidt <mschmidt@redhat.com> 0.14.1-2
174a3c4
- Fix high CPU usage when the server announces a strange streamhost
174a3c4
  (RHBZ#649986)
174a3c4
174a3c4
* Tue Oct 26 2010 Michal Schmidt <mschmidt@redhat.com> 0.14.1-1
174a3c4
- Upstream bugfix release.
174a3c4
- Dropped merged patches.
174a3c4
174a3c4
* Tue Sep 21 2010 Michal Schmidt <mschmidt@redhat.com> 0.14-4
174a3c4
- Replace our gnome-keyring patch with one picked from upstream hg.
174a3c4
- Prevent traceback when receiving strange reply to iq:last.
174a3c4
174a3c4
* Mon Sep 20 2010 Michal Schmidt <mschmidt@redhat.com> 0.14-3
174a3c4
- Require gstreamer-python too. (RHBZ#632927)
174a3c4
174a3c4
* Tue Sep 14 2010 Michal Schmidt <mschmidt@redhat.com> 0.14-2
174a3c4
- Require farsight2-python for audio/video. (RHBZ#632927)
174a3c4
174a3c4
* Mon Sep 06 2010 Michal Schmidt <mschmidt@redhat.com> 0.14-1
174a3c4
- Update to 0.14 release.
174a3c4
afb59fd
* Sat Apr 03 2010 Michal Schmidt <mschmidt@redhat.com> 0.13.4-1
afb59fd
- Update to upstream bugfix release 0.13.4.
afb59fd
174a3c4
* Sun Mar 28 2010 Michal Schmidt <mschmidt@redhat.com> 0.13.4-0.1.20100328hg
174a3c4
- Update to current gajim_0.13 branch to fix contact syncing (RHBZ#577534).
174a3c4
3044025
* Mon Mar 15 2010 Michal Schmidt <mschmidt@redhat.com> 0.13.3-3
3044025
- What the trayicon really needs is gnome-python2-libegg (RHBZ#573358).
3044025
6b7a7db
* Mon Mar 15 2010 Michal Schmidt <mschmidt@redhat.com> 0.13.3-2
6b7a7db
- Require gnome-python2-extras for trayicon (RHBZ#573358).
6b7a7db
174a3c4
* Mon Mar 08 2010 Michal Schmidt <mschmidt@redhat.com> 0.13.3-1.fc13.1
daf9655
- Do not use libasyncns until a kernel bug (RHBZ#529202) is fixed.
daf9655
e1575a3
* Mon Mar 08 2010 Michal Schmidt <mschmidt@redhat.com> 0.13.3-1
e1575a3
- Update to 0.13.3.
e1575a3
- Add gajim-0.13.3-gnome-keyring-CancelledError.patch (RHBZ#556374).
e1575a3
9a9b89c
* Fri Feb 05 2010 Michal Schmidt <mschmidt@redhat.com> - 0.13.2-1
9a9b89c
- Version bump to 0.13.2. (RHBZ#541470)
9a9b89c
- 0.13.1 and 0.13.2 are bugfix releases.
9a9b89c
- New in 0.13:
9a9b89c
  * BOSH connection support
9a9b89c
  * Roster versioning support
9a9b89c
  * Interface to send XHTML messages
9a9b89c
  * Changelog: http://hg.gajim.org/gajim/file/cb35a23ac836/ChangeLog
9a9b89c
  * Bugs fixed: http://trac.gajim.org/query?status=closed&milestone=0.13
9a9b89c
- 'idle' and 'gtkspell' modules are now implemented in Python using ctype.
9a9b89c
- Internal 'trayicon' module is not necessary with gnome-python2-desktop.
9a9b89c
- With no more binary modules included the package is now noarch.
9a9b89c
- Require python-libasyncns for src/common/resolver.py.
9a9b89c
- --enable-remote is no longer recognized by ./configure.
9a9b89c
- Hardlink identical scripts.
9a9b89c
- Remove fc8, fc9 support.
9a9b89c
67eafba
* Sat Sep 19 2009 Debarshi Ray <rishi@fedoraproject.org> - 0.12.5-1
67eafba
- Version bump to 0.12.5. (Red Hat Bugzilla #516191)
67eafba
  * Fixed history manager.
67eafba
  * Improved file transfer.
67eafba
  * http://trac.gajim.org/query?status=closed&milestone=0.12.4
67eafba
  * http://trac.gajim.org/browser/ChangeLog?rev=5f8edb79072f
67eafba
f76650c
* Mon Aug 10 2009 Ville Skyttä <ville.skytta@iki.fi> - 0.12.3-3
f76650c
- Use bzipped upstream tarball.
f76650c
67eafba
* Fri Jul 24 2009 Release Engineering <rel-eng@fedoraproject.org> - 0.12.3-2
67eafba
- Autorebuild for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
0a180cc
0e25a80
* Wed Jul 22 2009 Debarshi Ray <rishi@fedoraproject.org> - 0.12.3-1
0e25a80
- Version bump to 0.12.3. (Red Hat Bugzilla #510803)
0e25a80
  * Better keepalive / ping behaviour.
0e25a80
  * Fixed custom port handling.
0e25a80
  * Fixed PEP discovery.
0e25a80
  * Fixed PLAIN authentication (in particular with Google Talk).
0e25a80
  * Fixed SSL with some servers.
0e25a80
  * Handle XFCE notification-daemon.
0e25a80
  * Improve Kerberos support.
0e25a80
  * NetworkManager 0.7 support.
0e25a80
  * Restore old behaviour of click on systray: left click to open events.
0e25a80
  * Totem support for played music.
67eafba
  * http://trac.gajim.org/query?status=closed&milestone=0.12.2
0e25a80
0e25a80
* Tue Jul 14 2009 Debarshi Ray <rishi@fedoraproject.org> - 0.12.1-2
0e25a80
- Replaced 'License: GPLv2' with 'License: GPLv3'.
0e25a80
- Added 'Requires: gnupg python-crypto python-GnuPGInterface'. (Red Hat
0e25a80
  Bugzilla #510804)
0e25a80
fb51b72
* Sat May 02 2009 Debarshi Ray <rishi@fedoraproject.org> - 0.12.1-3
fb51b72
- Added 'Requires: gnome-python2-bonobo'. (Red Hat Bugzilla #470181)
fb51b72
4f66224
* Tue Feb 24 2009 Release Engineering <rel-eng@fedoraproject.org> - 0.12.1-2
4f66224
- Autorebuild for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
691331e
643b560
* Tue Dec 23 2008 Debarshi Ray <rishi@fedoraproject.org> - 0.12.1-1
643b560
- Version bump to 0.12.1.
0e25a80
  * Fixed click on notifications when text string is empty.
0e25a80
  * Fixed file transfer.
0e25a80
  * Improve systray popup menu.
0e25a80
  * Translation updates: de.
643b560
- /usr/share/gajim/src/gajim-{remote}.py need not contain shebangs nor have the
643b560
  executable bits.
643b560
e5e7570
* Thu Dec 18 2008 Debarshi Ray <rishi@fedoraproject.org> - 0.12-1
e5e7570
- Version bump to 0.12.
0e25a80
  * Better auto-away support.
0e25a80
  * Better sessions support.
0e25a80
  * Fixed Banshee support.
0e25a80
  * Fixed end to end encryption autonegation.
0e25a80
  * Fixed GSSAPI authentication.
0e25a80
  * Fixed text rendering in notifications.
0e25a80
  * Quodlibet support.
67eafba
  * http://trac.gajim.org/query?status=closed&milestone=0.12
67eafba
  * http://trac.gajim.org/browser/tags/gajim-0.12/ChangeLog
e5e7570
- Added 'Requires: notify-python python-kerberos'.
e5e7570
643b560
* Sun Nov 30 2008 Debarshi Ray <rishi@fedoraproject.org> - 0.12-0.1.beta1
fb51b72
- Version bump to 0.12 beta1. (Red Hat Bugzilla #471295)
fb51b72
- Added 'Requires: pyOpenSSL'. (Red Hat Bugzilla #467523)
e5e7570
- Added 'Requires: python-sexy'.
bc6fe13
643b560
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.11.4-7
643b560
- Rebuilding with python-2.6 in Rawhide.
643b560
33ec531
* Sun Nov 09 2008 Debarshi Ray <rishi@fedoraproject.org> - 0.11.4-6
33ec531
- Added 'Requires: gnome-python2-gnome' on all distributions starting from
fb51b72
  Fedora 10. (Red Hat Bugzilla #470181)
33ec531
33ec531
* Tue Oct 28 2008 Debarshi Ray <rishi@fedoraproject.org> - 0.11.4-5
33ec531
- Added 'Requires: avahi-tools'.
33ec531
b2d90b9
* Mon Jul 14 2008 Debarshi Ray <rishi@fedoraproject.org> - 0.11.4-4
b2d90b9
- Rebuilding to overcome Koji outage.
b2d90b9
0caf32a
* Mon Jul 14 2008 Debarshi Ray <rishi@fedoraproject.org> - 0.11.4-3
0caf32a
- Updated BuildRoot according to Fedora packaging guidelines.
fb51b72
- Added 'Requires: gnome-python2-canvas'. (Red Hat Bugzilla #454622)
0caf32a
- Removed 'BuildRequires: pkgconfig' and dropped version from
0caf32a
  'BuildRequires: pygtk2-devel'.
0caf32a
- Fixed docdir and removed empty README.
0caf32a
67eafba
* Tue Feb 19 2008 Release Engineering <rel-eng@fedoraproject.org> - 0.11.4-2
fb9d8d2
- Autorebuild for gcc-4.3.
e378a69
510fffc
* Wed Dec 26 2007 Matěj Cepl <mcepl@redhat.com> 0.11.4-1
ed8d9a3
- New upstream release.
ed8d9a3
Dawid Gajownik fe84f5e
* Sun Nov 25 2007 Dawid Gajownik <gajownik[AT]gmail.com> - 0.11.3-2
Dawid Gajownik fe84f5e
- Fix problem with python(abi)
Dawid Gajownik fe84f5e
- Add Requires: python-docutils
Dawid Gajownik fe84f5e
Dawid Gajownik 5f93636
* Sun Nov 18 2007 Dawid Gajownik <gajownik[AT]gmail.com> - 0.11.3-1
Dawid Gajownik 5f93636
- Update to 0.11.3 (#315931)
Dawid Gajownik 5f93636
- Fix Licence tag
Dawid Gajownik 5f93636
Dawid Gajownik a2c6f86
* Fri Feb 23 2007 Dawid Gajownik <gajownik[AT]gmail.com> - 0.11.1-1
Dawid Gajownik a2c6f86
- Update to 0.11.1
Dawid Gajownik a2c6f86
- Remove python-sqlite2 dependency (it's now provided by python-2.5)
Dawid Gajownik a2c6f86
Dawid Gajownik a2c6f86
* Tue Jan 23 2007 Dawid Gajownik <gajownik[AT]gmail.com> - 0.11.1-0.1.pre1
Dawid Gajownik a2c6f86
- Update to 0.11.1-pre1
Dawid Gajownik a2c6f86
Dawid Gajownik a2c6f86
* Sun Jan 14 2007 Dawid Gajownik <gajownik[AT]gmail.com> - 0.11-1
Dawid Gajownik a2c6f86
- Update to 0.11
Dawid Gajownik a2c6f86
a12da72
* Thu Dec 21 2006 Jason L Tibbitts III <tibbs@math.uh.edu> - 0.10.1-4
a12da72
- Rebuild for new Python.
a12da72
2a41a03
* Thu Oct 05 2006 Christian Iseli <Christian.Iseli@licr.org> 0.10.1-3
Dawid Gajownik a2c6f86
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
2a41a03
Dawid Gajownik 2525c6f
* Mon Sep 18 2006 Dawid Gajownik <gajownik[AT]gmail.com> - 0.10.1-2
Dawid Gajownik 2525c6f
- Rebuild for FE6
Dawid Gajownik 2525c6f
- Fix mixed-use-of-spaces-and-tabs rpmlint warning
Dawid Gajownik 2525c6f
Dawid Gajownik ae70afb
* Mon Jun  5 2006 Dawid Gajownik <gajownik[AT]gmail.com> - 0.10.1-1
Dawid Gajownik ae70afb
- Update to 0.10.1
Dawid Gajownik ae70afb
- Change e-mail address in ChangeLog
Dawid Gajownik ae70afb
Dawid Gajownik ae70afb
* Tue May  2 2006 Dawid Gajownik <gajownik[AT]gmail.com> - 0.10-1
Dawid Gajownik 9fe81e5
- Update to 0.10
Dawid Gajownik 9fe81e5
Dawid Gajownik ae70afb
* Wed Apr 19 2006 Dawid Gajownik <gajownik[AT]gmail.com> - 0.10-0.1.pre2
Dawid Gajownik 656f42d
- Update to 0.10-pre2
Dawid Gajownik 656f42d
Dawid Gajownik ae70afb
* Thu Apr 13 2006 Dawid Gajownik <gajownik[AT]gmail.com> - 0.10-0.1.pre1
Dawid Gajownik 5ed2c8c
- Update to 0.10-pre1
Dawid Gajownik 5ed2c8c
- Drop patches
Dawid Gajownik 5ed2c8c
Dawid Gajownik ae70afb
* Thu Mar 30 2006 Dawid Gajownik <gajownik[AT]gmail.com> - 0.9.1-3
Dawid Gajownik f1996ce
- Remove Gnome dependencies
Dawid Gajownik f1996ce
- Fix crash with notify-daemon (#187274, Stefan Plewako)
Dawid Gajownik f1996ce
  http://trac.gajim.org/ticket/1347
Dawid Gajownik f1996ce
Dawid Gajownik ae70afb
* Tue Feb 14 2006 Dawid Gajownik <gajownik[AT]gmail.com> - 0.9.1-2
Dawid Gajownik 13119cd
- Rebuild for Fedora Extras 5
Dawid Gajownik 13119cd
Dawid Gajownik ae70afb
* Sun Jan 15 2006 Dawid Gajownik <gajownik[AT]gmail.com> - 0.9.1-1
Dawid Gajownik 8d2ef47
- update to 0.9.1 (Eric Tanguy, #176614)
Dawid Gajownik 8d2ef47
- drop aplay.patch
Dawid Gajownik 8d2ef47
- fix compilation with modular X.Org X11R7
Dawid Gajownik 8d2ef47
Dawid Gajownik ae70afb
* Tue Sep  6 2005 Dawid Gajownik <gajownik[AT]gmail.com> - 0.8.2-1
Dawid Gajownik a38e64c
- new version 0.8.2
Dawid Gajownik a38e64c
- remove patches .cflags, .po, .x86_64, .remote (pushed upstream)
Dawid Gajownik a38e64c
Dawid Gajownik ae70afb
* Sat Sep  3 2005 Dawid Gajownik <gajownik[AT]gmail.com> - 0.8.1-1
Dawid Gajownik 425c0cc
- Version 0.8.1
Dawid Gajownik 425c0cc
- drop gajim-remote.py file (included in tarball)
Dawid Gajownik 425c0cc
Dawid Gajownik ae70afb
* Wed Aug 24 2005 Dawid Gajownik <gajownik[AT]gmail.com> - 0.8-5
Dawid Gajownik eadc838
- Don't build internal modules
Dawid Gajownik eadc838
Dawid Gajownik ae70afb
* Wed Aug 24 2005 Dawid Gajownik <gajownik[AT]gmail.com> - 0.8-4
Dawid Gajownik cbfeb0e
- Add missing BuildRequires:  desktop-file-utils
Dawid Gajownik cbfeb0e
Dawid Gajownik ae70afb
* Wed Aug 24 2005 Dawid Gajownik <gajownik[AT]gmail.com> - 0.8-3
Dawid Gajownik 9674f26
- add .x86_64.patch (fix broken lib dir)
Dawid Gajownik 9674f26
Dawid Gajownik ae70afb
* Wed Aug 24 2005 Dawid Gajownik <gajownik[AT]gmail.com> - 0.8-2
Dawid Gajownik 2c200cf
- fix gajim-remote.py script
Dawid Gajownik 2c200cf
Dawid Gajownik ae70afb
* Sat Aug 20 2005 Dawid Gajownik <gajownik[AT]gmail.com> - 0.8-1
Dawid Gajownik 2c200cf
- Initial RPM release.