]> git.pld-linux.org Git - packages/python-telepathy.git/blob - python-telepathy.spec
- updated URLs
[packages/python-telepathy.git] / python-telepathy.spec
1 Summary:        Python module to connect to Telepathy
2 Summary(pl.UTF-8):      Moduł Pythona do łączenia się z Telepathy
3 Name:           python-telepathy
4 Version:        0.15.19
5 Release:        2
6 License:        LGPL v2.1+
7 Group:          Libraries/Python
8 Source0:        https://telepathy.freedesktop.org/releases/telepathy-python/telepathy-python-%{version}.tar.gz
9 # Source0-md5:  f7ca25ab3c88874015b7e9728f7f3017
10 URL:            https://telepathy.freedesktop.org/wiki/
11 BuildRequires:  autoconf >= 2.60
12 BuildRequires:  automake
13 BuildRequires:  libxslt-progs
14 BuildRequires:  python >= 1:2.5
15 BuildRequires:  rpm-pythonprov
16 BuildRequires:  rpmbuild(macros) >= 1.219
17 BuildArch:      noarch
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 Python module to connect to Telepathy.
22
23 %description -l pl.UTF-8
24 Moduł Pythona do łączenia się z Telepathy.
25
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
38 %prep
39 %setup -q -n telepathy-python-%{version}
40
41 %build
42 %{__aclocal}
43 %{__autoconf}
44 %{__automake}
45 %configure
46 %{__make}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
51
52 %{__make} install \
53         DESTDIR=$RPM_BUILD_ROOT
54
55 cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
56
57 %py_postclean
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files
63 %defattr(644,root,root,755)
64 %doc AUTHORS NEWS README
65 %dir %{py_sitescriptdir}/telepathy
66 %{py_sitescriptdir}/telepathy/*.py[co]
67 %dir %{py_sitescriptdir}/telepathy/_generated
68 %{py_sitescriptdir}/telepathy/_generated/*.py[co]
69 %dir %{py_sitescriptdir}/telepathy/client
70 %{py_sitescriptdir}/telepathy/client/*.py[co]
71 %dir %{py_sitescriptdir}/telepathy/server
72 %{py_sitescriptdir}/telepathy/server/*.py[co]
73
74 %files examples
75 %defattr(644,root,root,755)
76 %{_examplesdir}/%{name}-%{version}
This page took 0.023979 seconds and 3 git commands to generate.