[suggest] skype for centos

Александр Кириллов nevis2us at infoline.su
Tue Mar 22 12:58:55 CET 2011

While instructions on centos wiki work well you still have to symlink or
copy 2 more files
to get skype into gnome menus. The attached spec should also provide for
pulling in i386
dependencies on a 64-bit platform.

-------------- next part --------------
%define debug_package %{nil}
%define __strip /bin/true

Name: skype
Release: 2%{?dist}
Summary: Skype is free Internet telephony that just works

Group: Applications/Internet
License: Commercial
URL: http://www.skype.com
Source0: http://download.skype.com/linux/%{name}_static-%{version}.tar.bz2

BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildArch: i586

Requires: libglib-2.0.so.0
Requires: qt4 >= 4.2
Requires: libQtCore.so.4
Requires: libz.so.1
Requires: libasound.so.2
Requires: libX11.so.6
Requires: libXv.so.1
Requires: libXss.so.1

Provides: %{name} = %{version}-%{release}

Skype - Take a deep breath

Skype is a little piece of software that lets you make free calls
to anyone else on Skype, anywhere in the world. And even though
the calls are free, they are really excellent quality.

 * Make free Skype-to-Skype calls to anyone else, anywhere in the world.
 * Call ordinary phones and mobiles at pretty cheap rates per minute.
 * Group chat with up to 100 people or conference call with up to nine others.
 * See who you are talking to with free video calls.
 * Free to download.

%setup -qn %{name}_static-%{version}
rm -rf %{buildroot}
mkdir -p %{buildroot}%{_datadir}/%{name}
mkdir -p %{buildroot}%{_datadir}/applications
mkdir -p %{buildroot}%{_datadir}/icons
mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_sysconfdir}/dbus-1/system.d
cp -a ./* %{buildroot}%{_datadir}/%{name}
mv %{buildroot}%{_datadir}/%{name}/%{name}.desktop %{buildroot}%{_datadir}/applications
cp %{buildroot}%{_datadir}/%{name}/icons/SkypeBlue_32x32.png %{buildroot}%{_datadir}/icons/%{name}.png
mv %{buildroot}%{_datadir}/%{name}/%{name} %{buildroot}%{_bindir}
mv %{buildroot}%{_datadir}/%{name}/%{name}.conf %{buildroot}%{_sysconfdir}/dbus-1/system.d
rm -f %{buildroot}%{_datadir}/%{name}/{LICENSE,README}

rm -rf %{buildroot}

%config %{_sysconfdir}/dbus-1/system.d/%{name}.conf

* Tue Mar 22 2011 Alexander Kirillov <nevis2us at infoline.su>
- Fixed dependencies

* Mon Mar 21 2011 Alexander Kirillov <nevis2us at infoline.su>
- Initial spec file for EL5

More information about the users mailing list