]>
Commit | Line | Data |
---|---|---|
70e7ca95 PZ |
1 | Summary: Gadu-Gadu connection manager for the Telepathy |
2 | Summary(pl.UTF-8): Zarządca połączeń Gadu-Gadu dla Telepathy | |
3 | Name: telepathy-sunshine | |
c5ed649b PZ |
4 | Version: 0.2.0 |
5 | Release: 1 | |
e46b9034 | 6 | License: GPL v2+ |
a0797776 JB |
7 | Group: Applications/Communication |
8 | Source0: https://telepathy.freedesktop.org/releases/telepathy-sunshine/%{name}-%{version}.tar.gz | |
c5ed649b | 9 | # Source0-md5: 2615bb78170c4310029a2ea3cef71816 |
a0797776 | 10 | URL: https://telepathy.freedesktop.org/ |
70e7ca95 PZ |
11 | BuildRequires: autoconf >= 2.59 |
12 | BuildRequires: automake >= 1:1.8 | |
6e6d49d9 | 13 | BuildRequires: python >= 1:2.6 |
70e7ca95 PZ |
14 | BuildRequires: rpm-pythonprov |
15 | BuildRequires: rpmbuild(macros) >= 1.219 | |
a0797776 | 16 | BuildRequires: sed >= 4.0 |
70e7ca95 PZ |
17 | %pyrequires_eq python |
18 | Requires: python-TwistedCore | |
36d32f44 | 19 | Requires: python-TwistedWeb >= 9.0.0 |
6e6d49d9 | 20 | Requires: python-dbus |
18bf8ac0 | 21 | Requires: python-oauth |
6e6d49d9 | 22 | Requires: python-pygobject |
ea82d3ca | 23 | Requires: python-telepathy >= 0.15.17 |
a0797776 | 24 | BuildArch: noarch |
70e7ca95 PZ |
25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
26 | ||
27 | %description | |
28 | This package provides Gadu-Gadu functionality for Telepathy. | |
29 | ||
30 | %description -l pl.UTF-8 | |
31 | Ten pakiet udostępnia funkcjonalność Gadu-Gadu dla Telepathy. | |
32 | ||
33 | %prep | |
34 | %setup -q | |
35 | ||
a0797776 JB |
36 | %{__sed} -i -e '1s,/usr/bin/python$,%{__python},' telepathy-sunshine |
37 | ||
70e7ca95 PZ |
38 | %build |
39 | %{__aclocal} | |
40 | %{__autoconf} | |
41 | %{__automake} | |
42 | %configure | |
43 | %{__make} | |
44 | ||
45 | %install | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | ||
48 | %{__make} install \ | |
49 | DESTDIR=$RPM_BUILD_ROOT | |
50 | ||
51 | %py_postclean | |
52 | ||
53 | %clean | |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | ||
56 | %files | |
57 | %defattr(644,root,root,755) | |
58 | %doc AUTHORS ChangeLog | |
a0797776 | 59 | %attr(755,root,root) %{_libexecdir}/telepathy-sunshine |
70e7ca95 PZ |
60 | %{_datadir}/dbus-1/services/org.freedesktop.Telepathy.ConnectionManager.sunshine.service |
61 | %{_datadir}/telepathy/managers/sunshine.manager | |
62 | %{py_sitescriptdir}/sunshine |