2 # - package: http://code.google.com/p/python-twitter/
3 # - package for old api
4 # - find_chat.py, show_edited_chats.py use old api (skype_api.py)
5 Summary: Command-line tools for Skype
10 Group: Development/Languages/Python
11 Source0: http://www.oberle.org/skype_tools-%{version}.tar.gz
12 # Source0-md5: 4204fa0441034c296d11b37e139e7660
13 URL: http://www.oberle.org/skype_linux_tools
14 BuildRequires: rpm-pythonprov
15 BuildRequires: sed >= 4.0
16 Requires: python-skype >= 1.0.31.0
17 Requires: skype >= 1.4.0.64
18 Suggests: python-twitter
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 The package provided here contains a set of command-line tools for
24 Skype Linux to do various things that cannot be done with the user
28 %setup -q -n skype_linux_tools
32 mv skype_api.py twitter.py apis
35 %{__sed} -i -e '1s,#!.*python,#!%{__python},' *.py
38 rm -rf $RPM_BUILD_ROOT
39 install -d $RPM_BUILD_ROOT%{_bindir}
42 install -p $a $RPM_BUILD_ROOT%{_bindir}/skype-$(echo $p | tr _ -)
46 rm -rf $RPM_BUILD_ROOT
49 %defattr(644,root,root,755)
51 %attr(755,root,root) %{_bindir}/skype-*