packages: python-skype/python-skype.spec - package readme and examples
glen
glen at pld-linux.org
Sun Dec 4 11:49:23 CET 2011
Author: glen Date: Sun Dec 4 10:49:23 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- package readme and examples
---- Files affected:
packages/python-skype:
python-skype.spec (1.9 -> 1.10)
---- Diffs:
================================================================
Index: packages/python-skype/python-skype.spec
diff -u packages/python-skype/python-skype.spec:1.9 packages/python-skype/python-skype.spec:1.10
--- packages/python-skype/python-skype.spec:1.9 Sat Dec 3 13:44:14 2011
+++ packages/python-skype/python-skype.spec Sun Dec 4 11:49:18 2011
@@ -3,7 +3,7 @@
Summary: Python wrapper for the Skype API
Name: python-%{module}
Version: 1.0.32.0
-Release: 1
+Release: 2
License: BSD
Group: Development/Languages/Python
Source0: http://downloads.sourceforge.net/skype4py/Skype4Py-%{version}.tar.gz
@@ -15,7 +15,7 @@
URL: http://sourceforge.net/projects/skype4py/
BuildRequires: python-devel
BuildRequires: rpm-pythonprov
-BuildRequires: rpmbuild(macros) >= 1.219
+BuildRequires: rpmbuild(macros) >= 1.553
Requires: python-modules >= 1:2.5
Requires: skype-program
BuildArch: noarch
@@ -26,7 +26,7 @@
%description
Skype4Py is a Python wrapper for the Skype API. It is platform
independant, written completly in Python and reimplements the
-Skype4COM's API in a pythonic way.
+Skype4COM's API in a Pythonic way.
%package -n kde-protocol-skype
Summary: KDE3/KDE4 protocol handler
@@ -49,9 +49,11 @@
# workaround for stupid tarball lacking execute perms on dirs
tar xzf %{SOURCE0}; chmod -R u+rwX .; mv Skype4Py-*/* .
+%undos examples/*.py
+
mv Skype4Py/LICENSE .
-cp -p %{SOURCE1} chat.py
+cp -p %{SOURCE1} examples/chat.py
%build
%{__python} setup.py build
@@ -65,6 +67,10 @@
%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
%py_postclean
+# demo
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
# kde
install -d $RPM_BUILD_ROOT{%{kde_servicesdir},%{_datadir}/skype}
cp -p %{SOURCE2} $RPM_BUILD_ROOT%{kde_servicesdir}
@@ -88,7 +94,7 @@
%files
%defattr(644,root,root,755)
-%doc LICENSE chat.py
+%doc README LICENSE ChangeLog
%dir %{py_sitescriptdir}/Skype4Py
%{py_sitescriptdir}/Skype4Py/*.py[co]
%dir %{py_sitescriptdir}/Skype4Py/api
@@ -127,6 +133,8 @@
%{py_sitescriptdir}/Skype4Py-*.egg-info
+%{_examplesdir}/%{name}-%{version}
+
# urlhandler
%attr(755,root,root) %{_datadir}/skype/skype.py
@@ -144,6 +152,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.10 2011/12/04 10:49:18 glen
+- package readme and examples
+
Revision 1.9 2011/12/03 12:44:14 glen
- up to 1.0.32.0
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/python-skype/python-skype.spec?r1=1.9&r2=1.10&f=u
More information about the pld-cvs-commit
mailing list