File rustdesk.spec of Package rustdesk
#
# spec file for package rustdesk
#
# Copyright (c) 2022 SUSE LLC
#
# 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.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: rustdesk
Version: 1.3.1
Release: 0
Summary: Remote desktop software, written in Rust
License: AGPL-3.0
Group: Productivity/Networking/Other
URL: https://rustdesk.com/
Source0: %{name}-%{version}-x86_64.AppImage
Source1: %{name}.desktop
Source2: %{name}.png
ExclusiveArch: x86_64
AutoReqProv: no
%description
Open source virtual / remote desktop infrastructure for everyone!
The open source TeamViewer alternative.
Display and control your PC and Android devices from anywhere at anytime.
%build
# Nothing to build
%install
install -Dm 0755 %{SOURCE0} %{buildroot}%{_libdir}/%{name}-%{version}-linux-x86_64.AppImage
install -Dm 0644 %{SOURCE1} %{buildroot}/%{_datadir}/applications/%{name}.desktop
install -Dm 0644 %{SOURCE2} %{buildroot}/%{_datadir}/pixmaps/%{name}.png
mkdir -p %{buildroot}/%{_bindir}
ln -fs %{_libdir}/%{name}-%{version}-linux-x86_64.AppImage %{buildroot}/%{_bindir}/%{name}
%files
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.png
%{_libdir}/%{name}-%{version}-linux-x86_64.AppImage
%changelog