Search
SailfishOS Open Build Service
>
Projects
>
home:saigkill
>
skype
> skype.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File skype.spec of Package skype
# # spec file for package skype # # Copyright (c) 2013 Sascha Manns <Sascha.Manns@directbox.com> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Name: skype Summary: Voice over IP Solution Version: 4.2.0.11 Release: 1 Source0: %{name}-%{version}.tar.bz2 License: Proprietary Group: Communications/Telephony and IM Url: http://www.skype.com/en/download-skype ExclusiveArch: i586 BuildRequires: kdelibs fdupes BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This package provides the original skype application from the skype website. %prep %setup -n %{name}-%{version} sed -i 's/\r$//' LICENSE %build # do nothing %install # skype.conf mkdir -p %{buildroot}/etc/dbus-1/system.d cp skype.conf %{buildroot}/etc/dbus-1/system.d/ # documentation mkdir -p %{buildroot}/%{_datadir}/doc/skype cp LICENSE README third-party_attributions.txt %{buildroot}%{_datadir}/doc/skype # icons mkdir -p %{buildroot}%{_datadir}/icons mkdir -p %{buildroot}%{_datadir}/pixmaps pushd icons cp SkypeBlue_32x32.png %{buildroot}%{_datadir}/icons/skype.png cp SkypeBlue_32x32.png %{buildroot}%{_datadir}/pixmaps/skype.png for i in 16 32 48 do mkdir -p %{buildroot}%{_datadir}/icons/hicolor/"$i"x"$i"/apps cp SkypeBlue_"$i"x"$i".png %{buildroot}%{_datadir}/icons/hicolor/"$i"x"$i"/apps/skype.png done popd # lang mkdir -p %{buildroot}/%{_datadir}/%{name}/lang pushd lang cp * %{buildroot}%{_datadir}/skype/lang popd # sounds pushd sounds mkdir -p %{buildroot}/%{_datadir}/%{name}/sounds cp * %{buildroot}%{_datadir}/skype/sounds popd # avatars pushd avatars mkdir -p %{buildroot}%{_datadir}/skype/avatars cp * %{buildroot}%{_datadir}/skype/avatars popd # binary mkdir -p %{buildroot}%{_bindir} cp skype %{buildroot}%{_bindir} # desktop file mkdir -p %{buildroot}%{_datadir}/applications cp skype.desktop %{buildroot}%{_datadir}/applications %fdupes -s %{buildroot} %fdupes -s %{buildroot}%{_datadir}/doc/skype %post kbuildsycoca4 >/dev/null 2>/dev/null %postun kbuildsycoca4 >/dev/null 2>/dev/null %files %defattr(-,root,root) %doc LICENSE README third-party_attributions.txt %config /etc/dbus-1/system.d/skype.conf %{_datadir}/doc/skype/* %{_datadir}/icons/skype.png %{_datadir}/pixmaps/skype.png %{_datadir}/icons/hicolor/* %{_datadir}/skype/lang/* %{_datadir}/%{name}/sounds/* %{_datadir}/skype/avatars/* %{_bindir}/skype %{_datadir}/applications/skype.desktop %changelog