diff --git a/README.md b/README.md index 539b341..c6706f7 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # megatools +Command line client application for Mega Cloud service. + diff --git a/megatools.spec b/megatools.spec new file mode 100644 index 0000000..8809269 --- /dev/null +++ b/megatools.spec @@ -0,0 +1,60 @@ +Name: megatools +Version: 1.10.3 +Release: 1mamba +Summary: Command line client application for Mega Cloud service +Group: Applications/Networking +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://megatools.megous.com/ +Source: https://megatools.megous.com/builds/megatools-%{version}.tar.gz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: ldconfig +BuildRequires: libcurl-devel +BuildRequires: libglib-devel +BuildRequires: libopenssl-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Command line client application for Mega Cloud service. + +%debug_package + +%prep +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/megacopy +%{_bindir}/megadf +%{_bindir}/megadl +%{_bindir}/megaget +%{_bindir}/megals +%{_bindir}/megamkdir +%{_bindir}/megaput +%{_bindir}/megareg +%{_bindir}/megarm +%dir %{_datadir}/doc/megatools +%{_datadir}/doc/megatools/* +%{_mandir}/man1/mega*.1* +%{_mandir}/man5/mega*.5* +%{_mandir}/man7/megatools.7* +%doc LICENSE + +%changelog +* Sun Jul 19 2020 Silvan Calarco 1.10.3-1mamba +- package created using the webbuild interface