nextcloud-desktop/nextcloud-desktop.spec

286 lines
9.2 KiB
RPMSpec
Raw Normal View History

#
# spec file for package nextcloud-desktop
#
Accepting request 953748 from home:ecsos - Update to 3.4.2 - desktop#4140 [stable-3.4] Bugfix/force re-login on SSL Handshake error - desktop#4150 [stable-3.4] Do not display 'Conflict when uploading some files to a folder - desktop#4151 [stable-3.4] Windows. MSI. Unregister Nextcloud folders in SyncRootManager on uninstall. - desktop#4156 [stable-3.4] Unbreak loading translations - desktop#4169 [stable-3.4] Hide share button for deleted files and ignored files in tray activity - desktop#4170 [stable-3.4] Display error message when creating a link share with compromised password. - desktop#4174 [stable-3.4] Bugfix. Re-init sharing manager to enable link sharing UI when receivng sharing permissions. - desktop#4179 [stable-3.4] Show only filenames in tray activity items, with full path in tooltip - desktop#4197 [stable-3.4] use proper API to dehydrate a placeholder file - desktop#4203 [stable-3.4] Add macOS *.textClipping files to ignore list - Updatete to 3.4.1 - desktop#4013 [stable-3.4] fix random error when updating CfApi metadata - desktop#4046 [stable-3.4] do not forget the path when renaming files with invalid names - desktop#4049 [stable-3.4] Bugfix/assert invalid modtime - desktop#4050 [stable-3.4] Feature/folder logo variations - desktop#4051 [stable-3.4] Always prefill username from Windows login name based on server version - desktop#4057 [stable-3.4] Bugfix/3.4.1 rc1 - desktop#4066 [stable-3.4] Bugfix/sync stuck on error - desktop#4075 [stable-3.4] Bugfix/force download local invalid files - desktop#4078 [stable-3.4] Enforce VFS. Disable 'Make always available locally'. - desktop#4080 [stable-3.4] Bugfix/avoid sync getting stuck - desktop#4081 [stable-3.4] Fix CMake error in ECMAddAppIcon for mac - desktop#4083 [stable-3.4] Do not crash on findAndCancelDeletedJob - desktop#4094 [stable-3.4] ensure any errors after calling FileSystem::getModTime are handled - desktop#4097 Bump version - Skiped version 3.4.0 because of modtime bug: See: https://github.com/nextcloud/desktop/pull/4049 Please read the following wiki page How to fix files invalid modification date: https://github.com/nextcloud/desktop/wiki/Fix-bug-invalid-modification-date OBS-URL: https://build.opensuse.org/request/show/953748 OBS-URL: https://build.opensuse.org/package/show/network/nextcloud-desktop?expand=0&rev=55
2022-02-11 14:22:11 +00:00
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define soname libnextcloudsync
%define sover 0
Name: nextcloud-desktop
Version: 3.4.3
Release: 0
Summary: Nextcloud desktop synchronisation client
License: GPL-2.0-or-later AND LGPL-3.0-or-later
Group: Productivity/Networking/File-Sharing
URL: https://nextcloud.com/
Source: https://github.com/nextcloud/desktop/archive/v%{version}/%{name}-%{version}.tar.gz
Source1: sysctl-sync-inotify.conf
# PATCH-FIX-OPENSUSE nextcloud-desktop-remove-datetime.patch sor.alexei@meowr.ru -- Remove __TIME__ and __DATE__.
Patch1: nextcloud-desktop-remove-datetime.patch
BuildRequires: AppStream
BuildRequires: cmake >= 3.2
BuildRequires: extra-cmake-modules
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: glibc-devel
BuildRequires: gobject-introspection-devel
BuildRequires: hicolor-icon-theme
Accepting request 909974 from home:ecsos - Update to 3.3.0 - desktop#3333 Check if first is not empty - desktop#3337 L10n: Spelling unification - desktop#3339 Takes ECMCoverageOption from ECM to enable code coverage analysis - desktop#3341 Automate removal of needs info labels when the issue is commented - desktop#3345 Ci/test appveyor - desktop#3352 Bugfix. Crash when printing OpenSSL decryption errors with no e2ee mnemonic, - desktop#3368 Improve error message - desktop#3369 Prevent crash in dialog that warns user about vfs and e2ee - desktop#3370 Fix/files fixes for windows and logs - desktop#3380 Document --background - desktop#3386 Fix needs info label remover action by providing github token - desktop#3388 Bugfix/qml warnings - desktop#3390 VFS freeze fix. Treat .sync-exclude.lst as a non-virtual file always. - desktop#3393 Added unit tests for Utility::isPathWindowsDrivePartitionRoot. - desktop#3394 Really fix the actions to remove needsinfo when someone comment - desktop#3395 Generate png icons with inkscape - desktop#3397 Enable clazy in drone - desktop#3401 Added config parameter that allows to bypass checksum validation failure - desktop#3404 Start macOS app bundle name with uppercase letter - desktop#3410 Check compiler against CMAKE_CXX_COMPILER_ID - desktop#3420 Cfapi: Make sure no data is transfered after cancellation - desktop#3425 VFS wipe moved folder when conflict - desktop#3432 Set pin state correct after rename - desktop#3437 Bring back dynamic load of VFS plugins - desktop#3445 Remove unused function declaration - desktop#3449 Fix VFS crash and false conflict on local new. - desktop#3460 Add unit test for move custom remote root - desktop#3464 Add building for Ubuntu Impish - desktop#3468 Show main dialog as normal window if tray icons not available - desktop#3471 Build optional without QWebEngine - desktop#3472 Directly send the icon url for activities to the qml component - desktop#3475 Use the full GPG key ID for signing Debian packages - desktop#3486 Improve error message in case of trailing space in directory name - desktop#3488 Remove unused pushNotifications variable - desktop#3489 Design call improvements - desktop#3490 Update documentation and replace old screenshots - desktop#3492 Update command-rebase.yml from template - desktop#3494 Download server public key and check user certificate against it - desktop#3497 Run legacy uninstall exe in a secure way - desktop#3498 Fix QML Warnings and create custom component for the activity list - desktop#3501 Avoid error when doing hydration when data socket is closed too early - desktop#3502 Fix all usage of _com_error(cfExecuteresult).ErrorMessage() - desktop#3511 Improve the error message returned by updateMetadata - desktop#3523 Avoid being stuck trying to create placeholder for existing file - desktop#3536 Remove unnecessary png files - desktop#3537 Only compile xattr virtual files backend for linux platform (not unices) - desktop#3540 Position main dialog on at tray icon if not a regular window - desktop#3541 Use dav instead of webdav - desktop#3542 Enforce https in flow2 for https connections - desktop#3547 Windows. Nextcloud Overlay Identifiers. Set 16 spaces before each identifier's name. - desktop#3548 Update screenshot in README.md - desktop#3552 Remove request to config for userVisibleURL. - desktop#3554 Bump version to 3.3.0-rc1 - desktop#3557 Fix size of the Label with user status - desktop#3558 Bugfix/user status too long account menu - desktop#3565 Do not block account menu: availability checking can be slow - desktop#3566 Create QMessageBox on heap and continue running the app when update is ready. - desktop#3569 Print the real permissions string instead of its address - desktop#3574 Open main dialog gnome always - desktop#3579 L10n: Change to uppercase - desktop#3581 Bump version to 3.3.0-rc2 - desktop#3582 Make main dialog normal window when displayed as regular window - desktop#3586 Fix crash in Folder::isSyncRunning() - desktop#3592 In wizard always use the correct way to get dav path - desktop#3594 Revert: Added config parameter that allows to bypass checksum validation failure. - desktop#3595 Do not build for Groovy - desktop#3596 Don't constrain size of hover background - desktop#3599 Update improvements and news in the documentation - desktop#3602 Prevent crash in Accont::davPath without credentials - desktop#3607 Bump version 3.3.0 OBS-URL: https://build.opensuse.org/request/show/909974 OBS-URL: https://build.opensuse.org/package/show/network/nextcloud-desktop?expand=0&rev=48
2021-08-03 12:04:45 +00:00
BuildRequires: inkscape >= 1.0
Accepting request 855770 from home:ecsos - Update to 3.1.0 - desktop#2221 Make QML code more declarative by using properties - desktop#2497 MacOS: Fix memory leak in FolderWatcherPrivate::startWatching - desktop#2500 Windows MSI: Update Docs & add SKIPAUTOUPDATE property - desktop#2512 Handle redirects when downloading updates - desktop#2514 Make it easier for user to provide debug information - desktop#2520 Handle ask for optional password capability - desktop#2521 Use friendly user agent during authentication - desktop#2527 Improve conflict handling gui - desktop#2530 Repair the Windows build - desktop#2531 Bring back the "Pause sync" action in the systray context menu - desktop#2534 Connection wizard improvements - desktop#2540 Add last / to exclude list file path. - desktop#2541 Don't use nullptr for QFlags - desktop#2542 Avoid string translation puzzle - desktop#2543 Update bookmarks location - desktop#2551 Fix share dialog animation for enforced password policy - desktop#2568 Fix crash when clicking on folder with status 403 in the main dialog. - desktop#2572 Avoid depth infinity propfind for e2ee - desktop#2575 Expose branding values to qtquick - desktop#2580 Delay initialization of SettingsDialog - desktop#2581 Ensure we quickly show/hide the systray window on startup - desktop#2582 Also output the event flags in the debug logs - desktop#2586 L10n: Add a space in generalsettings.ui - desktop#2587 Triple dot to ellipsis - desktop#2589 Misc fixes for Windows 7 - desktop#2591 Remove last left over of the "remote" wording - desktop#2603 Get rid of FindQt5Keychain.cmake - desktop#2615 Fetch apps when we get connected only - desktop#2616 Move journaldb files back to sync folders - desktop#2620 Make sure the settings dialog exist before hiding it - desktop#2621 [documentation] upload chunks config - desktop#2630 Master is now 3.0.81 - desktop#2647 Cherry pick updater fixes and improvements - desktop#2648 Issue a warning for Debian pipeline failures but don't fail the CI - desktop#2652 Handle the case when the release version differs from that in VERSION.cmake - desktop#2655 Use dynamic path for account online/offline state icon. Refresh GUI on connection state change. - desktop#2658 Enable the QML debugger on debug builds - desktop#2660 FolderWatcher: fixes and improvements - desktop#2662 Fix QML debugging by removing incorrect dependency - desktop#2663 Fix Windows compilation broken after QML debugging fix. - desktop#2665 Sparkle build fixes - desktop#2666 Notification action buttons and context menu - desktop#2667 Master is now 3.0.82. - desktop#2675 Fix AppImage build - desktop#2677 Fix macOS bug where tray window causes spaces to switch - desktop#2682 Add debug log to check which folders are being skipped during syncing. - desktop#2685 Fixed slow sharee search in the share dialog - desktop#2686 Added sharing via email. - desktop#2690 Update documentation on how to generate debug logs. - desktop#2696 Bump master version to 3.1.0 - Rebase nextcloud-desktop-fix-rpath.patch. OBS-URL: https://build.opensuse.org/request/show/855770 OBS-URL: https://build.opensuse.org/package/show/network/nextcloud-desktop?expand=0&rev=28
2020-12-14 14:44:42 +00:00
BuildRequires: libQt5Gui-private-headers-devel
BuildRequires: libqt5-linguist-devel
BuildRequires: pkgconfig
BuildRequires: qtkeychain-qt5-devel
BuildRequires: update-desktop-files
BuildRequires: cmake(KF5Config)
BuildRequires: cmake(KF5KIO) >= 5.16
Accepting request 855770 from home:ecsos - Update to 3.1.0 - desktop#2221 Make QML code more declarative by using properties - desktop#2497 MacOS: Fix memory leak in FolderWatcherPrivate::startWatching - desktop#2500 Windows MSI: Update Docs & add SKIPAUTOUPDATE property - desktop#2512 Handle redirects when downloading updates - desktop#2514 Make it easier for user to provide debug information - desktop#2520 Handle ask for optional password capability - desktop#2521 Use friendly user agent during authentication - desktop#2527 Improve conflict handling gui - desktop#2530 Repair the Windows build - desktop#2531 Bring back the "Pause sync" action in the systray context menu - desktop#2534 Connection wizard improvements - desktop#2540 Add last / to exclude list file path. - desktop#2541 Don't use nullptr for QFlags - desktop#2542 Avoid string translation puzzle - desktop#2543 Update bookmarks location - desktop#2551 Fix share dialog animation for enforced password policy - desktop#2568 Fix crash when clicking on folder with status 403 in the main dialog. - desktop#2572 Avoid depth infinity propfind for e2ee - desktop#2575 Expose branding values to qtquick - desktop#2580 Delay initialization of SettingsDialog - desktop#2581 Ensure we quickly show/hide the systray window on startup - desktop#2582 Also output the event flags in the debug logs - desktop#2586 L10n: Add a space in generalsettings.ui - desktop#2587 Triple dot to ellipsis - desktop#2589 Misc fixes for Windows 7 - desktop#2591 Remove last left over of the "remote" wording - desktop#2603 Get rid of FindQt5Keychain.cmake - desktop#2615 Fetch apps when we get connected only - desktop#2616 Move journaldb files back to sync folders - desktop#2620 Make sure the settings dialog exist before hiding it - desktop#2621 [documentation] upload chunks config - desktop#2630 Master is now 3.0.81 - desktop#2647 Cherry pick updater fixes and improvements - desktop#2648 Issue a warning for Debian pipeline failures but don't fail the CI - desktop#2652 Handle the case when the release version differs from that in VERSION.cmake - desktop#2655 Use dynamic path for account online/offline state icon. Refresh GUI on connection state change. - desktop#2658 Enable the QML debugger on debug builds - desktop#2660 FolderWatcher: fixes and improvements - desktop#2662 Fix QML debugging by removing incorrect dependency - desktop#2663 Fix Windows compilation broken after QML debugging fix. - desktop#2665 Sparkle build fixes - desktop#2666 Notification action buttons and context menu - desktop#2667 Master is now 3.0.82. - desktop#2675 Fix AppImage build - desktop#2677 Fix macOS bug where tray window causes spaces to switch - desktop#2682 Add debug log to check which folders are being skipped during syncing. - desktop#2685 Fixed slow sharee search in the share dialog - desktop#2686 Added sharing via email. - desktop#2690 Update documentation on how to generate debug logs. - desktop#2696 Bump master version to 3.1.0 - Rebase nextcloud-desktop-fix-rpath.patch. OBS-URL: https://build.opensuse.org/request/show/855770 OBS-URL: https://build.opensuse.org/package/show/network/nextcloud-desktop?expand=0&rev=28
2020-12-14 14:44:42 +00:00
BuildRequires: cmake(Qt5Keychain)
BuildRequires: pkgconfig(Qt5Concurrent)
Accepting request 953748 from home:ecsos - Update to 3.4.2 - desktop#4140 [stable-3.4] Bugfix/force re-login on SSL Handshake error - desktop#4150 [stable-3.4] Do not display 'Conflict when uploading some files to a folder - desktop#4151 [stable-3.4] Windows. MSI. Unregister Nextcloud folders in SyncRootManager on uninstall. - desktop#4156 [stable-3.4] Unbreak loading translations - desktop#4169 [stable-3.4] Hide share button for deleted files and ignored files in tray activity - desktop#4170 [stable-3.4] Display error message when creating a link share with compromised password. - desktop#4174 [stable-3.4] Bugfix. Re-init sharing manager to enable link sharing UI when receivng sharing permissions. - desktop#4179 [stable-3.4] Show only filenames in tray activity items, with full path in tooltip - desktop#4197 [stable-3.4] use proper API to dehydrate a placeholder file - desktop#4203 [stable-3.4] Add macOS *.textClipping files to ignore list - Updatete to 3.4.1 - desktop#4013 [stable-3.4] fix random error when updating CfApi metadata - desktop#4046 [stable-3.4] do not forget the path when renaming files with invalid names - desktop#4049 [stable-3.4] Bugfix/assert invalid modtime - desktop#4050 [stable-3.4] Feature/folder logo variations - desktop#4051 [stable-3.4] Always prefill username from Windows login name based on server version - desktop#4057 [stable-3.4] Bugfix/3.4.1 rc1 - desktop#4066 [stable-3.4] Bugfix/sync stuck on error - desktop#4075 [stable-3.4] Bugfix/force download local invalid files - desktop#4078 [stable-3.4] Enforce VFS. Disable 'Make always available locally'. - desktop#4080 [stable-3.4] Bugfix/avoid sync getting stuck - desktop#4081 [stable-3.4] Fix CMake error in ECMAddAppIcon for mac - desktop#4083 [stable-3.4] Do not crash on findAndCancelDeletedJob - desktop#4094 [stable-3.4] ensure any errors after calling FileSystem::getModTime are handled - desktop#4097 Bump version - Skiped version 3.4.0 because of modtime bug: See: https://github.com/nextcloud/desktop/pull/4049 Please read the following wiki page How to fix files invalid modification date: https://github.com/nextcloud/desktop/wiki/Fix-bug-invalid-modification-date OBS-URL: https://build.opensuse.org/request/show/953748 OBS-URL: https://build.opensuse.org/package/show/network/nextcloud-desktop?expand=0&rev=55
2022-02-11 14:22:11 +00:00
BuildRequires: pkgconfig(Qt5Core) >= 5.15
BuildRequires: pkgconfig(Qt5DBus)
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Network)
BuildRequires: pkgconfig(Qt5PrintSupport)
BuildRequires: pkgconfig(Qt5QuickControls2)
BuildRequires: pkgconfig(Qt5Sql)
BuildRequires: pkgconfig(Qt5Svg)
BuildRequires: pkgconfig(Qt5WebEngineWidgets)
BuildRequires: pkgconfig(Qt5WebSockets)
BuildRequires: pkgconfig(Qt5Xml)
BuildRequires: pkgconfig(cloudproviders)
Accepting request 909974 from home:ecsos - Update to 3.3.0 - desktop#3333 Check if first is not empty - desktop#3337 L10n: Spelling unification - desktop#3339 Takes ECMCoverageOption from ECM to enable code coverage analysis - desktop#3341 Automate removal of needs info labels when the issue is commented - desktop#3345 Ci/test appveyor - desktop#3352 Bugfix. Crash when printing OpenSSL decryption errors with no e2ee mnemonic, - desktop#3368 Improve error message - desktop#3369 Prevent crash in dialog that warns user about vfs and e2ee - desktop#3370 Fix/files fixes for windows and logs - desktop#3380 Document --background - desktop#3386 Fix needs info label remover action by providing github token - desktop#3388 Bugfix/qml warnings - desktop#3390 VFS freeze fix. Treat .sync-exclude.lst as a non-virtual file always. - desktop#3393 Added unit tests for Utility::isPathWindowsDrivePartitionRoot. - desktop#3394 Really fix the actions to remove needsinfo when someone comment - desktop#3395 Generate png icons with inkscape - desktop#3397 Enable clazy in drone - desktop#3401 Added config parameter that allows to bypass checksum validation failure - desktop#3404 Start macOS app bundle name with uppercase letter - desktop#3410 Check compiler against CMAKE_CXX_COMPILER_ID - desktop#3420 Cfapi: Make sure no data is transfered after cancellation - desktop#3425 VFS wipe moved folder when conflict - desktop#3432 Set pin state correct after rename - desktop#3437 Bring back dynamic load of VFS plugins - desktop#3445 Remove unused function declaration - desktop#3449 Fix VFS crash and false conflict on local new. - desktop#3460 Add unit test for move custom remote root - desktop#3464 Add building for Ubuntu Impish - desktop#3468 Show main dialog as normal window if tray icons not available - desktop#3471 Build optional without QWebEngine - desktop#3472 Directly send the icon url for activities to the qml component - desktop#3475 Use the full GPG key ID for signing Debian packages - desktop#3486 Improve error message in case of trailing space in directory name - desktop#3488 Remove unused pushNotifications variable - desktop#3489 Design call improvements - desktop#3490 Update documentation and replace old screenshots - desktop#3492 Update command-rebase.yml from template - desktop#3494 Download server public key and check user certificate against it - desktop#3497 Run legacy uninstall exe in a secure way - desktop#3498 Fix QML Warnings and create custom component for the activity list - desktop#3501 Avoid error when doing hydration when data socket is closed too early - desktop#3502 Fix all usage of _com_error(cfExecuteresult).ErrorMessage() - desktop#3511 Improve the error message returned by updateMetadata - desktop#3523 Avoid being stuck trying to create placeholder for existing file - desktop#3536 Remove unnecessary png files - desktop#3537 Only compile xattr virtual files backend for linux platform (not unices) - desktop#3540 Position main dialog on at tray icon if not a regular window - desktop#3541 Use dav instead of webdav - desktop#3542 Enforce https in flow2 for https connections - desktop#3547 Windows. Nextcloud Overlay Identifiers. Set 16 spaces before each identifier's name. - desktop#3548 Update screenshot in README.md - desktop#3552 Remove request to config for userVisibleURL. - desktop#3554 Bump version to 3.3.0-rc1 - desktop#3557 Fix size of the Label with user status - desktop#3558 Bugfix/user status too long account menu - desktop#3565 Do not block account menu: availability checking can be slow - desktop#3566 Create QMessageBox on heap and continue running the app when update is ready. - desktop#3569 Print the real permissions string instead of its address - desktop#3574 Open main dialog gnome always - desktop#3579 L10n: Change to uppercase - desktop#3581 Bump version to 3.3.0-rc2 - desktop#3582 Make main dialog normal window when displayed as regular window - desktop#3586 Fix crash in Folder::isSyncRunning() - desktop#3592 In wizard always use the correct way to get dav path - desktop#3594 Revert: Added config parameter that allows to bypass checksum validation failure. - desktop#3595 Do not build for Groovy - desktop#3596 Don't constrain size of hover background - desktop#3599 Update improvements and news in the documentation - desktop#3602 Prevent crash in Accont::davPath without credentials - desktop#3607 Bump version 3.3.0 OBS-URL: https://build.opensuse.org/request/show/909974 OBS-URL: https://build.opensuse.org/package/show/network/nextcloud-desktop?expand=0&rev=48
2021-08-03 12:04:45 +00:00
BuildRequires: pkgconfig(cmocka)
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(openssl) >= 1.1
BuildRequires: pkgconfig(sqlite3)
BuildRequires: pkgconfig(zlib)
Requires: %{soname}%{sover} = %{version}
Requires: libqt5-qtgraphicaleffects
Requires: libqt5-qtquickcontrols2
Provides: nextcloud-client = %{version}
Obsoletes: nextcloud-client < %{version}
Provides: nextcloud-client-lang = %{version}
Obsoletes: nextcloud-client-lang < %{version}
%if 0%{?is_opensuse}
BuildRequires: doxygen
BuildRequires: python3-Sphinx
Suggests: %{name}-doc = %{version}
%endif
%description
The Nextcloud Desktop Client is a tool to synchronise files from
the Nextcloud Server with your computer.
Nextcloud Desktop enables you to connect to your private
Nextcloud Server. With it you can create directories in your home
directory, and keep the contents of those directories synced with
the server. Simply copy a file into the directory and the desktop
synchronisation client does the rest.
%lang_package
%if 0%{?is_opensuse}
%package doc
Summary: Documentation for nextcloud-desktop
Group: Productivity/Networking/File-Sharing
Provides: nextcloud-client-doc = %{version}
Obsoletes: nextcloud-client-doc < %{version}
BuildArch: noarch
%description doc
The Nextcloud Desktop Client is a tool to synchronise files from
the Nextcloud Server with your computer.
This package contains the documentation.
%endif
%package -n %{soname}%{sover}
Summary: The Nextcloud synchronisation library
Group: Productivity/Networking/File-Sharing
%description -n %{soname}%{sover}
The Nextcloud Desktop Client synchronisation library.
%package -n %{soname}-devel
Summary: Development files for the Nextcloud synchronisation library
Group: Development/Libraries/C and C++
Requires: %{soname}%{sover} = %{version}
%description -n %{soname}-devel
Development files for the Nextcloud Desktop Client synchronisation
library.
%package -n nautilus-extension-nextcloud
Summary: Nautilus overlay icons
Group: Productivity/Networking/File-Sharing
Requires: %{name} = %{version}
Requires: nautilus
Requires: python3-nautilus
Supplements: (%{name} and nautilus)
BuildArch: noarch
%description -n nautilus-extension-nextcloud
This package provides overlay icons to visualise the
synchronisation state in the Nautilus file manager.
%if 0%{?is_opensuse}
%package -n caja-extension-nextcloud
Summary: Caja overlay icons
Group: Productivity/Networking/File-Sharing
Requires: %{name} = %{version}
Requires: caja
Requires: python-caja
Supplements: (%{name} and caja)
BuildArch: noarch
%description -n caja-extension-nextcloud
This package provides overlay icons to visualise the
synchronisation state in the Caja file manager.
%package -n nemo-extension-nextcloud
Summary: Nemo overlay icons
Group: Productivity/Networking/File-Sharing
Requires: %{name} = %{version}
Requires: nemo
Requires: python-nemo
Supplements: (%{name} and nemo)
BuildArch: noarch
%description -n nemo-extension-nextcloud
This package provides overlay icons to visualise the
synchronisation state in the Nemo file manager.
%package -n %{name}-dolphin
Summary: Dolphin overlay icons
Group: Productivity/Networking/File-Sharing
Requires: %{name} = %{version}
Requires: dolphin
Supplements: (%{name} and dolphin)
%description -n %{name}-dolphin
This package provides the necessary plugin libraries for the
Dolphin filemanager to display overlay icons.
%endif
%prep
%setup -q -n desktop-%{version}
%patch1 -p1
cp -a %{SOURCE1} sysctl-sync-inotify.conf
%build
%cmake \
%if 0%{?is_opensuse}
-DWITH_DOC=ON \
-DNO_SHIBBOLETH=1
%endif
%cmake_build
%install
%cmake_install
%if 0%{?is_opensuse}
mkdir -p %{buildroot}%{_docdir}/%{name}-doc/
mv -f %{buildroot}%{_datadir}/doc/client/nextcloud-client/html/ \
%{buildroot}%{_docdir}/%{name}-doc/html/
%else
# There's no Caja and Nemo in SLE.
rm -r %{buildroot}%{_datadir}/caja-python/
rm -r %{buildroot}%{_datadir}/nemo-python/
%endif
# Generate bytecode for extensions.
for fm in caja nautilus nemo; do
if [ -d %{buildroot}%{_datadir}/$fm-python/ ]; then
%py3_compile %{buildroot}%{_datadir}/$fm-python/extensions/
fi
done
# ecsos: Comment this out, because it seems to be a security risk.
# See: https://github.com/owncloud/client/issues/4107#issuecomment-240627858
# A workaround for gh#owncloud/client#4107
#install -Dpm 0644 sysctl-sync-inotify.conf \
# %%{buildroot}%%{_sysconfdir}/sysctl.d/99-%%{name}-sync-inotify.conf
%suse_update_desktop_file com.nextcloud.desktopclient.nextcloud
%fdupes %{buildroot}%{_datadir}/
%post -n %{soname}%{sover} -p /sbin/ldconfig
%postun -n %{soname}%{sover} -p /sbin/ldconfig
%files
%license COPYING*
%config %{_sysconfdir}/Nextcloud/
#%%config %%{_sysconfdir}/sysctl.d/99-%%{name}-sync-inotify.conf
%{_bindir}/nextcloud*
%dir %{_datadir}/nextcloud/
%{_datadir}/applications/com.nextcloud.desktopclient.nextcloud.desktop
%dir %{_datadir}/icons/hicolor/1024x1024/
%dir %{_datadir}/icons/hicolor/1024x1024/apps/
%{_datadir}/icons/hicolor/*/apps/Nextcloud*.*
%dir %{_datadir}/cloud-providers/
%{_datadir}/cloud-providers/com.nextcloudgmbh.Nextcloud.ini
%{_datadir}/dbus-1/services/com.nextcloudgmbh.Nextcloud.service
%{_datadir}/mime/packages/nextcloud.xml
%files lang
%{_datadir}/nextcloud/i18n/
%if 0%{?is_opensuse}
%files doc
%doc %{_docdir}/%{name}-doc/
%endif
%files -n %{soname}%{sover}
%license COPYING*
%{_libdir}/%{soname}.so.*
%{_libdir}/libnextcloud_csync.so.*
%files -n %{soname}-devel
%{_includedir}/nextcloudsync/
%{_libdir}/%{soname}.so
%{_libdir}/libnextcloud_csync.so
Accepting request 909974 from home:ecsos - Update to 3.3.0 - desktop#3333 Check if first is not empty - desktop#3337 L10n: Spelling unification - desktop#3339 Takes ECMCoverageOption from ECM to enable code coverage analysis - desktop#3341 Automate removal of needs info labels when the issue is commented - desktop#3345 Ci/test appveyor - desktop#3352 Bugfix. Crash when printing OpenSSL decryption errors with no e2ee mnemonic, - desktop#3368 Improve error message - desktop#3369 Prevent crash in dialog that warns user about vfs and e2ee - desktop#3370 Fix/files fixes for windows and logs - desktop#3380 Document --background - desktop#3386 Fix needs info label remover action by providing github token - desktop#3388 Bugfix/qml warnings - desktop#3390 VFS freeze fix. Treat .sync-exclude.lst as a non-virtual file always. - desktop#3393 Added unit tests for Utility::isPathWindowsDrivePartitionRoot. - desktop#3394 Really fix the actions to remove needsinfo when someone comment - desktop#3395 Generate png icons with inkscape - desktop#3397 Enable clazy in drone - desktop#3401 Added config parameter that allows to bypass checksum validation failure - desktop#3404 Start macOS app bundle name with uppercase letter - desktop#3410 Check compiler against CMAKE_CXX_COMPILER_ID - desktop#3420 Cfapi: Make sure no data is transfered after cancellation - desktop#3425 VFS wipe moved folder when conflict - desktop#3432 Set pin state correct after rename - desktop#3437 Bring back dynamic load of VFS plugins - desktop#3445 Remove unused function declaration - desktop#3449 Fix VFS crash and false conflict on local new. - desktop#3460 Add unit test for move custom remote root - desktop#3464 Add building for Ubuntu Impish - desktop#3468 Show main dialog as normal window if tray icons not available - desktop#3471 Build optional without QWebEngine - desktop#3472 Directly send the icon url for activities to the qml component - desktop#3475 Use the full GPG key ID for signing Debian packages - desktop#3486 Improve error message in case of trailing space in directory name - desktop#3488 Remove unused pushNotifications variable - desktop#3489 Design call improvements - desktop#3490 Update documentation and replace old screenshots - desktop#3492 Update command-rebase.yml from template - desktop#3494 Download server public key and check user certificate against it - desktop#3497 Run legacy uninstall exe in a secure way - desktop#3498 Fix QML Warnings and create custom component for the activity list - desktop#3501 Avoid error when doing hydration when data socket is closed too early - desktop#3502 Fix all usage of _com_error(cfExecuteresult).ErrorMessage() - desktop#3511 Improve the error message returned by updateMetadata - desktop#3523 Avoid being stuck trying to create placeholder for existing file - desktop#3536 Remove unnecessary png files - desktop#3537 Only compile xattr virtual files backend for linux platform (not unices) - desktop#3540 Position main dialog on at tray icon if not a regular window - desktop#3541 Use dav instead of webdav - desktop#3542 Enforce https in flow2 for https connections - desktop#3547 Windows. Nextcloud Overlay Identifiers. Set 16 spaces before each identifier's name. - desktop#3548 Update screenshot in README.md - desktop#3552 Remove request to config for userVisibleURL. - desktop#3554 Bump version to 3.3.0-rc1 - desktop#3557 Fix size of the Label with user status - desktop#3558 Bugfix/user status too long account menu - desktop#3565 Do not block account menu: availability checking can be slow - desktop#3566 Create QMessageBox on heap and continue running the app when update is ready. - desktop#3569 Print the real permissions string instead of its address - desktop#3574 Open main dialog gnome always - desktop#3579 L10n: Change to uppercase - desktop#3581 Bump version to 3.3.0-rc2 - desktop#3582 Make main dialog normal window when displayed as regular window - desktop#3586 Fix crash in Folder::isSyncRunning() - desktop#3592 In wizard always use the correct way to get dav path - desktop#3594 Revert: Added config parameter that allows to bypass checksum validation failure. - desktop#3595 Do not build for Groovy - desktop#3596 Don't constrain size of hover background - desktop#3599 Update improvements and news in the documentation - desktop#3602 Prevent crash in Accont::davPath without credentials - desktop#3607 Bump version 3.3.0 OBS-URL: https://build.opensuse.org/request/show/909974 OBS-URL: https://build.opensuse.org/package/show/network/nextcloud-desktop?expand=0&rev=48
2021-08-03 12:04:45 +00:00
%{_libdir}/nextcloudsync_vfs_*.so
%files -n nautilus-extension-nextcloud
%dir %{_datadir}/nautilus-python/
%dir %{_datadir}/nautilus-python/extensions/
%dir %{_datadir}/nautilus-python/extensions/__pycache__
%{_datadir}/nautilus-python/extensions/syncstate-Nextcloud.py*
%{_datadir}/nautilus-python/extensions/__pycache__/syncstate-Nextcloud*
%if 0%{?is_opensuse}
%files -n caja-extension-nextcloud
%dir %{_datadir}/caja-python/
%dir %{_datadir}/caja-python/extensions/
%dir %{_datadir}/caja-python/extensions/__pycache__
%{_datadir}/caja-python/extensions/syncstate-Nextcloud.py*
%{_datadir}/caja-python/extensions/__pycache__/*
%files -n nemo-extension-nextcloud
%dir %{_datadir}/nemo-python/
%dir %{_datadir}/nemo-python/extensions/
%dir %{_datadir}/nemo-python/extensions/__pycache__
%{_datadir}/nemo-python/extensions/syncstate-Nextcloud.py*
%{_datadir}/nemo-python/extensions/__pycache__/*
%files dolphin
%{_libdir}/libnextclouddolphinpluginhelper.so
%{_libdir}/qt5/plugins/nextclouddolphinactionplugin.so
%dir %{_libdir}/qt5/plugins/kf5/overlayicon/
%{_libdir}/qt5/plugins/kf5/overlayicon/nextclouddolphinoverlayplugin.so
%{_datadir}/kservices5/nextclouddolphinactionplugin.desktop
%endif
%changelog