]>
Commit | Line | Data |
---|---|---|
2ad37b2c | 1 | Summary: Python module to connect to Telepathy |
78a8ebd0 | 2 | Summary(pl.UTF-8): Moduł Pythona do łączenia się z Telepathy |
67ab9a66 | 3 | Name: python-telepathy |
7a7c69ed | 4 | Version: 0.15.18 |
4607cef2 | 5 | Release: 2 |
2ad37b2c | 6 | License: LGPL |
67ab9a66 JB |
7 | Group: Libraries/Python |
8 | Source0: http://telepathy.freedesktop.org/releases/telepathy-python/telepathy-python-%{version}.tar.gz | |
7a7c69ed | 9 | # Source0-md5: 51da78a77681b0652d9b4ca941da0658 |
2ad37b2c | 10 | URL: http://telepathy.freedesktop.org/wiki/ |
2010f3f6 PZ |
11 | BuildRequires: autoconf |
12 | BuildRequires: automake | |
d8b88bd9 | 13 | BuildRequires: libxslt-progs |
027422f1 | 14 | BuildRequires: python >= 1:2.5 |
78a8ebd0 | 15 | BuildRequires: rpm-pythonprov |
027422f1 JB |
16 | BuildRequires: rpmbuild(macros) >= 1.219 |
17 | BuildArch: noarch | |
2ad37b2c | 18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
19 | ||
20 | %description | |
21 | Python module to connect to Telepathy. | |
22 | ||
78a8ebd0 JB |
23 | %description -l pl.UTF-8 |
24 | Moduł Pythona do łączenia się z Telepathy. | |
25 | ||
f6e419b7 MB |
26 | %package examples |
27 | Summary: Examples for telepathy module | |
28 | Summary(pl.UTF-8): Przykłady do modułu telepathy | |
29 | Group: Libraries/Python | |
30 | Requires: %{name} = %{version}-%{release} | |
31 | ||
32 | %description examples | |
33 | Examples for telepathy module. | |
34 | ||
35 | %description examples -l pl.UTF-8 | |
36 | Przykłady do modułu telepathy. | |
37 | ||
2ad37b2c | 38 | %prep |
67ab9a66 | 39 | %setup -q -n telepathy-python-%{version} |
2ad37b2c | 40 | |
41 | %build | |
2010f3f6 PZ |
42 | %{__aclocal} |
43 | %{__autoconf} | |
44 | %{__automake} | |
45 | %configure | |
46 | %{__make} | |
2ad37b2c | 47 | |
48 | %install | |
49 | rm -rf $RPM_BUILD_ROOT | |
f6e419b7 | 50 | install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} |
2ad37b2c | 51 | |
2010f3f6 PZ |
52 | %{__make} install \ |
53 | DESTDIR=$RPM_BUILD_ROOT | |
2ad37b2c | 54 | |
f6e419b7 MB |
55 | cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} |
56 | ||
027422f1 | 57 | %py_postclean |
2ad37b2c | 58 | |
59 | %clean | |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
62 | %files | |
63 | %defattr(644,root,root,755) | |
4a1873c5 | 64 | %doc AUTHORS README |
2ad37b2c | 65 | %dir %{py_sitescriptdir}/telepathy |
66 | %{py_sitescriptdir}/telepathy/*.py[co] | |
78a8ebd0 | 67 | %dir %{py_sitescriptdir}/telepathy/_generated |
2ad37b2c | 68 | %{py_sitescriptdir}/telepathy/_generated/*.py[co] |
78a8ebd0 | 69 | %dir %{py_sitescriptdir}/telepathy/client |
2ad37b2c | 70 | %{py_sitescriptdir}/telepathy/client/*.py[co] |
78a8ebd0 | 71 | %dir %{py_sitescriptdir}/telepathy/server |
2ad37b2c | 72 | %{py_sitescriptdir}/telepathy/server/*.py[co] |
f6e419b7 MB |
73 | |
74 | %files examples | |
75 | %defattr(644,root,root,755) | |
76 | %{_examplesdir}/%{name}-%{version} |