]> git.pld-linux.org Git - packages/megacmd.git/blob - megacmd.spec
1979f558b0dedbedf0ab693b8cef38cd6bcf5417
[packages/megacmd.git] / megacmd.spec
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 Patch0:         libtool.patch
10 URL:            https://mega.nz/
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %description
14 MEGAcmd provides non UI access to MEGA services. It intends to offer
15 all the functionality with your MEGA account via commands. It features
16 synchronization and backup of local folders into your MEGA account.
17
18 %prep
19 %setup -q -n MEGAcmd-%{version} -a1
20 mv sdk-*/* sdk
21 %patch0 -p1
22
23 %build
24 autoreconf -vif
25 %configure \
26         --disable-silent-rules
27 %{__make}
28
29 %install
30 rm -rf $RPM_BUILD_ROOT
31 %{__make} install \
32         DESTDIR=$RPM_BUILD_ROOT
33
34 %clean
35 rm -rf $RPM_BUILD_ROOT
36
37 %files
38 %defattr(644,root,root,755)
39 %doc README.md CREDITS.md LICENCE.md
40 %attr(755,root,root) %{_bindir}/%{name}
This page took 0.065922 seconds and 2 git commands to generate.