forked from pool/megatools
* Updated to version 1.9.98 - spec file cleaned - removed libmega and devel packages (upstream change) - new build requirement asciidoc - updated keyring file with correct public key 0x77CFEFF1 * New features: - Support upload/download speed limit settings - Support socks proxy - Improved progress reporting - Support for OpenSSL 1.1.x * Removals: - Remove undocummented --abort-on-error option. Tools now always report errors through exit status. - Remove libmega.so public library support and a lot of unused code that was planned to be used for 2.0 - Remove megamv (it was never implemented and confused users) - Remove megafs (it was just an experiment and confused users) * Cleanups: - Cleanup build system a bit - Cleanup CLI option handling, improved --help output * Fixes: - Enable automatic decompression (CURLOPT_ACCEPT_ENCODING) (by protomouse) (This finally fixes the problem with HTTP compression.) - Exit status from all the tools is now correctly reported - Fix syncing of symlinked files - Support very long passwords in the password prompt (up to 1024 chars) OBS-URL: https://build.opensuse.org/request/show/511978 OBS-URL: https://build.opensuse.org/package/show/network:utilities/megatools?expand=0&rev=4
66 lines
2.0 KiB
RPMSpec
66 lines
2.0 KiB
RPMSpec
#
|
|
# spec file for package megatools
|
|
#
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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 http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
# See also http://en.opensuse.org/openSUSE:Specfile_guidelines
|
|
Name: megatools
|
|
Version: 1.9.98
|
|
Release: 0
|
|
Summary: CLI client for mega.co.nz
|
|
License: GPL-2.0
|
|
Group: Productivity/Networking/File-Sharing
|
|
Url: http://megatools.megous.com
|
|
Source0: http://megatools.megous.com/builds/%{name}-%{version}.tar.gz
|
|
Source1: http://megatools.megous.com/builds/%{name}-%{version}.tar.gz.asc
|
|
Source2: %{name}.keyring
|
|
BuildRequires: asciidoc
|
|
BuildRequires: fuse-devel
|
|
BuildRequires: glib2-devel >= 2.32.0
|
|
BuildRequires: libcurl-devel
|
|
BuildRequires: libopenssl-devel
|
|
BuildRequires: pcre-devel
|
|
Requires: curl
|
|
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.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
%make_install
|
|
|
|
%files -n %{name}
|
|
%{_bindir}/mega*
|
|
%{_datadir}/doc/%{name}
|
|
%{_mandir}/man1/mega*
|
|
%{_mandir}/man5/mega*
|
|
%{_mandir}/man7/mega*
|
|
%exclude %{_datadir}/doc/%{name}/INSTALL
|
|
%exclude %{_datadir}/doc/%{name}/TODO
|
|
|
|
%changelog
|