Version: 0.2.0
Release: 1
License: GPL v2+
-Group: Libraries
-Source0: http://telepathy.freedesktop.org/releases/telepathy-sunshine/%{name}-%{version}.tar.gz
+Group: Applications/Communication
+Source0: https://telepathy.freedesktop.org/releases/telepathy-sunshine/%{name}-%{version}.tar.gz
# Source0-md5: 2615bb78170c4310029a2ea3cef71816
-URL: http://telepathy.freedesktop.org/wiki/
+URL: https://telepathy.freedesktop.org/
BuildRequires: autoconf >= 2.59
BuildRequires: automake >= 1:1.8
BuildRequires: python >= 1:2.6
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.219
+BuildRequires: sed >= 4.0
%pyrequires_eq python
Requires: python-TwistedCore
Requires: python-TwistedWeb >= 9.0.0
Requires: python-oauth
Requires: python-pygobject
Requires: python-telepathy >= 0.15.17
+BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%prep
%setup -q
+%{__sed} -i -e '1s,/usr/bin/python$,%{__python},' telepathy-sunshine
+
%build
%{__aclocal}
%{__autoconf}
%files
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog
-%attr(755,root,root) %{_libdir}/telepathy-sunshine
+%attr(755,root,root) %{_libexecdir}/telepathy-sunshine
%{_datadir}/dbus-1/services/org.freedesktop.Telepathy.ConnectionManager.sunshine.service
%{_datadir}/telepathy/managers/sunshine.manager
%{py_sitescriptdir}/sunshine