]>
Commit | Line | Data |
---|---|---|
87cee7c0 ER |
1 | Summary: Command Line Interactive and Scriptable Application to access MEGA |
2 | Name: megacmd | |
3 | Version: 0.9.8 | |
4 | Release: 0.1 | |
5 | License: Freeware | |
6 | Group: Applications | |
7 | Source0: https://github.com/meganz/MEGAcmd/archive/%{version}/%{name}-%{version}.tar.gz | |
8 | Source1: https://github.com/meganz/sdk/archive/5d211ac6/mega-sdk-v3.2.8-209-g5d211ac6.tar.gz | |
9 | URL: https://mega.nz/ | |
10 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
11 | ||
12 | %description | |
13 | MEGAcmd provides non UI access to MEGA services. It intends to offer | |
14 | all the functionality with your MEGA account via commands. It features | |
15 | synchronization and backup of local folders into your MEGA account. | |
16 | ||
17 | %prep | |
18 | %setup -q -n MEGAcmd-%{version} -a1 | |
19 | mv sdk-*/* sdk | |
20 | %patch0 -p1 | |
21 | ||
22 | %build | |
23 | autoreconf -vif | |
24 | %configure \ | |
25 | --disable-silent-rules | |
26 | %{__make} | |
27 | ||
28 | %install | |
29 | rm -rf $RPM_BUILD_ROOT | |
30 | %{__make} install \ | |
31 | DESTDIR=$RPM_BUILD_ROOT | |
32 | ||
33 | %clean | |
34 | rm -rf $RPM_BUILD_ROOT | |
35 | ||
36 | %files | |
37 | %defattr(644,root,root,755) | |
38 | %doc README.md CREDITS.md LICENCE.md | |
39 | %attr(755,root,root) %{_bindir}/%{name} |