File cryptomator-bin.spec of Package cryptomator-bin
#
# spec file for package cryptomator-bin
#
# 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: cryptomator-bin
Version: 1.17.0
Release: 0
Summary: Multi-platform transparent client-side encryption of your files in the cloud
License: GPL-3.0
Group: Productivity/Security
URL: https://cryptomator.org/
Source0: https://github.com/cryptomator/cryptomator/releases/download/%{version}/cryptomator-%{version}-x86_64.AppImage
Source1: https://github.com/cryptomator/cryptomator/blob/develop/LICENSE.txt
Source2: https://github.com/cryptomator/cryptomator/blob/develop/README.md
Source3: cryptomator.desktop
Source4: cryptomator.png
ExclusiveArch: x86_64
Provides: cryptomator
Provides: Cryptomator
%description
Cryptomator offers multi-platform transparent client-side encryption of your files in the cloud.
%prep
install -m 644 %{SOURCE1} .
install -m 644 %{SOURCE2} .
%build
# Nothing to build
%install
install -Dm 0755 %{SOURCE0} %{buildroot}%{_libdir}/cryptomator-%{version}-linux-x86_64.AppImage
install -Dm 0644 %{SOURCE3} %{buildroot}/%{_datadir}/applications/cryptomator.desktop
install -Dm 0644 %{SOURCE4} %{buildroot}/%{_datadir}/pixmaps/cryptomator.png
mkdir -p %{buildroot}/%{_bindir}
ln -fs %{_libdir}/cryptomator-%{version}-linux-x86_64.AppImage %{buildroot}/%{_bindir}/cryptomator
%files
%license LICENSE.txt
%doc README.md
%{_bindir}/cryptomator
%{_datadir}/applications/cryptomator.desktop
%{_datadir}/pixmaps/cryptomator.png
%{_libdir}/cryptomator-%{version}-linux-x86_64.AppImage
%changelog