2015-08-08 06:25:57 +00:00
|
|
|
#
|
|
|
|
# spec file for package megatools
|
|
|
|
#
|
2023-05-28 12:24:27 +00:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2015-08-08 06:25:57 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2020-07-03 09:40:07 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2015-08-08 06:25:57 +00:00
|
|
|
#
|
|
|
|
|
2023-05-28 12:24:27 +00:00
|
|
|
%global snapshot 20230212
|
2015-08-08 06:25:57 +00:00
|
|
|
|
|
|
|
Name: megatools
|
2023-05-28 12:24:27 +00:00
|
|
|
Version: 1.11.1
|
2015-08-08 06:25:57 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: CLI client for mega.co.nz
|
2020-07-03 09:40:07 +00:00
|
|
|
License: GPL-2.0-or-later
|
2015-08-08 06:25:57 +00:00
|
|
|
Group: Productivity/Networking/File-Sharing
|
2020-07-03 09:40:07 +00:00
|
|
|
URL: http://megatools.megous.com
|
2023-05-28 12:24:27 +00:00
|
|
|
Source0: %{name}-%{version}.%{snapshot}.tar.gz
|
|
|
|
Source1: %{name}-%{version}.%{snapshot}.tar.gz.asc
|
2020-07-03 09:40:07 +00:00
|
|
|
# Keyring obtained from https://xff.cz/key.txt
|
2017-07-24 14:26:32 +00:00
|
|
|
Source2: %{name}.keyring
|
|
|
|
BuildRequires: asciidoc
|
2023-05-28 12:24:27 +00:00
|
|
|
BuildRequires: docbook2X
|
2015-08-08 06:25:57 +00:00
|
|
|
BuildRequires: fuse-devel
|
2017-07-24 14:26:32 +00:00
|
|
|
BuildRequires: glib2-devel >= 2.32.0
|
2023-05-28 12:24:27 +00:00
|
|
|
BuildRequires: libcurl-devel >= 7.85.0
|
2015-08-08 06:25:57 +00:00
|
|
|
BuildRequires: libopenssl-devel
|
2023-05-28 12:24:27 +00:00
|
|
|
BuildRequires: meson
|
|
|
|
Requires: curl >= 7.85.0
|
2015-08-08 06:25:57 +00:00
|
|
|
Requires: fuse
|
|
|
|
Requires: glib-networking >= 2.32.0
|
|
|
|
Requires: openssl
|
|
|
|
|
|
|
|
%description -n %{name}
|
|
|
|
Megatools allow you to copy individual files as well as entire directory trees
|
|
|
|
to and from the cloud. You can also perform streaming downloads for example to
|
|
|
|
preview videos and audio files, without needing to download the entire file.
|
2023-05-28 12:24:27 +00:00
|
|
|
|
|
|
|
You can register an account using a "megareg" tool, with the benefit of having
|
|
|
|
true control of your encryption keys.
|
|
|
|
|
|
|
|
Megatools are robust and optimized for fast operation - as fast as Mega servers
|
|
|
|
allow. Memory requirements and CPU utilization are kept at minimum.
|
2015-08-08 06:25:57 +00:00
|
|
|
|
|
|
|
%prep
|
2023-05-28 12:24:27 +00:00
|
|
|
%autosetup -n %{name}-%{version}.%{snapshot}
|
|
|
|
|
2015-08-08 06:25:57 +00:00
|
|
|
%build
|
2023-05-28 12:24:27 +00:00
|
|
|
%meson
|
|
|
|
%meson_build
|
2015-08-08 06:25:57 +00:00
|
|
|
|
|
|
|
%install
|
2023-05-28 12:24:27 +00:00
|
|
|
%meson_install
|
|
|
|
|
|
|
|
%check
|
|
|
|
%meson_test
|
|
|
|
%ldconfig_scriptlets
|
2015-08-08 06:25:57 +00:00
|
|
|
|
2023-05-28 12:24:27 +00:00
|
|
|
%files
|
|
|
|
%license LICENSE
|
|
|
|
%doc NEWS README
|
2015-08-08 06:25:57 +00:00
|
|
|
%{_bindir}/mega*
|
2023-05-28 12:24:27 +00:00
|
|
|
%{_mandir}/man1/mega*.1.*
|
|
|
|
%{_mandir}/man5/mega*.5.*
|
|
|
|
%exclude %{_datadir}/doc/%{name}/*
|
2015-08-08 06:25:57 +00:00
|
|
|
|
|
|
|
%changelog
|