%global _hardened_build 1 Name: seafile-client Version: 9.0.11 Release: 1%{?dist} Summary: Seafile cloud storage desktop client # main source: Apache-2.0 # QtAwesome: MIT # FontAwesome: OFL-1.1 # # Third-party sources that are not used during the build: # QuaZip: LGPL-2.1-or-later with static linking exception # WinSparkle: MIT License: Apache-2.0 AND MIT AND OFL-1.1 URL: https://www.seafile.com/ Source0: https://github.com/haiwen/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz Source1: seafile.appdata.xml # Disable unused feature that requires bundled QuaZip Patch: https://github.com/haiwen/seafile-client/pull/1506.patch#/Add-ENABLE_LOG_UPLOADER-CMake-option.patch ExclusiveArch: %{qt6_qtwebengine_arches} BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: desktop-file-utils BuildRequires: libappstream-glib BuildRequires: make BuildRequires: cmake(Qt6Core) BuildRequires: cmake(Qt6Core5Compat) BuildRequires: cmake(Qt6DBus) BuildRequires: cmake(Qt6Gui) BuildRequires: cmake(Qt6LinguistTools) BuildRequires: cmake(Qt6Network) BuildRequires: cmake(Qt6WebEngineCore) BuildRequires: cmake(Qt6WebEngineWidgets) BuildRequires: cmake(Qt6Widgets) BuildRequires: pkgconfig(jansson) BuildRequires: pkgconfig(libevent) BuildRequires: pkgconfig(libseafile) = %{version} BuildRequires: pkgconfig(libsearpc) BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(sqlite3) BuildRequires: pkgconfig(zlib) # 3.x.unidentified with local changes Provides: bundled(QtAwesome) Provides: bundled(fontawesome-fonts) = 3.2.1 Requires: seafile = %{version} %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. %prep %autosetup -p1 # ensure that these third-party sources are not used during the build rm -rf third_party/{WinSparkle-0.5.3,quazip} %build %cmake \ -DCMAKE_BUILD_TYPE:STRING=Release \ -DBUILD_LOG_UPLOADER:BOOL=OFF \ -DBUILD_SHIBBOLETH_SUPPORT:BOOL=ON %cmake_build %install %cmake_install install -D -m 644 -pv %{SOURCE1} %{buildroot}%{_metainfodir}/seafile.appdata.xml %check desktop-file-validate %{buildroot}%{_datadir}/applications/seafile.desktop appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/seafile.appdata.xml %files %doc README.md %license LICENSE %{_bindir}/seafile-applet %{_datadir}/applications/seafile.desktop %{_datadir}/icons/hicolor/scalable/apps/seafile.svg %{_datadir}/icons/hicolor/16x16/apps/seafile.png %{_datadir}/icons/hicolor/22x22/apps/seafile.png %{_datadir}/icons/hicolor/24x24/apps/seafile.png %{_datadir}/icons/hicolor/32x32/apps/seafile.png %{_datadir}/icons/hicolor/48x48/apps/seafile.png %{_datadir}/icons/hicolor/128x128/apps/seafile.png %{_datadir}/pixmaps/seafile.png %{_metainfodir}/seafile.appdata.xml %changelog * Sun Nov 17 2024 Aleksei Bavshin - 9.0.11-1 - Update to 9.0.11 * Sun Jul 28 2024 Aleksei Bavshin - 9.0.7-1 - Update to 9.0.7 * Sat Jul 20 2024 Fedora Release Engineering - 9.0.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu May 23 2024 Aleksei Bavshin - 9.0.6-1 - Update to 9.0.6 * Thu Feb 29 2024 Aleksei Bavshin - 9.0.5-1 - Update to 9.0.5 - Exclude bundled QuaZip from build - Convert License tag to SPDX - Build with Qt6 * Sat Jan 27 2024 Fedora Release Engineering - 9.0.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Aug 16 2023 Aleksei Bavshin - 9.0.3-1 - Update to 9.0.3 * Sat Jul 22 2023 Fedora Release Engineering - 8.0.10-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sat Jan 21 2023 Fedora Release Engineering - 8.0.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sun Jan 01 2023 Aleksei Bavshin - 8.0.10-1 - Update to 8.0.10 * Fri Dec 02 2022 Philipp Trulson - 8.0.9-1 - Update to 8.0.9 * Sat Jul 23 2022 Fedora Release Engineering - 8.0.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 22 2022 Aleksei Bavshin - 8.0.7-1 - Update to 8.0.7 * Sun Mar 06 2022 Aleksei Bavshin - 8.0.6-1 - Update to 8.0.6 * Sat Jan 22 2022 Fedora Release Engineering - 8.0.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Nov 18 2021 Aleksei Bavshin - 8.0.5-1 - Update to 8.0.5 * Tue Sep 28 2021 Aleksei Bavshin - 8.0.4-1 - Update to 8.0.4 * Fri Jul 23 2021 Fedora Release Engineering - 8.0.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sat Jul 03 2021 Aleksei Bavshin - 8.0.3-1 - Update to 8.0.3 * Wed May 26 2021 Aleksei Bavshin - 8.0.2-1 - Update to 8.0.2 * Wed Jan 27 2021 Fedora Release Engineering - 7.0.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Nov 06 2020 Aleksei Bavshin - 7.0.10-1 - Update to 7.0.10 - Spec cleanup: remove unused deps, update for current guidelines * Sat Jul 25 2020 Marie Loise Nolden - 7.0.4-4 - fix qt 5.15 build (append Patch0) * Fri Jul 24 2020 Jeff Law - 7.0.4-3 - Use __cmake_in_source_build * Thu Jan 30 2020 Fedora Release Engineering - 7.0.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sun Nov 03 2019 Julien Enselme - 7.0.4-1 - Update to 7.0.4 - Make this package compatible with Python3 * Tue Aug 20 2019 Julien Enselme - 7.0.2-1 - Update to 7.0.2 * Fri Jul 26 2019 Fedora Release Engineering - 6.2.11-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 23 2019 Julien Enselme - 6.2.11-1 - Update to 6.2.11 * Sat Feb 02 2019 Fedora Release Engineering - 6.2.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sun Nov 18 2018 Julien Enselme - 6.2.5-1 - Update to 6.2.5 * Wed Aug 01 2018 Julien Enselme - 6.2.3-1 - Update to 6.2.3 * Sat Jul 14 2018 Fedora Release Engineering - 6.1.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Mar 13 2018 Julien Enselme - 6.1.6-2 - Build with OpenSSL 1.1 * Tue Mar 13 2018 Julien Enselme - 6.1.6-1 - Update to 6.1.6 * Fri Feb 09 2018 Fedora Release Engineering - 6.1.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jan 18 2018 Igor Gnatenko - 6.1.4-2 - Remove obsolete scriptlets * Wed Dec 27 2017 Julien Enselme - 6.1.4-1 - Update to 6.1.4 * Mon Nov 06 2017 Julien Enselme - 6.1.3-1 - Update to 6.1.3 * Fri Aug 11 2017 Kalev Lember - 6.1.0-2 - Bump and rebuild for an rpm signing issue * Thu Aug 10 2017 Julien Enselme - 6.1.0-1 - Update to 6.1.0 * Thu Aug 03 2017 Fedora Release Engineering - 6.0.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 6.0.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon May 15 2017 Julien Enselme - 6.0.6-2 - Revert to SSL10 compat. * Sun May 07 2017 Julien Enselme - 6.0.6-1 - Update to 6.0.6 - Build with openSSL 1.0 * Tue Mar 07 2017 Julien Enselme - 6.0.4-2 - Use correct version of ccnet and seafile * Tue Mar 07 2017 Julien Enselme - 6.0.4-1 - Update to 6.0.4 * Sat Feb 11 2017 Fedora Release Engineering - 6.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri Dec 09 2016 Julien Enselme - 6.0.0-3 - Enable Shibboleth sign on * Sun Oct 30 2016 Julien Enselme - 6.0.0-2 - Compile against compat-openssl10 until it is compatible with OpenSSL 1.1 * Sun Oct 30 2016 Julien Enselme - 6.0.0-1 - Update to 6.0.0 - Unretire package * Wed Jun 08 2016 Richard Hughes - 5.1.1-4 - Fix AppData file to have the same application ID as the desktop file and update it to a more modern format. * Fri Jun 03 2016 Nikos Roussos - 5.1.1-3 - Update icons cache * Fri Jun 03 2016 Nikos Roussos - 5.1.1-2 - Use https for upstream url - Add appdata file * Wed Jun 01 2016 Nikos Roussos - 5.1.1-1 - Update to 5.1.1 - Switch to qt5 * Mon Feb 08 2016 Nikos Roussos - 5.0.4-1 - Update to 5.0.4 * Wed Sep 16 2015 Nikos Roussos - 4.3.4-1 - Update to 4.3.4 * Sat Apr 11 2015 Nikos Roussos - 4.1.4-1 - Update to 4.1.4 - Hardened build * Wed Nov 05 2014 Nikos Roussos - 3.1.8-1 - Update to 3.1.8 * Tue Aug 12 2014 Nikos Roussos - 3.1.4-1 - Initial version of the package