From 87cee7c0d75388842d716f2ec1fc9474c42b8c95 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Sun, 18 Mar 2018 01:20:56 +0200 Subject: [PATCH] new, version 0.9.8 --- megacmd.spec | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 megacmd.spec diff --git a/megacmd.spec b/megacmd.spec new file mode 100644 index 0000000..e53c138 --- /dev/null +++ b/megacmd.spec @@ -0,0 +1,39 @@ +Summary: Command Line Interactive and Scriptable Application to access MEGA +Name: megacmd +Version: 0.9.8 +Release: 0.1 +License: Freeware +Group: Applications +Source0: https://github.com/meganz/MEGAcmd/archive/%{version}/%{name}-%{version}.tar.gz +Source1: https://github.com/meganz/sdk/archive/5d211ac6/mega-sdk-v3.2.8-209-g5d211ac6.tar.gz +URL: https://mega.nz/ +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +MEGAcmd provides non UI access to MEGA services. It intends to offer +all the functionality with your MEGA account via commands. It features +synchronization and backup of local folders into your MEGA account. + +%prep +%setup -q -n MEGAcmd-%{version} -a1 +mv sdk-*/* sdk +%patch0 -p1 + +%build +autoreconf -vif +%configure \ + --disable-silent-rules +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc README.md CREDITS.md LICENCE.md +%attr(755,root,root) %{_bindir}/%{name} -- 2.43.0