[sisyphus] Клиент megasync

Stas stas.grumbler на gmail.com
Вс Ноя 20 00:33:27 MSK 2016



On 19.11.2016 20:21, Aleksey Birukov wrote:
> Попытался на p7 установить клиент megasync (mega.nz <http://mega.nz>).
> После нескольких попыток перебора пакетов разработчиков и установки
> линков на библиотеки запустился исполняемый файл из версии
> megasync-Fedora_19.i686.rpm. Обычным способом rpm, естественно, не
> устанавливается.
>
> Может быть кто-то лучше способ подскажет? А если нет, может быть эта
> информация кому-то пригодится.

Способ лучше - сделать свой пакет, раз есть федоровский, можно на основе
его спека. Я делал себе для megatools, спек ниже.
(В репозитарии его нет, потому что я так и не прошёл всю процедуру входа
в команду)
================================
%def_disable glibtest

Name: megatools
Version: 1.9.97
Release: alt1
Summary: megatools - command line client application for https://mega.nz
License: GPLv2
Group: Networking/File transfer
Url: https://megatools.megous.com
# Also: https://github.com/megous/megatools/tree/1.9.97
Source0: %{url}/builds/%{name}-%{version}.tar.gz
Patch0: megatools-configure-rpath.patch

# Automatically added by buildreq on Sun Apr 10 2016
# optimized out: glib2-devel gnu-config libcom_err-devel libkrb5-devel
pkg-config
BuildRequires: libcurl-devel libfuse-devel libgio-devel libssl-devel
#Requires:

%description
Megatools is a collection of programs for accessing Mega cloud service
from a command line of your desktop or server.

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.
Megatools are robust and optimized for fast operation - as fast as Mega
servers allow. Memory requirements and CPU utilization are kept at
minimum.

Mega website can be found at http://mega.nz.
Megatools can be downloaded at http://megatools.megous.com

%prep
%setup
%patch0 -p0

%build
#sed -ri 's/^(hardcode_libdir_flag_spec|runpath_var)=.*/\1=/' m4/libtool.m4
%configure %{subst_enable glibtest}
%make_build

%install
%makeinstall_std

%files
%_bindir/megarm
%_bindir/megafs
%_bindir/megadl
%_bindir/megaget
%_bindir/megadf
%_bindir/megaput
%_bindir/megals
%_bindir/megareg
%_bindir/megacopy
%_bindir/megamkdir
%_mandir/man1/megaput.1*
%_mandir/man1/megals.1*
%_mandir/man1/megadl.1*
%_mandir/man1/megacopy.1*
%_mandir/man1/megafs.1*
%_mandir/man1/megaget.1*
%_mandir/man1/megarm.1*
%_mandir/man1/megamkdir.1*
%_mandir/man1/megareg.1*
%_mandir/man1/megadf.1*
%_mandir/man7/megatools.7*
%_mandir/man5/megarc.5*
%doc %_datadir/doc/megatools


#%files -n libmega
#%_libdir/libmega.so*

#%files -n libmega-devel
#%_includedir/mega

%changelog
* Wed Apr 13 2016 Stas Degtev <grumbler на altlinux.org> 1.9.97-alt1
- Initial build for ALT Linux
================================

-- 
Станислав Дёгтев
Служба "Ваш админ"
 Мои контакты:
 - jabber: grumbler на grumbler.org
 - email: stas.grumbler на gmail.com и stas на vashadmin.su
 - телефоны в Е-бурге +79045430461 и +79222112259

----------- следующая часть -----------
Вложение в формате HTML было удалено...
URL: <http://lists.altlinux.org/pipermail/sisyphus/attachments/20161120/07be678c/attachment-0001.html>


Подробная информация о списке рассылки Sisyphus