[packages/megasync] new, version 3.6.0.0

glen glen at pld-linux.org
Sat Mar 17 19:13:41 CET 2018


commit 7fd4cba4069c11a8c7374ca30614bf8219e63cde
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Sat Mar 17 20:01:30 2018 +0200

    new, version 3.6.0.0
    
    spec based from  in repo file
    build/templates/MEGAsync/megasync.spec

 megasync.spec | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 72 insertions(+)
---
diff --git a/megasync.spec b/megasync.spec
new file mode 100644
index 0000000..5d4652d
--- /dev/null
+++ b/megasync.spec
@@ -0,0 +1,72 @@
+Summary:	Easy automated syncing between your computers and your MEGA Cloud Drive
+Name:		megasync
+Version:	3.6.0.0
+Release:	0.1
+License:	Freeware
+Group:		Applications
+Source0:	https://github.com/meganz/MEGAsync/archive/v%{version}_Linux/%{name}-%{version}.tar.gz
+URL:		https://mega.nz/
+BuildRequires:	Qt5Core-devel
+BuildRequires:	Qt5Svg-devel
+BuildRequires:	autoconf
+BuildRequires:	automake
+BuildRequires:	c-ares-devel
+BuildRequires:	cryptopp-devel
+BuildRequires:	desktop-file-utils
+BuildRequires:	hicolor-icon-theme
+BuildRequires:	libmediainfo-devel
+BuildRequires:	libstdc++-devel
+BuildRequires:	libtool
+BuildRequires:	libzen-devel
+BuildRequires:	openssl-devel
+BuildRequires:	sqlite3-devel
+BuildRequires:	unzip
+BuildRequires:	wget
+BuildRequires:	zlib-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Secure: Your data is encrypted end to end. Nobody can intercept it
+while in storage or in transit.
+
+Flexible: Sync any folder from your PC to any folder in the cloud.
+Sync any number of folders in parallel.
+
+Fast: Take advantage of MEGA's high-powered infrastructure and
+multi-connection transfers.
+
+Generous: Store up to 50 GB for free!
+
+%prep
+%setup -q -n MEGAsync-%{version}_Linux
+
+%build
+export DESKTOP_DESTDIR=$RPM_BUILD_ROOT%{_prefix}
+
+./configure -g
+
+# use system Crypto++ header files
+rm -r MEGASync/mega/bindings/qt/3rdparty/include/cryptopp
+qmake-qt5 DESTDIR=$RPM_BUILD_ROOT%{_bindir} THE_RPM_BUILD_ROOT=$RPM_BUILD_ROOT
+lrelease-qt5  MEGASync/MEGASync.pro
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+desktop-file-install \
+    --add-category="Network" \
+    --dir $RPM_BUILD_ROOT%{_desktopdir} \
+	$RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/%{name}
+%{_desktopdir}/megasync.desktop
+%{_iconsdir}/hicolor/*/*/mega.png
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/megasync.git/commitdiff/7fd4cba4069c11a8c7374ca30614bf8219e63cde



More information about the pld-cvs-commit mailing list