fb9d8d2
Summary:	Jabber client written in PyGTK
fb9d8d2
Name:		gajim
aaea827
%global		majorver 0.14
f2104a6
Version:	0.14
aaea827
Release:	1%{?dist}
0e25a80
License:	GPLv3
fb9d8d2
Group:		Applications/Internet
fb9d8d2
URL:		http://gajim.org/
08d6523
Source0:	http://gajim.org/downloads/%{majorver}/%{name}-%{version}.tar.bz2
977ba2a
Patch0:		gajim-0.13.90-gnome-keyring-CancelledError.patch
aaea827
Patch1:		gajim-0.13.90-pygtk-crash-python2.7-workaround.patch
29ae070
BuildArch:	noarch
fb9d8d2
aaea827
Requires:	avahi-ui-tools
805f113
# for NSLookupResolver; a fallback when libasyncns does not work
fb9d8d2
Requires:	bind-utils
fb9d8d2
Requires:	dbus-python
805f113
# XXX: Gajim does not import bonobo directly, but some module does and
805f113
# prints an error if it's not available.
fb51b72
Requires:	gnome-python2-bonobo
29ae070
Requires:	gnome-python2-desktop
8314a73
Requires:	gnome-python2-gnome
0e25a80
Requires:	gnupg
8314a73
Requires:	hicolor-icon-theme
e5e7570
Requires:	notify-python
e5e7570
Requires:	pyOpenSSL
0e25a80
Requires:	python-crypto
0e25a80
Requires:	python-GnuPGInterface
e5e7570
Requires:	python-kerberos
29ae070
Requires:	python-libasyncns
805f113
805f113
# these are dlopen'd using ctypes find_library/LoadLibrary:
29ae070
Requires:	gtkspell
29ae070
Requires:	libXScrnSaver
fb9d8d2
805f113
# Optional features with significatly sized deps. Gajim detects them at
805f113
# runtime. Intentionally not as hard deps.
805f113
# XXX: Gajim could install them using PackageKit when really necessary.
805f113
#  Audio/Video calls:
805f113
#Requires:	farsight2-python
805f113
#  Password encryption:
805f113
#Requires:	gnome-python2-gnomekeyring
53c2e29
#  RST Generator:
53c2e29
#Requires:	python-docutils
805f113
fb9d8d2
BuildRequires:	desktop-file-utils
fb9d8d2
BuildRequires:	gettext
fb9d8d2
BuildRequires:	gtk2-devel
fb9d8d2
BuildRequires:	intltool
0caf32a
BuildRequires:	pygtk2-devel
29ae070
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.
29ae070
Gajim does not require GNOME to run, even though it exists with it nicely.
Dawid Gajownik 2c200cf
Dawid Gajownik 2c200cf
%prep
08d6523
%setup -q
977ba2a
%patch0 -p1
9c1880d
%patch1 -p1
Dawid Gajownik 2c200cf
Dawid Gajownik 2c200cf
%build
40acb16
%configure --docdir=%{_docdir}/%{name}-%{version}
Dawid Gajownik 2c200cf
fb9d8d2
make %{?_smp_mflags}
Dawid Gajownik 2c200cf
Dawid Gajownik 2c200cf
%install
fb9d8d2
make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT
29ae070
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
aaea827
%post
aaea827
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
aaea827
aaea827
%postun
aaea827
if [ $1 -eq 0 ] ; then
aaea827
    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
aaea827
    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
aaea827
fi
aaea827
aaea827
%posttrans
aaea827
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
aaea827
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*
aaea827
%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
aaea827
%{_datadir}/icons/hicolor/64x64/apps/%{name}.png
aaea827
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
0caf32a
0caf32a
%dir %{_datadir}/%{name}
0caf32a
%{_datadir}/%{name}/data
aaea827
%{_datadir}/%{name}/icons
0caf32a
%{_datadir}/%{name}/src
0caf32a
Dawid Gajownik 2c200cf
%changelog
f2104a6
* Mon Sep 06 2010 Michal Schmidt <mschmidt@redhat.com> 0.14-1
f2104a6
- Update to 0.14 release.
f2104a6
aaea827
* Thu Aug 19 2010 Michal Schmidt <mschmidt@redhat.com> 0.13.90-1
aaea827
- Update to 0.13.90 (a.k.a. 0.14 beta1)
aaea827
- Icon cache handling.
977ba2a
- Cleanups and fixes of Requires.
aaea827
- Refresh pygtk crash patch.
977ba2a
- Update gnome-keyring patch.
2c52c09
- Remove now unnecessary declaration and cleaning of BuildRoot.
aaea827
9c1880d
* Tue Aug 10 2010 Michal Schmidt <mschmidt@redhat.com> 0.13.4-2
9c1880d
- Workaround pygtk crash with Python 2.7 (RHBZ#621887).
9c1880d
08d6523
* Sat Apr 03 2010 Michal Schmidt <mschmidt@redhat.com> 0.13.4-1
08d6523
- Update to upstream bugfix release 0.13.4.
08d6523
2d90de0
* Sun Mar 28 2010 Michal Schmidt <mschmidt@redhat.com> 0.13.4-0.1.20100328hg
2d90de0
- Update to current gajim_0.13 branch to fix contact syncing (RHBZ#577534).
2d90de0
c643d51
* Mon Mar 15 2010 Michal Schmidt <mschmidt@redhat.com> 0.13.3-3
c643d51
- What the trayicon really needs is gnome-python2-libegg (RHBZ#573358).
c643d51
7a7804d
* Mon Mar 15 2010 Michal Schmidt <mschmidt@redhat.com> 0.13.3-2
7a7804d
- Require gnome-python2-extras for trayicon (RHBZ#573358).
7a7804d
c8d6480
* Mon Mar 08 2010 Michal Schmidt <mschmidt@redhat.com> 0.13.3-1
c8d6480
- Update to 0.13.3.
c8d6480
- Add gajim-0.13.3-gnome-keyring-CancelledError.patch (RHBZ#556374).
c8d6480
29ae070
* Fri Feb 05 2010 Michal Schmidt <mschmidt@redhat.com> - 0.13.2-1
29ae070
- Version bump to 0.13.2. (RHBZ#541470)
29ae070
- 0.13.1 and 0.13.2 are bugfix releases.
29ae070
- New in 0.13:
29ae070
  * BOSH connection support
29ae070
  * Roster versioning support
29ae070
  * Interface to send XHTML messages
29ae070
  * Changelog: http://hg.gajim.org/gajim/file/cb35a23ac836/ChangeLog
29ae070
  * Bugs fixed: http://trac.gajim.org/query?status=closed&milestone=0.13
29ae070
- 'idle' and 'gtkspell' modules are now implemented in Python using ctype.
29ae070
- Internal 'trayicon' module is not necessary with gnome-python2-desktop.
29ae070
- With no more binary modules included the package is now noarch.
29ae070
- Require python-libasyncns for src/common/resolver.py.
29ae070
- --enable-remote is no longer recognized by ./configure.
29ae070
- Hardlink identical scripts.
29ae070
- Remove fc8, fc9 support.
29ae070
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.