SPECS: python-telepathy.spec - updated to 0.13.12 - added examples...
megabajt
megabajt at pld-linux.org
Mon Jun 11 16:50:22 CEST 2007
Author: megabajt Date: Mon Jun 11 14:50:22 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- updated to 0.13.12
- added examples subpackage
---- Files affected:
SPECS:
python-telepathy.spec (1.4 -> 1.5)
---- Diffs:
================================================================
Index: SPECS/python-telepathy.spec
diff -u SPECS/python-telepathy.spec:1.4 SPECS/python-telepathy.spec:1.5
--- SPECS/python-telepathy.spec:1.4 Sat May 26 19:22:35 2007
+++ SPECS/python-telepathy.spec Mon Jun 11 16:50:17 2007
@@ -2,12 +2,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
@@ -21,6 +21,18 @@
%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}
@@ -29,11 +41,14 @@
%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
@@ -52,12 +67,20 @@
%{py_sitescriptdir}/telepathy/server/*.py[co]
%{py_sitescriptdir}/telepathy_python-*.egg-info
+%files examples
+%defattr(644,root,root,755)
+%{_examplesdir}/%{name}-%{version}
+
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.5 2007/06/11 14:50:17 megabajt
+- updated to 0.13.12
+- added examples subpackage
+
Revision 1.4 2007/05/26 17:22:35 qboosh
- noarch
- package .egg-info for python 2.5
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/python-telepathy.spec?r1=1.4&r2=1.5&f=u
More information about the pld-cvs-commit
mailing list