Name: megatools Version: 1.9.98 Release: 1%{?dist} Summary: Command line client for MEGA License: GPLv3+ 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 BuildRequires: fuse-devel, libcurl-devel, openssl-devel, glib2-devel, gmp-devel BuildRequires: gobject-introspection-devel, asciidoc %description Megatools is a collection of programs for accessing Mega 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. You can register 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. %prep %setup -q %{name}-%{version} %build %configure --disable-silent-rules sed -i 's/\(GLIB_CFLAGS = \)-pthread/\1/' Makefile export LD_LIBRARY_PATH=$PWD/.libs make %{?_smp_mflags} %install make DESTDIR=$RPM_BUILD_ROOT install find $RPM_BUILD_ROOT -name "*" -exec chrpath --delete {} \; 2>/dev/null find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} ';' find $RPM_BUILD_ROOT -size "0" -exec rm -f {} ';' rm $RPM_BUILD_ROOT%{_docdir}/%{name}/INSTALL %check make check %post -n %{name} -p /sbin/ldconfig %postun -n %{name} -p /sbin/ldconfig %files %doc HACKING NEWS README LICENSE %license LICENSE %{_bindir}/mega* %{_mandir}/man1/mega*.1.gz %{_mandir}/man5/megarc.5.gz %{_mandir}/man7/%{name}.7.gz %changelog * Sat Nov 5 2016 Gerald Cox 1.9.98-1 - Upstream release rhbz#1391793 * Tue Feb 2 2016 Gerald Cox - 1.9.97-1 - Upstream release rhbz#1304133 * Sat Jan 2 2016 Gerald Cox - 1.9.96-1 - Upstream release rhbz#1295096 * Mon Jun 15 2015 Gerald Cox - 1.9.95-4 - Implement recommendations from rhbz#1228924 comment 8. * Mon Jun 15 2015 Gerald Cox - 1.9.95-3 - Implement recommendations from rhbz#1228924 comment 6. * Fri Jun 12 2015 Gerald Cox - 1.9.95-2 - Implement recommendations from rhbz#1228924 comment 2. * Tue May 26 2015 Gerald Cox - 1.9.95-1 - Initial release