seadrive-daemon/seadrive-daemon.spec

121 lines
3.2 KiB
RPMSpec

%global _hardened_build 1
%global gh_name seadrive-fuse
Name: seadrive-daemon
Version: 2.0.28
Release: 2%{?dist}
Summary: Daemon part of Seafile Drive client
License: GPLv3
URL: https://seafile.com
Source0: https://github.com/haiwen/%{gh_name}/archive/v%{version}/%{gh_name}-%{version}.tar.gz
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc
BuildRequires: intltool
BuildRequires: libtool
BuildRequires: make
%if 0%{?rhel} >= 9
BuildRequires: libwebsockets-devel
%endif
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 \
%if 0%{?rhel} < 9
--disable-ws \
%endif
PYTHON=%{__python3}
%make_build
%install
%make_install
%files
%license LICENSE
%{_bindir}/seadrive
%files -n python3-seadrive
%{python3_sitearch}/seadrive/
%changelog
* Mon Oct 23 2023 Daniel Berteaud <dbd@ehtrace.com> 2.0.28-2
- Only enable ws starting with EL9 (dbd@ehtrace.com)
* Mon Oct 23 2023 Daniel Berteaud <dbd@ehtrace.com> 2.0.28-1
- Update to 2.0.28 (dbd@ehtrace.com)
* Tue Apr 11 2023 Daniel Berteaud <dbd@ehtrace.com> 2.0.27-4
- Typo (dbd@ehtrace.com)
* Tue Apr 11 2023 Daniel Berteaud <dbd@ehtrace.com> 2.0.27-3
- Requires libwebsocket to build (dbd@ehtrace.com)
* Tue Apr 11 2023 Daniel Berteaud <dbd@ehtrace.com> 2.0.27-2
- Update to 2.0.27 (dbd@ehtrace.com)
* Wed Aug 31 2022 Daniel Berteaud <dbd@ehtrace.com> 2.0.22-1
- Update to 2.0.22 (dbd@ehtrace.com)
* Tue Jan 11 2022 Daniel Berteaud <dbd@ehtrace.com> 2.0.16-4
- Release bump
* Thu Dec 09 2021 Daniel Berteaud <dani@lapiole.org> 2.0.16-3
- Update tito builder (dani@lapiole.org)
* Mon Sep 20 2021 Daniel Berteaud <daniel@firewall-services.com> 2.0.16-2
- Update to 2.0.16 (daniel@firewall-services.com)
* Mon Aug 30 2021 Daniel Berteaud <daniel@firewall-services.com> 2.0.15-1
- Update to 2.0.15 (daniel@firewall-services.com)
* Tue Jan 05 2021 Daniel Berteaud <daniel@firewall-services.com> 2.0.10-2
- Update to 2.0.10 (daniel@firewall-services.com)
* Sun Nov 15 2020 Daniel Berteaud <daniel@firewall-services.com> 2.0.6-2
- new package built with tito
* Sun Nov 01 2020 Aleksei Bavshin <alebastr89@gmail.com> - 2.0.6-1
- Initial import (#1895548)