]> git.pld-linux.org Git - packages/megacmd.git/commitdiff
up to 1.1.0 auto/th/megacmd-1.1.0-1
authorElan Ruusamäe <glen@pld-linux.org>
Sat, 22 Jun 2019 21:23:27 +0000 (00:23 +0300)
committerElan Ruusamäe <glen@pld-linux.org>
Sat, 22 Jun 2019 21:33:37 +0000 (00:33 +0300)
libtool.patch [deleted file]
megacmd.spec

diff --git a/libtool.patch b/libtool.patch
deleted file mode 100644 (file)
index 863807a..0000000
+++ /dev/null
@@ -1,93 +0,0 @@
-upstream:
-- https://github.com/meganz/MEGAcmd/pull/128
-- https://github.com/meganz/sdk/pull/1288
-
---- MEGAcmd-0.9.8/sdk/configure.ac~    2018-03-17 22:07:36.000000000 +0200
-+++ MEGAcmd-0.9.8/sdk/configure.ac     2018-03-17 22:08:09.737558496 +0200
-@@ -154,7 +154,8 @@
- WIN32=no
- DARWIN=no
- ANDROID=no
--AC_MSG_CHECKING([if building for Win32 platform])
-+LINUX=no
-+AC_MSG_CHECKING([platform options])
- case $host in
-   *-*-cygwin*)
-     LIBS_EXTRA="-luser32 -lkernel32"
-@@ -201,7 +201,10 @@
-     ;;
-   *-android*)
-     ANDROID=yes
--    ;;    
-+    ;;
-+  *-linux*)
-+    LINUX=yes
-+    ;;
-   *)
-     LIBS_EXTRA=""
-     ;;
-@@ -210,6 +213,7 @@
- AM_CONDITIONAL([WIN32], [test "${WIN32}" = "yes"])
- AM_CONDITIONAL([DARWIN], [test "${DARWIN}" = "yes"])
- AM_CONDITIONAL([ANDROID], [test "${ANDROID}" = "yes"])
-+AM_CONDITIONAL([LINUX], [test "${LINUX}" = "yes"])
- AC_SUBST(LIBS_EXTRA)
---- MEGAcmd-0.9.8/sdk/Makefile.am~     2018-03-17 21:18:50.000000000 +0200
-+++ MEGAcmd-0.9.8/sdk/Makefile.am      2018-03-17 21:18:53.815527745 +0200
-@@ -42,6 +42,10 @@
- AM_LIBTOOLFLAGS="--tag=CXX"
- endif
-+if LINUX
-+AM_LIBTOOLFLAGS="--tag=CXX"
-+endif
-+
- VERSION_INFO=$(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
- CLEANFILES=
---- MEGAcmd-1.0.0/configure.ac~        2018-09-27 10:53:46.000000000 +0300
-+++ MEGAcmd-1.0.0/configure.ac 2018-11-27 17:15:52.861941207 +0200
-@@ -157,6 +157,7 @@
- WIN32=no
- DARWIN=no
- ANDROID=no
-+LINUX=no
- AC_MSG_CHECKING([if building for Win32 platform])
- case $host in
-   *-*-cygwin*)
-@@ -176,6 +177,9 @@
-   *-android*)
-     ANDROID=yes
-     ;;    
-+  *-linux*)
-+    LINUX=yes
-+    ;;
-   *)
-     LIBS_EXTRA=""
-     ;;
-@@ -184,9 +188,7 @@
- AM_CONDITIONAL([WIN32], [test "${WIN32}" = "yes"])
- AM_CONDITIONAL([DARWIN], [test "${DARWIN}" = "yes"])
- AM_CONDITIONAL([ANDROID], [test "${ANDROID}" = "yes"])
--
--
--
-+AM_CONDITIONAL([LINUX], [test "${LINUX}" = "yes"])
- SAVE_LDFLAGS=$LDFLAGS
- SAVE_CXXFLAGS=$CXXFLAGS
---- megacmd/Makefile.am~       2018-03-17 21:54:10.866756361 +0200
-+++ megacmd/Makefile.am        2018-11-27 17:11:24.444491866 +0200
-@@ -35,6 +35,10 @@
- AM_LIBTOOLFLAGS="--tag=CXX"
- endif
-+if LINUX
-+AM_LIBTOOLFLAGS="--tag=CXX"
-+endif
-+
- VERSION_INFO=$(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
- CLEANFILES=
index 1932cb526ff018ed9231e34112a9a58c8fdb1ef5..7e0af4a04e4da9291a8dfb534b1642805988afc7 100644 (file)
@@ -7,16 +7,15 @@
 
 Summary:       Command Line Interactive and Scriptable Application to access MEGA
 Name:          megacmd
-Version:       1.0.0
-Release:       3
+Version:       1.1.0
+Release:       1
 # https://github.com/meganz/MEGAcmd/commit/b366c77370c277223be123e05e5ef15fafbce185#r31261647
 License:       BSD 2-Clause "Simplified" License
 Group:         Applications
-Source0:       https://github.com/meganz/MEGAcmd/archive/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 8af6215ce167b15b92f8683c4c1caa7c
-Source1:       https://github.com/meganz/sdk/archive/f3a3b810/mega-sdk-v3.4.0-216-gf3a3b810.tar.gz
-# Source1-md5: dccc60aa2ac5680a719b74bc0968984f
-Patch0:                libtool.patch
+Source0:       https://github.com/meganz/MEGAcmd/archive/%{version}_Linux/%{name}-%{version}.tar.gz
+# Source0-md5: 533eaddbb893d5e1a614109cbb78c9a9
+Source1:       https://github.com/meganz/sdk/archive/2c7713d/mega-sdk-v3.4.8.tar.gz
+# Source1-md5: 73218bcc1c5c1cbfbaf6923ad5938427
 URL:           https://mega.nz/
 %{?with_freeimage:BuildRequires:       FreeImage-devel}
 BuildRequires: autoconf
@@ -74,9 +73,8 @@ Group:                Libraries
 megafuse.
 
 %prep
-%setup -q -n MEGAcmd-%{version} -a1
+%setup -q -n MEGAcmd-%{version}_Linux -a1
 mv sdk-*/* sdk
-%patch0 -p1
 
 %build
 autoreconf -vif
@@ -109,6 +107,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/mega-attr
 %attr(755,root,root) %{_bindir}/mega-backup
 %attr(755,root,root) %{_bindir}/mega-cancel
+%attr(755,root,root) %{_bindir}/mega-cat
 %attr(755,root,root) %{_bindir}/mega-cd
 %attr(755,root,root) %{_bindir}/mega-cmd
 %attr(755,root,root) %{_bindir}/mega-cmd-server
@@ -117,6 +116,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/mega-cp
 %attr(755,root,root) %{_bindir}/mega-debug
 %attr(755,root,root) %{_bindir}/mega-deleteversions
+%attr(755,root,root) %{_bindir}/mega-df
 %attr(755,root,root) %{_bindir}/mega-du
 %attr(755,root,root) %{_bindir}/mega-errorcode
 %attr(755,root,root) %{_bindir}/mega-exclude
@@ -138,6 +138,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/mega-logout
 %attr(755,root,root) %{_bindir}/mega-lpwd
 %attr(755,root,root) %{_bindir}/mega-ls
+%attr(755,root,root) %{_bindir}/mega-mediainfo
 %attr(755,root,root) %{_bindir}/mega-mkdir
 %attr(755,root,root) %{_bindir}/mega-mount
 %attr(755,root,root) %{_bindir}/mega-mv
@@ -157,6 +158,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/mega-sync
 %attr(755,root,root) %{_bindir}/mega-thumbnail
 %attr(755,root,root) %{_bindir}/mega-transfers
+%attr(755,root,root) %{_bindir}/mega-tree
 %attr(755,root,root) %{_bindir}/mega-userattr
 %attr(755,root,root) %{_bindir}/mega-users
 %attr(755,root,root) %{_bindir}/mega-version
@@ -174,7 +176,7 @@ rm -rf $RPM_BUILD_ROOT
 %files libs
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libmega.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libmega.so.30401
+%attr(755,root,root) %ghost %{_libdir}/libmega.so.30408
 
 %files devel
 %defattr(644,root,root,755)
This page took 0.104505 seconds and 4 git commands to generate.