SHA256
1
0
forked from pool/megatools

Accepting request 320827 from home:sleep_walker

command line interface to mega.co.nz file sharing service

OBS-URL: https://build.opensuse.org/request/show/320827
OBS-URL: https://build.opensuse.org/package/show/network:utilities/megatools?expand=0&rev=1
This commit is contained in:
OBS User mrdocs 2015-08-08 06:25:57 +00:00 committed by Git OBS Bridge
commit b5641db6ab
6 changed files with 142 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
_service Normal file
View File

@ -0,0 +1,3 @@
<services>
<service name="download_files"/>
</services>

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a46a560c8769b40f073fd27b321d6b89f8ac0f0ca73e6ed83047c2619fe6b437
size 450706

26
megatools.changes Normal file
View File

@ -0,0 +1,26 @@
-------------------------------------------------------------------
Thu Aug 6 07:46:06 UTC 2015 - sleep_walker@opensuse.org
- remove static libraries
- clean-up the spec file manually and with spec-cleaner
-------------------------------------------------------------------
Thu Jul 30 12:09:44 UTC 2015 - yoshi314+obs@gmail.com
- bump to 1.9.95
-------------------------------------------------------------------
Fri Oct 24 08:22:49 UTC 2014 - oleg@grodno.ru
- Update to version 1.9.93
-------------------------------------------------------------------
Mon Aug 25 08:26:16 UTC 2014 - oleg@grodno.ru
Updated to version 1.9.92
-------------------------------------------------------------------
Sat Jul 6 21:11:00 UTC 2013 - oleg@grodno.ru
Megatools 1.9.91 released with bugfixes and all new man pages.

86
megatools.spec Normal file
View File

@ -0,0 +1,86 @@
#
# spec file for package megatools
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# See also http://en.opensuse.org/openSUSE:Specfile_guidelines
Name: megatools
Version: 1.9.95
Release: 0
Summary: CLI client for mega.co.nz
License: GPL-2.0
Group: Productivity/Networking/File-Sharing
Url: http://megatools.megous.com
Source0: http://megatools.megous.com/builds/%{name}-%{version}.tar.gz
BuildRequires: fuse-devel
BuildRequires: libcurl-devel
BuildRequires: libopenssl-devel
BuildRequires: pcre-devel
BuildRequires: glib2-devel >= 2.32.0
Requires: curl
Requires: fuse
Requires: glib-networking >= 2.32.0
Requires: openssl
%description -n %{name}
Megatools allow you to copy individual files as well as entire directory trees
to and from the cloud. You can also perform streaming downloads for example to
preview videos and audio files, without needing to download the entire file.
%package devel
Summary: Development files for %{name}
Group: Development/Tools/Other
Requires: %{name} = %{version}
Requires: glib2-devel >= 2.32.0
Requires: libcurl-devel
Requires: libopenssl-devel
%description devel
The %{name}-devel package contains libraries and header files for developing
applications that use %{name}
%prep
%setup -q
%build
%configure --prefix=%{_prefix}
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
rm -vf %{buildroot}%{_libdir}/libmega*.{a,la}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -n %{name}
%defattr(-,root,root)
%{_bindir}/mega*
%{_datadir}/doc/%{name}
%{_libdir}/libmega.so.*
%{_mandir}/man1/mega*
%{_mandir}/man5/mega*
%{_mandir}/man7/mega*
%exclude %{_datadir}/doc/%{name}/INSTALL
%files devel
%defattr(-,root,root)
%{_includedir}/mega
%{_libdir}/libmega.so
%{_libdir}/pkgconfig/libmega.pc
%changelog