diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..f087b42 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.tar.gz filter=lfs diff=lfs merge=lfs -text diff --git a/seadrive-daemon.spec b/seadrive-daemon.spec new file mode 100644 index 0000000..dd7307b --- /dev/null +++ b/seadrive-daemon.spec @@ -0,0 +1,76 @@ +%global _hardened_build 1 + +%global gh_name seadrive-fuse +Name: seadrive-daemon +Version: 2.0.6 +Release: 1%{?dist} +Summary: Daemon part of Seafile Drive client + +License: GPLv3 +URL: https://seafile.com +Source0: https://github.com/haiwen/%{gh_name}/archive/v%{version}/%{name}-%{version}.tar.gz + +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: gcc +BuildRequires: intltool +BuildRequires: libtool +BuildRequires: make + +BuildRequires: pkgconfig(fuse) +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(gobject-2.0) +BuildRequires: pkgconfig(jansson) +BuildRequires: pkgconfig(libcurl) +BuildRequires: pkgconfig(libevent) +BuildRequires: pkgconfig(libsearpc) +BuildRequires: pkgconfig(openssl) +BuildRequires: pkgconfig(sqlite3) +BuildRequires: pkgconfig(uuid) +BuildRequires: pkgconfig(zlib) + +%description +Seafile is a next-generation open source cloud storage system, with advanced +support for file syncing, privacy protection and teamwork. + +Seafile allows users to create groups with file syncing, wiki, and discussion +to enable easy collaboration around documents within a team. + +This package contains the daemon part of Seafile Drive client. The Drive +client enables you to access files on the server without syncing to local +disk. + + +%package -n python3-seadrive +Summary: Python API for Seafile Drive client daemon + +BuildRequires: python3-devel +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description -n python3-seadrive +%{summary}. + + +%prep +%autosetup -n %{gh_name}-%{version} + + +%build +./autogen.sh +%configure --disable-static PYTHON=%{__python3} +%make_build + + +%install +%make_install + +%files +%license LICENSE +%{_bindir}/seadrive + +%files -n python3-seadrive +%{python3_sitearch}/seadrive/ + +%changelog +* Sun Nov 01 2020 Aleksei Bavshin - 2.0.6-1 +- Initial import (#1895548) diff --git a/seadrive-fuse-2.0.6.tar.gz b/seadrive-fuse-2.0.6.tar.gz new file mode 100644 index 0000000..ea1bcb5 --- /dev/null +++ b/seadrive-fuse-2.0.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2d86872ee76a6aa9fec61e8ca5f7172654c7b772662293a64596b040cf983884 +size 199874