%global _hardened_build 1 Name: seafile-client Version: 8.0.2 Release: 1%{?dist} Summary: Seafile cloud storage desktop client # main source: Apache 2.0 # quazip: LGPL 2.1 with static linking exception # QtAwesome: MIT # fontawesome: OFL License: ASL 2.0 and LGPLv2 and MIT and OFL URL: https://www.seafile.com/ Source0: https://github.com/haiwen/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz Source1: seafile.appdata.xml Patch0: https://github.com/haiwen/%{name}/pull/1356.patch#/seafile-client-8.0.2-fix-compilation-errors-with-glib2.patch ExclusiveArch: %{qt5_qtwebengine_arches} BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: desktop-file-utils BuildRequires: libappstream-glib BuildRequires: make BuildRequires: pkgconfig(sqlite3) BuildRequires: pkgconfig(jansson) BuildRequires: pkgconfig(libevent) BuildRequires: pkgconfig(libsearpc) BuildRequires: pkgconfig(libseafile) = %{version} BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(zlib) BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtwebengine-devel BuildRequires: qt5-linguist # 3.x.unidentified with local changes Provides: bundled(QtAwesome) Provides: bundled(fontawesome-fonts) = 3.2.1 Provides: bundled(quazip) = 0.7.3 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 %build %cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHIBBOLETH_SUPPORT=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 * 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