Blob Blame History Raw
%global git_revision a4ae42797a9799fcbecb4c15bd9bd408e34c2eeb

Name:           telepathy-accounts-signon
Version:        1.0
Release:        1%{?dist}
Summary:        Telepathy providers for libaccounts/libsignon borrowed from Empathy

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

BuildRequires:  qt5-qtbase-devel
BuildRequires:  libaccounts-glib-devel
BuildRequires:  telepathy-mission-control-devel
BuildRequires:  signon-glib-devel

%description
%{summary}.

%prep
%setup -q -n %{name}-%{version}-%{git_revision}

%build
export PATH=%{_qt5_bindir}:$PATH
%{qmake_qt5} QMF_INSTALL_ROOT=%{_prefix} \
    CONFIG+=release \
    LIBDIR=%{?_libdir} \
    telepathy-accounts-signon.pro

make %{?_smp_mflags}


%install
make install INSTALL_ROOT=%{buildroot}

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%files
%{_libdir}/mission-control-plugins.0/mcp-account-manager-accounts-sso.so

%changelog
* Thu Aug 27 2015 Daniel Vrátil <dvratil@redhat.com> - 1.0-1
- Initial version