2024-01-05 17:43:08 +01:00
|
|
|
%define seafile_groupid 65435
|
|
|
|
%define seafile_userid 65435
|
2024-01-05 17:43:08 +01:00
|
|
|
%define maj3_version %(echo %version | cut -d. -f1-3)
|
|
|
|
%define maj2_version %(echo %version | cut -d. -f1-2)
|
|
|
|
%define MAJver %(echo %version | cut -d. -f1)
|
2024-01-05 17:43:08 +01:00
|
|
|
Name: seafile
|
2024-11-13 18:57:22 +01:00
|
|
|
Version: 9.0.10
|
2024-01-05 17:43:13 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 17:43:08 +01:00
|
|
|
Summary: A next-generation open source cloud storage system with advanced support for file syncing
|
|
|
|
Group: Applications/Web
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 17:43:09 +01:00
|
|
|
URL: https://www.seafile.com/en/home/
|
2024-01-05 17:43:08 +01:00
|
|
|
Source: https://github.com/haiwen/seafile.git/v%{version}/seafile-%{version}.tar.bz2
|
2024-01-05 17:43:08 +01:00
|
|
|
Source3: seafile-client.service
|
2024-01-05 17:43:08 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-10-24 23:08:22 +02:00
|
|
|
BuildRequires: libargon2-devel
|
2024-01-05 17:43:13 +01:00
|
|
|
BuildRequires: libcap-devel
|
2024-01-05 17:43:08 +01:00
|
|
|
BuildRequires: libcurl-devel
|
2024-01-05 17:43:08 +01:00
|
|
|
BuildRequires: libevent-devel
|
|
|
|
BuildRequires: libglib-devel
|
|
|
|
BuildRequires: libjansson-devel
|
|
|
|
BuildRequires: libopenssl-devel
|
2024-06-27 14:08:54 +02:00
|
|
|
BuildRequires: libpython311-devel
|
2024-01-05 17:43:08 +01:00
|
|
|
BuildRequires: libsearpc-devel
|
|
|
|
BuildRequires: libsqlite-devel
|
|
|
|
BuildRequires: libuuid-devel
|
2024-01-05 17:43:13 +01:00
|
|
|
BuildRequires: libwebsockets-devel
|
2024-01-05 17:43:08 +01:00
|
|
|
BuildRequires: libz-devel
|
2024-01-05 17:43:08 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 17:43:10 +01:00
|
|
|
BuildRequires: libwebsockets-devel
|
2024-01-05 17:43:08 +01:00
|
|
|
#BuildRequires: libevhtp-devel <= 1.2.9
|
|
|
|
#Requires: libevhtp <= 1.2.9
|
2024-01-05 17:43:08 +01:00
|
|
|
Requires: ccnet >= %{maj2_version}
|
2024-01-05 17:43:08 +01:00
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-05 17:43:12 +01:00
|
|
|
#Requires: python-flup
|
2024-01-05 17:43:08 +01:00
|
|
|
Requires: python-%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-05 17:43:08 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Seafile is a next-generation open source cloud storage system with advanced support for file syncing, privacy protection and teamwork.
|
|
|
|
Collections of files are called libraries, and each library can be synced separately. A library can be encrypted with a user chosen password. This password is not stored on the server, so even the server admin cannot view a file's contents.
|
|
|
|
Seafile allows users to create groups with file syncing, wiki, and discussion to enable easy collaboration around documents within a team.
|
|
|
|
|
|
|
|
%package -n lib%{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Shared libraries for %{name}
|
|
|
|
|
|
|
|
%description -n lib%{name}
|
|
|
|
This package contains shared libraries for %{name}.
|
|
|
|
|
|
|
|
%package -n lib%{name}-devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: pkg-config
|
|
|
|
|
|
|
|
%description -n lib%{name}-devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
%package -n python-%{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Python bindings to %{name}
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-05 17:43:12 +01:00
|
|
|
Requires: python-ccnet >= 7.1.5-2mamba
|
|
|
|
Requires: python-setuptools-py310
|
|
|
|
Requires: python-searpc >= 3.3-2mamba
|
2024-01-05 17:43:08 +01:00
|
|
|
|
|
|
|
%description -n python-%{name}
|
|
|
|
This package contains python bindings to %{name}.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-05 17:43:08 +01:00
|
|
|
#-D -T
|
2024-01-05 17:43:08 +01:00
|
|
|
#:<< _EOF
|
2024-06-27 14:08:54 +02:00
|
|
|
|
2024-01-05 17:43:09 +01:00
|
|
|
./autogen.sh
|
2024-01-05 17:43:08 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-05 17:43:08 +01:00
|
|
|
#:<< ___EOF
|
|
|
|
%configure \
|
2024-01-05 17:43:09 +01:00
|
|
|
--enable-console \
|
2024-06-27 14:08:54 +02:00
|
|
|
PYTHON=%{__python3}
|
2024-01-05 17:43:08 +01:00
|
|
|
|
|
|
|
# --enable-breakpad
|
2024-01-05 17:43:08 +01:00
|
|
|
|
2024-01-05 17:43:08 +01:00
|
|
|
%make -j1
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
2024-01-05 17:43:08 +01:00
|
|
|
install -D -m0644 %{SOURCE3} %{buildroot}%{_unitdir}/seafile-client.service
|
|
|
|
|
2024-01-05 17:43:08 +01:00
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/seaf-cli
|
2024-01-05 17:43:08 +01:00
|
|
|
%{_bindir}/seaf-daemon
|
2024-01-05 17:43:08 +01:00
|
|
|
%{_unitdir}/seafile-client.service
|
2024-01-05 17:43:08 +01:00
|
|
|
%{_mandir}/man1/seaf-cli.1*
|
2024-01-05 17:43:08 +01:00
|
|
|
%{_mandir}/man1/seaf-daemon.1*
|
|
|
|
|
2024-01-05 17:43:08 +01:00
|
|
|
%files -n lib%{name}
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libseafile.so.*
|
2024-01-05 17:43:09 +01:00
|
|
|
%doc LICENSE.txt
|
2024-01-05 17:43:08 +01:00
|
|
|
|
|
|
|
%files -n lib%{name}-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/seafile
|
|
|
|
%{_includedir}/seafile/*.h
|
|
|
|
%{_libdir}/libseafile.a
|
|
|
|
%{_libdir}/libseafile.so
|
|
|
|
%{_libdir}/pkgconfig/libseafile.pc
|
2024-01-05 17:43:08 +01:00
|
|
|
#%doc README.markdown
|
2024-01-05 17:43:08 +01:00
|
|
|
|
|
|
|
%files -n python-%{name}
|
|
|
|
%defattr(-,root,root)
|
2024-06-27 14:08:54 +02:00
|
|
|
%dir %{python3_sitearch}/seafile
|
|
|
|
%{python3_sitearch}/seafile/*.py*
|
|
|
|
%{python3_sitearch}/seafile/__pycache__/*.py*
|
2024-01-05 17:43:08 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-11-13 18:57:22 +01:00
|
|
|
* Wed Nov 13 2024 Automatic Build System <autodist@openmamba.org> 9.0.10-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-10-24 23:08:22 +02:00
|
|
|
* Wed Oct 23 2024 Automatic Build System <autodist@openmamba.org> 9.0.9-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-08-18 22:56:59 +02:00
|
|
|
* Fri Aug 16 2024 Automatic Build System <autodist@openmamba.org> 9.0.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-07-27 17:12:21 +02:00
|
|
|
* Fri Jul 26 2024 Automatic Build System <autodist@openmamba.org> 9.0.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-06-27 14:08:54 +02:00
|
|
|
* Tue Jun 25 2024 Automatic Build System <autodist@openmamba.org> 9.0.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-02-28 15:05:39 +01:00
|
|
|
* Wed Feb 28 2024 Automatic Build System <autodist@openmamba.org> 9.0.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:43:13 +01:00
|
|
|
* Fri Sep 15 2023 Automatic Build System <autodist@mambasoft.it> 9.0.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:43:12 +01:00
|
|
|
* Thu Jun 29 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 9.0.3-2mamba
|
|
|
|
- rebuilt with python 3.10
|
|
|
|
|
|
|
|
* Wed Jun 28 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 9.0.3-1mamba
|
|
|
|
- update to 9.0.3
|
|
|
|
|
2024-01-05 17:43:12 +01:00
|
|
|
* Fri Apr 28 2023 Automatic Build System <autodist@mambasoft.it> 9.0.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:43:11 +01:00
|
|
|
* Wed Mar 22 2023 Automatic Build System <autodist@mambasoft.it> 9.0.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Mar 20 2023 Automatic Build System <autodist@mambasoft.it> 9.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:43:10 +01:00
|
|
|
* Mon Jan 23 2023 Automatic Build System <autodist@mambasoft.it> 8.0.10-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:43:10 +01:00
|
|
|
* Sat Nov 12 2022 Automatic Build System <autodist@mambasoft.it> 8.0.9-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:43:10 +01:00
|
|
|
* Thu Jul 07 2022 Automatic Build System <autodist@mambasoft.it> 8.0.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:43:10 +01:00
|
|
|
* Tue May 03 2022 Automatic Build System <autodist@mambasoft.it> 8.0.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:43:09 +01:00
|
|
|
* Sat Feb 26 2022 Automatic Build System <autodist@mambasoft.it> 8.0.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:43:09 +01:00
|
|
|
* Sun Nov 21 2021 Automatic Build System <autodist@mambasoft.it> 8.0.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:43:09 +01:00
|
|
|
* Thu Sep 16 2021 Automatic Build System <autodist@mambasoft.it> 8.0.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:43:09 +01:00
|
|
|
* Sun Jun 27 2021 Automatic Build System <autodist@mambasoft.it> 8.0.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:43:09 +01:00
|
|
|
* Sun Apr 25 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 8.0.2-2mamba
|
|
|
|
- python-seafile: require python-searpc and remove obsolete/unneed py27 requirements
|
|
|
|
|
2024-01-05 17:43:09 +01:00
|
|
|
* Thu Apr 15 2021 Automatic Build System <autodist@mambasoft.it> 8.0.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:43:09 +01:00
|
|
|
* Thu Dec 31 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 8.0.1-1mamba
|
|
|
|
- update to 8.0.1
|
|
|
|
|
2024-01-05 17:43:09 +01:00
|
|
|
* Sat Sep 14 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 7.0.2-1mamba
|
|
|
|
- update to 7.0.2
|
|
|
|
|
2024-01-05 17:43:09 +01:00
|
|
|
* Tue Dec 11 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 6.2.9-1mamba
|
|
|
|
- update to 6.2.9
|
|
|
|
|
2024-01-05 17:43:09 +01:00
|
|
|
* Thu Dec 07 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 6.1.3-1mamba
|
|
|
|
- update to 6.1.3
|
|
|
|
|
2024-01-05 17:43:08 +01:00
|
|
|
* Thu Jul 13 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 6.0.7-2mamba
|
|
|
|
- remove seafile-server now distributed apart
|
|
|
|
|
2024-01-05 17:43:08 +01:00
|
|
|
* Wed Jul 12 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 6.0.7-1mamba
|
|
|
|
- update to 6.0.7
|
|
|
|
|
2024-01-05 17:43:08 +01:00
|
|
|
* Sat Apr 16 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 5.0.5-2mamba
|
|
|
|
- patch to use instance dir for seafdav.conf
|
|
|
|
|
2024-01-05 17:43:08 +01:00
|
|
|
* Fri Apr 08 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 5.0.5-1mamba
|
|
|
|
- update to 5.0.5
|
|
|
|
|
2024-01-05 17:43:08 +01:00
|
|
|
* Tue Mar 08 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 4.4.6-1mamba
|
|
|
|
- update to 4.4.6
|
|
|
|
|
2024-01-05 17:43:08 +01:00
|
|
|
* Sun May 24 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 4.2.2-1mamba
|
|
|
|
- update to 4.2.2
|
|
|
|
|
|
|
|
* Sat May 23 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 4.2.1-3mamba
|
|
|
|
- require python-seafdav and python-flup
|
|
|
|
- install a couple of new scripts
|
|
|
|
- seahub.service: launch start script with start-fcgi
|
|
|
|
- rebuilt with libevhtp 1.2.9
|
|
|
|
|
2024-01-05 17:43:08 +01:00
|
|
|
* Tue May 19 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 4.2.1-2mamba
|
|
|
|
- seafile: fix broken binaries symlinks
|
|
|
|
|
|
|
|
* Thu May 14 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 4.2.1-1mamba
|
|
|
|
- update to 4.2.1
|
|
|
|
|
2024-01-05 17:43:08 +01:00
|
|
|
* Thu Jan 22 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.12-2mamba
|
|
|
|
- provide required symlink /usr/share/seafile/seafile-server/seahub
|
|
|
|
- patch setup script to fix preparation of avatars directory
|
|
|
|
|
2024-01-05 17:43:08 +01:00
|
|
|
* Thu Jan 01 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.12-1mamba
|
|
|
|
- update to 3.1.12
|
|
|
|
|
2024-01-05 17:43:08 +01:00
|
|
|
* Sat Dec 06 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.11-1mamba
|
|
|
|
- update to 3.1.11
|
|
|
|
|
2024-01-05 17:43:08 +01:00
|
|
|
* Sat Oct 18 2014 Automatic Build System <autodist@mambasoft.it> 3.1.7-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sun Oct 12 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.6-1mamba
|
|
|
|
- update to 3.1.6
|
|
|
|
|
2024-01-05 17:43:08 +01:00
|
|
|
* Mon Sep 01 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.5-1mamba
|
|
|
|
- update to 3.1.5
|
|
|
|
|
2024-01-05 17:43:08 +01:00
|
|
|
* Wed Aug 27 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.4-5mamba
|
|
|
|
- move seaf-daemon to seafile and add requirements to work as client installed alone
|
|
|
|
|
|
|
|
* Wed Aug 27 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.4-4mamba
|
|
|
|
- move server bin files from %{_bindir} to seafile-server/seafile/bin dir for seafile-controller to work
|
|
|
|
- fix permissions of %{_datadir}/seafile/seafile-server/runtime for seahub.sh to work
|
|
|
|
- seahub.service: set working directory
|
|
|
|
|
2024-01-05 17:43:08 +01:00
|
|
|
* Sat Aug 09 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.4-3mamba
|
|
|
|
- rebuild with --enable-server and other options
|
|
|
|
- organize %{datadir}/seafile and add requirements to make server basically work
|
|
|
|
|
|
|
|
* Sat Aug 09 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.4-2mamba
|
|
|
|
- added systemd service, install scripts and create seafile user and group
|
|
|
|
- added seafile-server package
|
|
|
|
|
2024-01-05 17:43:08 +01:00
|
|
|
* Tue Aug 05 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.4-1mamba
|
|
|
|
- package created using the webbuild interface
|