commit b5641db6abc85a2cd6890a54d2285cf041cc079a71b7920e8c5670dc8bdf4ca3 Author: OBS User mrdocs Date: Sat Aug 8 06:25:57 2015 +0000 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 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..8581d62 --- /dev/null +++ b/_service @@ -0,0 +1,3 @@ + + + diff --git a/_service:download_files:megatools-1.9.95.tar.gz b/_service:download_files:megatools-1.9.95.tar.gz new file mode 100644 index 0000000..2ee1b99 --- /dev/null +++ b/_service:download_files:megatools-1.9.95.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a46a560c8769b40f073fd27b321d6b89f8ac0f0ca73e6ed83047c2619fe6b437 +size 450706 diff --git a/megatools.changes b/megatools.changes new file mode 100644 index 0000000..2d7523b --- /dev/null +++ b/megatools.changes @@ -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. + diff --git a/megatools.spec b/megatools.spec new file mode 100644 index 0000000..d06376a --- /dev/null +++ b/megatools.spec @@ -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