Package skype-userinstall: Specfile

Name: skype-userinstall
Version: 8.45.0.41
Release: alt1

Summary: Skype pre-installation scripts
License: public domain; CC-BY-ND (skype icon)
Group: System/Configuration/Other

Url: http://altlinux.org/skype
Source: %name-%version.tar
ExclusiveArch: x86_64

Requires: skype-preinstall >= 0.1-alt2
Requires: userinstall-helper >= 0.2

%define uinstdir %_cachedir/userinstall

%description
Install this package if you need a script to help install
Skype %version package for SUSE on this system.

%prep
%setup

%install
install -pDm644 skypeforlinux.desktop %buildroot%_desktopdir/skypeforlinux.desktop
install -pDm644 skypeforlinux.png %buildroot%_pixmapsdir/skypeforlinux.png
install -pDm755 skypeforlinux.sh %buildroot%_bindir/skypeforlinux

mkdir -p %buildroot%uinstdir
cp -a checksums %buildroot%uinstdir/goodsums

%files
# this one will clobber itself during real skype deployment
# that shouldn't get clobbered again by this package upgrade
%config(noreplace) %_bindir/skypeforlinux
%config(noreplace) %_desktopdir/skypeforlinux.desktop
%config(noreplace) %_pixmapsdir/skypeforlinux.png
%uinstdir/goodsums/*

%changelog
* Thu May 16 2019 Andrey Cherepanov <cas@altlinux.org> 8.45.0.41-alt1
- New version.

* Fri Jan 15 2016 Michael Shigorin <mike@altlinux.org> 4.3.0.37-alt3
- thus not noarch anymore

* Fri Jan 15 2016 Michael Shigorin <mike@altlinux.org> 4.3.0.37-alt2
- x86-only (x86_64 gets arepo)

* Wed Oct 28 2015 Michael Shigorin <mike@altlinux.org> 4.3.0.37-alt1
- initial release based on vmware-view-userinstall 3.4.0-alt2