FreeFileSync/FreeFileSync.spec

121 lines
3.9 KiB
RPMSpec
Raw Normal View History

#
# spec file for package FreeFileSync
#
Accepting request 877291 from home:seil0:branches:network - Update to 11.7 - Detect moved files on FTP (if server supports MLSD) - Allow installation only for current or all user(s) (Linux) - Added application uninstaller: uninstall.sh (Linux) - Use login user config path when running as root (macOS, Linux) - Fixed detection of moved files with unstable device IDs (macOS, Linux) - Strict checking for duplicate file IDs - Avoid EINVAL invalid argument error when using F_PREALLOCATE (macOS) - Restore input focus after closing log panel - Double-click on file to open Google Drive web interface - Fixed alpha channel image scaling glitch - Fixed recycle bin folders being created recursively - Fixed thread count status message fluctuation - Don't quit FreeFileSync when parent terminal is closed (SIGHUP) - Fixed "Operation not supported" error when setting directory locks - Show folder picker despite SHCreateItemFromParsingName() error - Work around "OLE received a packet with an invalid header" error - Changes from 11.6 - New FreeFileSync installer (Linux) - New auto-updater for the Donation Edition (macOS, Linux) - Support reading FTP file symlinks - Added context menu option "Edit with FreeFileSync" (Linux, KDE) - Support starting via symlink (macOS) - Command line support with "freefilesync" symlink in /usr/local/bin (macOS) - Fixed starting via symlink found by PATH (Linux) - Preserve keyboard focus when starting sync via F9 - Don't show relative parent path if folder does not exist - Added high-resolution application icons (Linux, macOS) - Work around "500 'HELP' command unrecognized" FTP error - Fixed menu bar icon not being removed immediately (macOS Big Sur) - Don't allow folder names ending with dot character (Windows) - Mitigate ERROR_ALREADY_ASSIGNED: Local Device Name Already in Use [Wnetaddconnection2] - Fixed startup failure when app folder contains back quote char (macOS) - Fixed network card not found error on virtual machine (KVM Linux) - Fixed RTL layout direction in popup dialogs - Changes from 11.5 - New configuration context menu option to delete from disk - Start auto retry delay at time of error instead of reporting - Added error details to status message before retry - Improved color scheme to better integrate with system colors - Keep partial SFTP results after network failure - Fixed incorrect panel font (macOS Big Sur) - Fixed SFTP retry not working after network drop - Fixed crash on exit with floating panels (macOS Big Sur) - Fixed auto-close option not being remembered - Fixed installer high-DPI scaling issues - Fixed mouse hover issues with grid column header - Fixed menu bar icons not showing (Linux) - Removed redundant GUI layout recalculations - Keep correct panel sizes after log panel maximize - Support modern folder picker in installer - Don't raise progress dialog after sync when resuming from systray OBS-URL: https://build.opensuse.org/request/show/877291 OBS-URL: https://build.opensuse.org/package/show/network/FreeFileSync?expand=0&rev=43
2021-03-05 19:34:25 +01:00
# Copyright (c) 2021 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/
#
Name: FreeFileSync
Version: 11.13
Release: 0
Summary: Free backup software to synchronize files and folders
License: GPL-3.0-or-later
Group: Productivity/Networking/System
URL: https://www.freefilesync.org/
Source0: %{name}_%{version}_Source.zip
Source1: %{name}.desktop
Source2: %{name}.png
Source3: RealTimeSync.desktop
Source4: RealTimeSync.png
Patch0: FreeFileSync-Build.patch
Patch1: FreeFileSync-Resources.patch
Patch2: FreeFileSync-icon_loader.patch
BuildRequires: boost-devel >= 1.54
BuildRequires: gcc-c++
BuildRequires: libcurl-devel
BuildRequires: libopenssl-devel
BuildRequires: libssh2-devel
Accepting request 839423 from home:seil0:branches:network - Update to 11.2 - Improved grid layout with file icons hidden - Improved rendering of inactive and disabled grid items - Remember last user-selected paths for file and folder pickers - Fixed folder name hidden in "item name" view type - Fixed determination of unsupported trash folder (Linux) - Fixed copying broken symlinks (macOS) - Fixed default action when pressing Enter in popup dialogs - Fixed default popup dialog size (macOS) - Use localized start of week for %WeekDay% (Linux, macOS) - Swap sides using CTRL+W instead of F10 - Show confirmation dialog before swapping sides - Update to 11.1 - New file group layout on main grid (reloaded) - Alternate colors for main grid folder groups - Added file group context menu - Quick selection of items in folder group - Fixed FTP access errors with Explicit SSL/TLS - Fixed Google Drive error when double quotes in file name - Fixed RTL layout bug with number input control - Fixed grid column default sizes - Fixed grid rendering performance during mouse scrolling - Update all config files transactionally - Respect user-preferred number/time format (Linux) - Fixed floating panels not being resizable (Linux) - Instantly open selection context menu on right mouse button down - Further improved high DPI support - Updated deprecated system API calls (requires macOS 10.10 or later) - Fixed crash when accessing Nexis storage (macOS) - Avoid buffer flush when aborting native file output - Clear preview after folder history selection - Pre-allocate target file without setting size - Unified system error message formatting OBS-URL: https://build.opensuse.org/request/show/839423 OBS-URL: https://build.opensuse.org/package/show/network/FreeFileSync?expand=0&rev=37
2020-10-04 15:56:49 +02:00
BuildRequires: libstdc++6 >= 10.0.0
BuildRequires: unzip
BuildRequires: update-desktop-files
Accepting request 839423 from home:seil0:branches:network - Update to 11.2 - Improved grid layout with file icons hidden - Improved rendering of inactive and disabled grid items - Remember last user-selected paths for file and folder pickers - Fixed folder name hidden in "item name" view type - Fixed determination of unsupported trash folder (Linux) - Fixed copying broken symlinks (macOS) - Fixed default action when pressing Enter in popup dialogs - Fixed default popup dialog size (macOS) - Use localized start of week for %WeekDay% (Linux, macOS) - Swap sides using CTRL+W instead of F10 - Show confirmation dialog before swapping sides - Update to 11.1 - New file group layout on main grid (reloaded) - Alternate colors for main grid folder groups - Added file group context menu - Quick selection of items in folder group - Fixed FTP access errors with Explicit SSL/TLS - Fixed Google Drive error when double quotes in file name - Fixed RTL layout bug with number input control - Fixed grid column default sizes - Fixed grid rendering performance during mouse scrolling - Update all config files transactionally - Respect user-preferred number/time format (Linux) - Fixed floating panels not being resizable (Linux) - Instantly open selection context menu on right mouse button down - Further improved high DPI support - Updated deprecated system API calls (requires macOS 10.10 or later) - Fixed crash when accessing Nexis storage (macOS) - Avoid buffer flush when aborting native file output - Clear preview after folder history selection - Pre-allocate target file without setting size - Unified system error message formatting OBS-URL: https://build.opensuse.org/request/show/839423 OBS-URL: https://build.opensuse.org/package/show/network/FreeFileSync?expand=0&rev=37
2020-10-04 15:56:49 +02:00
BuildRequires: wxGTK3-3_2-devel >= 3.1.4
%description
FreeFileSync is a free Open Source software that helps you synchronize files
and synchronize folders for Windows, Linux and Mac OS X. It is designed to save
your time setting up and running backup jobs while having nice visual feedback along the way.
%package -n RealtimeSync
Summary: Free backup software to synchronize files and folders
Group: Productivity/Networking/System
Requires: %{name} = %{version}-%{release}
%description -n RealtimeSync
The primary purpose of RealtimeSync is to execute a command line each time it detects changes
in one of the monitored directories or when a directory becomes available (e. g. insert of a USB-stick).
Usually this command line will trigger a FreeFileSync batch job.
%prep
%autosetup -p1 -c %{name}-%{version}
sed -i 's/\r$//' License.txt
mkdir FreeFileSync/Build/Bin
%build
export TMPDIR=/tmp # necessary since 11.0
export CXXFLAGS="%{optflags} -fabi-version=2 -fabi-compat-version=2"
export CC="gcc"
export CXX="g++"
%make_build -C %{name}/Source exeName=FreeFileSync
%make_build -C %{name}/Source/RealTimeSync exeName=RealTimeSync
%install
# FreeFileSync
pushd %{name}/Build
mkdir -p %{buildroot}%{_bindir}
install -t %{buildroot}%{_bindir} Bin/%{name}
mkdir -p %{buildroot}%{_datadir}/%{name}
cp -rT Resources %{buildroot}%{_datadir}/%{name}
find "%{buildroot}%{_datadir}/%{name}" -type f -print0 | xargs -0 chmod 644
#%%make_install
# RealTimeSync
mkdir -p %{buildroot}%{_bindir}
install -t %{buildroot}%{_bindir} Bin/RealTimeSync
#%%make_install
popd
# desktop
mkdir -p %{buildroot}%{_datadir}/pixmaps
install -p %{SOURCE2} %{buildroot}%{_datadir}/pixmaps/
install -p %{SOURCE4} %{buildroot}%{_datadir}/pixmaps/
%suse_update_desktop_file -i %{name}
%suse_update_desktop_file -i RealTimeSync
%filetriggerin -- %{_datadir}/applications
%{_bindir}/update-desktop-database --quiet %{_datadir}/applications || true
%filetriggerpostun -- %{_datadir}/applications
%{_bindir}/update-desktop-database --quiet %{_datadir}/applications || true
%files
%license %attr(444, -, -) License.txt
%doc %attr(444, -, -) Changelog.txt
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.png
%{_datadir}/%{name}/*
%dir %{_datadir}/%{name}
%files -n RealtimeSync
%license %attr(444, -, -) License.txt
%doc %attr(444, -, -) Changelog.txt
%{_bindir}/RealTimeSync
%{_datadir}/applications/RealTimeSync.desktop
%{_datadir}/pixmaps/RealTimeSync.png
%changelog