From 549af47458bc88c9634763d09ef9991c737f9f36 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Nov 04 2018 20:33:04 +0000 Subject: update to version 2.0 This version supports versions 2.0 and newer of libsignon-glib. --- diff --git a/.gitignore b/.gitignore index 9a7df5b..63f0e68 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /telepathy-accounts-signon-1.0.tar.gz +/telepathy-accounts-signon-2.0.tar.gz diff --git a/sources b/sources index daa823b..519887f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e24f554c764079d938cab71439a2e555 telepathy-accounts-signon-1.0.tar.gz +SHA512 (telepathy-accounts-signon-2.0.tar.gz) = 4a09f8de4b0b2488e55c479fcfbe498ead9547a1ab4dec537c36a328ca1a3f175a88a921ea9bcb32990d65a30d3c5deaae33ec29c225c0f1e990a882a178c5b3 diff --git a/telepathy-accounts-signon.spec b/telepathy-accounts-signon.spec index fc6f900..5f5bb61 100644 --- a/telepathy-accounts-signon.spec +++ b/telepathy-accounts-signon.spec @@ -1,46 +1,47 @@ -%global git_revision a4ae42797a9799fcbecb4c15bd9bd408e34c2eeb - Name: telepathy-accounts-signon -Version: 1.0 -Release: 7%{?dist} -Summary: Telepathy providers for libaccounts/libsignon borrowed from Empathy - +Summary: Telepathy integration for the Accounts SSO framework +Version: 2.0 +Release: 1%{?dist} License: LGPLv2 -URL: https://gitlab.com/accounts-sso/telepathy-accounts-signon -Source0: https://gitlab.com/accounts-sso/%{name}/repository/archive.tar.gz?ref=%{version}#/%{name}-%{version}.tar.gz +URL: https://gitlab.com/accounts-sso/%{name} +Source0: %{url}/-/archive/%{version}/%{name}-%{version}.tar.gz + +BuildRequires: gcc +BuildRequires: meson -BuildRequires: qt5-qtbase-devel -BuildRequires: libaccounts-glib-devel -BuildRequires: telepathy-mission-control-devel -BuildRequires: signon-glib-devel +BuildRequires: pkgconfig(libaccounts-glib) +BuildRequires: pkgconfig(libsignon-glib) >= 2.0 +BuildRequires: pkgconfig(mission-control-plugins) %description %{summary}. + %prep -%setup -q -n %{name}-%{version}-%{git_revision} +%autosetup -p1 -%build -export PATH=%{_qt5_bindir}:$PATH -%{qmake_qt5} QMF_INSTALL_ROOT=%{_prefix} \ - CONFIG+=release \ - LIBDIR=%{?_libdir} \ - telepathy-accounts-signon.pro -make %{?_smp_mflags} +%build +%meson +%meson_build %install -make install INSTALL_ROOT=%{buildroot} +%meson_install -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig %files +%license COPYING.LGPL +%doc README.md + %{_libdir}/mission-control-plugins.0/mcp-account-manager-accounts-sso.so + %changelog +* Wed Oct 31 2018 Fabio Valentini - 2.0-1 +- Update to version 2.0 to support libsignon-glib 2.0+. + * Sat Jul 14 2018 Fedora Release Engineering - 1.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild @@ -61,3 +62,4 @@ make install INSTALL_ROOT=%{buildroot} * Thu Aug 27 2015 Daniel Vrátil - 1.0-1 - Initial version +