megatools/megatools.spec

61 lines
1.4 KiB
RPMSpec
Raw Permalink Normal View History

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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 1.10.3-1mamba
- package created using the webbuild interface