]> git.pld-linux.org Git - packages/python-telepathy.git/commitdiff
- updated to 0.13.12 auto/th/python-telepathy-0_13_12-1
authorMarcin Banasiak <marcin.banasiak@gmail.com>
Mon, 11 Jun 2007 14:50:17 +0000 (14:50 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added examples subpackage

Changed files:
    python-telepathy.spec -> 1.5

python-telepathy.spec

index 7e1019be99b0ca9ea429d45a901f96290be99e34..761a92f0d19324667c9ac5439e3871a9d9ab23a3 100644 (file)
@@ -1,12 +1,12 @@
 Summary:       Python module to connect to Telepathy
 Summary(pl.UTF-8):     Moduł Pythona do łączenia się z Telepathy
 Name:          python-telepathy
-Version:       0.13.10
+Version:       0.13.12
 Release:       1
 License:       LGPL
 Group:         Libraries/Python
 Source0:       http://telepathy.freedesktop.org/releases/telepathy-python/telepathy-python-%{version}.tar.gz
-# Source0-md5: a8c7d7cd3c0f18eff5848a1f060b979e
+# Source0-md5: 46e029d421c7383f616e282adb385aa8
 URL:           http://telepathy.freedesktop.org/wiki/
 BuildRequires: python >= 1:2.5
 BuildRequires: rpm-pythonprov
@@ -20,6 +20,18 @@ Python module to connect to Telepathy.
 %description -l pl.UTF-8
 Moduł Pythona do łączenia się z Telepathy.
 
+%package examples
+Summary:       Examples for telepathy module
+Summary(pl.UTF-8):     Przykłady do modułu telepathy
+Group:         Libraries/Python
+Requires:      %{name} = %{version}-%{release}
+
+%description examples
+Examples for telepathy module.
+
+%description examples -l pl.UTF-8
+Przykłady do modułu telepathy.
+
 %prep
 %setup -q -n telepathy-python-%{version}
 
@@ -28,11 +40,14 @@ python setup.py build
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 python setup.py install \
         --root=$RPM_BUILD_ROOT \
         --optimize=2
 
+cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
 %py_postclean
 
 %clean
@@ -50,3 +65,7 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{py_sitescriptdir}/telepathy/server
 %{py_sitescriptdir}/telepathy/server/*.py[co]
 %{py_sitescriptdir}/telepathy_python-*.egg-info
+
+%files examples
+%defattr(644,root,root,755)
+%{_examplesdir}/%{name}-%{version}
This page took 0.081355 seconds and 4 git commands to generate.