diff --git a/.gitignore b/.gitignore index e69de29..9a7df5b 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/telepathy-accounts-signon-1.0.tar.gz diff --git a/sources b/sources index e69de29..daa823b 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +e24f554c764079d938cab71439a2e555 telepathy-accounts-signon-1.0.tar.gz diff --git a/telepathy-accounts-signon.spec b/telepathy-accounts-signon.spec new file mode 100644 index 0000000..4ed9705 --- /dev/null +++ b/telepathy-accounts-signon.spec @@ -0,0 +1,45 @@ +%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 - 1.0-1 +- Initial version