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