Package telepathy-haze: Specfile

%def_disable snapshot
%define _libexecdir %_prefix/libexec
%def_enable check

Name: telepathy-haze
Version: 0.8.1
Release: alt1

Summary: a connection manager built around libpurple
License: GPLv2+
Group: Networking/Instant messaging
Url: https://developer.pidgin.im/wiki/TelepathyHaze

%if_disabled snapshot
Source: https://telepathy.freedesktop.org/releases/%name/%name-%version.tar.gz
%else
Vcs: https://anongit.freedesktop.org/telepathy/telepathy-haze
Source: %name-%version.tar
%endif

BuildRequires(pre): rpm-build-python3
BuildRequires: glib2-devel >= 2.22 libgio-devel libdbus-glib-devel >= 0.73
BuildRequires: libpurple-devel >= 2.0.12 libtelepathy-glib-devel >= 0.13.9
BuildRequires: xsltproc
%if_enabled check
BuildRequires: python3-module-twisted-words python3-module-twisted-core-gui
BuildRequires: python3-module-cffi python3-module-service-identity
BuildRequires: python3-module-pygobject3-pygtkcompat
BuildRequires: /proc dbus-tools-gui python3-module-dbus
%endif

%description
telepathy-haze is a connection manager built around libpurple, the
core of Pidgin (formerly Gaim), as a Summer of Code project under the
Pidgin umbrella.  Ultimately, any protocol supported by libpurple will
be supported by telepathy-haze; for now, XMPP, MSN and AIM are known to
work acceptably, and others will probably work too.

%prep
%setup

%build
%autoreconf
%configure --disable-Werror PYTHON=%__python3
%make_build

%install
%makeinstall_std

%check
%make check

%files
%doc AUTHORS NEWS
%_libexecdir/%name
%_man8dir/*
%_datadir/dbus-1/services/org.freedesktop.Telepathy.ConnectionManager.haze.service

%changelog
* Wed Nov 11 2020 Yuri N. Sedunov <aris@altlinux.org> 0.8.1-alt1
- 0.8.1 (ported tests to Python3)

* Thu Mar 26 2020 Yuri N. Sedunov <aris@altlinux.org> 0.8.0.1-alt0.8
- built without -Werror

* Fri Jan 11 2019 Yuri N. Sedunov <aris@altlinux.org> 0.8.0.1-alt0.7
- disabled %%check

* Thu Nov 29 2018 Yuri N. Sedunov <aris@altlinux.org> 0.8.0.1-alt0.6
- fixed build (ALT #35671)

* Fri Feb 23 2018 Yuri N. Sedunov <aris@altlinux.org> 0.8.0.1-alt0.5
- rebuilt with gcc7

* Sun Jan 15 2017 Yuri N. Sedunov <aris@altlinux.org> 0.8.0.1-alt0.4
- updated to 0.8.0-2-g8358972
- fixed unused static const variable error with gcc6

* Mon Feb 22 2016 Yuri N. Sedunov <aris@altlinux.org> 0.8.0.1-alt0.3
- updated buildreqs

* Tue Feb 16 2016 Yuri N. Sedunov <aris@altlinux.org> 0.8.0.1-alt0.2
- fixed build against libpurple-2.10.12

* Sat Sep 05 2015 Yuri N. Sedunov <aris@altlinux.org> 0.8.0.1-alt0.1
- updated to 0.8.0.1_83589722
- fixed buildreqs for check stage

* Thu Oct 03 2013 Yuri N. Sedunov <aris@altlinux.org> 0.8.0-alt1
- 0.8.0

* Tue Sep 24 2013 Yuri N. Sedunov <aris@altlinux.org> 0.7.1-alt1
- 0.7.1

* Thu Feb 28 2013 Yuri N. Sedunov <aris@altlinux.org> 0.7.0-alt1
- 0.7.0

* Thu Apr 05 2012 Yuri N. Sedunov <aris@altlinux.org> 0.6.0-alt1
- 0.6.0

* Wed Aug 10 2011 Yuri N. Sedunov <aris@altlinux.org> 0.5.0-alt1
- 0.5.0

* Sun Jan 30 2011 Yuri N. Sedunov <aris@altlinux.org> 0.4.0-alt2
- fixed freedesktop.org bugs ##30475, 30594
- %%check section temporarily disabled

* Fri Sep 03 2010 Yuri N. Sedunov <aris@altlinux.org> 0.4.0-alt1
- 0.4.0

* Sun Aug 22 2010 Yuri N. Sedunov <aris@altlinux.org> 0.3.6-alt1
- 0.3.6

* Sun Aug 22 2010 Yuri N. Sedunov <aris@altlinux.org> 0.3.5-alt2
- python-module-twisted-core-gui added to buldreqs

* Tue Jun 22 2010 Yuri N. Sedunov <aris@altlinux.org> 0.3.5-alt1
- 0.3.5

* Fri Mar 05 2010 Yuri N. Sedunov <aris@altlinux.org> 0.3.4-alt1
- 0.3.4

* Thu Jan 28 2010 Yuri N. Sedunov <aris@altlinux.org> 0.3.3-alt1
- 0.3.3

* Thu Jan 07 2010 Yuri N. Sedunov <aris@altlinux.org> 0.3.2-alt1
- 0.3.2

* Mon Apr 27 2009 Yuri N. Sedunov <aris@altlinux.org> 0.3.0-alt1
- 0.3.0

* Sun Nov 09 2008 Yuri N. Sedunov <aris@altlinux.org> 0.2.1-alt1
- 0.2.1

* Mon Jul 14 2008 Igor Zubkov <icesik@altlinux.org> 0.2.0.1-alt3
- fix build on x86_64

* Mon May 26 2008 Igor Zubkov <icesik@altlinux.org> 0.2.0.1-alt2
- fix build

* Thu May 01 2008 Igor Zubkov <icesik@altlinux.org> 0.2.0.1-alt1
- 0.2.0 -> 0.2.0.1

* Sat Feb 23 2008 Igor Zubkov <icesik@altlinux.org> 0.2.0-alt1
- 0.1.4 -> 0.2.0

* Sat Nov 24 2007 Igor Zubkov <icesik@altlinux.org> 0.1.4-alt1
- 0.1.3 -> 0.1.4

* Fri Nov 16 2007 Igor Zubkov <icesik@altlinux.org> 0.1.3-alt1
- 0.1.2 -> 0.1.3

* Mon Sep 17 2007 Igor Zubkov <icesik@altlinux.org> 0.1.2-alt1
- 0.1.1 -> 0.1.2

* Fri Aug 24 2007 Igor Zubkov <icesik@altlinux.org> 0.1.1-alt2
- fix file conflict with empathy

* Sat Aug 18 2007 Igor Zubkov <icesik@altlinux.org> 0.1.1-alt1
- build for Sisyphus