]> git.pld-linux.org Git - packages/megacmd.git/blob - megacmd.spec
d48e545fac4a04eaeb60e8d1fd75a1c885232d29
[packages/megacmd.git] / megacmd.spec
1 Summary:        Command Line Interactive and Scriptable Application to access MEGA
2 Name:           megacmd
3 Version:        1.0.0
4 Release:        1
5 License:        Freeware
6 Group:          Applications
7 Source0:        https://github.com/meganz/MEGAcmd/archive/%{version}/%{name}-%{version}.tar.gz
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
11 Patch0:         libtool.patch
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}
This page took 0.0777600000000001 seconds and 2 git commands to generate.