81b549558c
- Update to 11.29 - Fixed crash after 1-byte file copy from MTP device - Fixed incorrect installer z-order during auto-update (macOS) - Compress copied file only if target folder is marked as NTFS-compressed (Windows) - Show install errors without requiring access to "System Events" (macOS) - Fall back to creation time if modification time is missing on MTP device - Copy/paste filter config via operating system clipboard - Show FreeFileSync startup error message when called from RealTimeSync - Avoid server round trip when preparing summary email - Show path conflict warning aggregated into groups - Don't assume path conflict if single write and multiple ignored items - Fixed CTRL + Insert clipboard copy for some text controls (Windows, Linux) - Changes from 11.28 - Recover from corrupted database file - Save database files pair-wise as a transaction - Fixed FTP access for Xiaomi "File Manager" - Fixed filter full path detection for root directory (Linux/macOS) - Fixed recycle bin double initialization bug (Windows) - Fixed incorrect case-insensitive string comparison for i and ı - Round progress percentage numbers down - Changes from 11.27 - Fixed "Some files will be synchronized as part of multiple base folders" false-negative - Fixed "Unexpected size of data stream" for Google Drive - Fixed crash when downloading empty file from Google Drive - RealTimeSync: fixed ffs_batch not accepted as valid configuration - Fixed top buttons vertical GUI layout - Fixed progress dialog font on Ubuntu MATE - Support cut/copy/paste for filter settings - Fixed free disk space calculation if target folder not yet created - Changes from 11.26 - Faster file copy for SSD-based hard drives (Linux, macOS) - Don't fill the OS file cache during file copy (macOS) - Removed redundant memory buffering during file copy - Fixed ERROR_FILE_EXISTS on Samba share when copying files with NTFS extended attributes - Show warning when recycle bin is not available (macOS, Linux) - Customize config item background colors - Fixed macOS menu bar not showing after app start - Fixed normalizing strings with broken UTF encoding - Fixed sound playback not working (Linux) - Don't allow creating file names ending with dot character (Windows) - Changes from 11.25 - Fixed crash when normalizing Unicode non-characters - Fixed crash when accesssing Google Drive - Fixed regession for decomposed Unicode comparison - Fixed "exit code 106: --sign is required" error on macOS - Reset icon cache after each comparison - Changes from 11.24 - Enhanced filter syntax to match files only (append ':') - Fixed "Some files will be synchronized as part of multiple base folders": no more false-positives - Detect full path filter items and convert to relative path - Auto-detect FTP server character encoding (UTF8 or ANSI) - Cancel grid selection via Escape key or second mouse button - Apply conflict preview limit accross all folder pairs - Require config type and file extension to match - Fixed view filter panel vertical layout - Strict validation of UTF encoding OBS-URL: https://build.opensuse.org/request/show/1045531 OBS-URL: https://build.opensuse.org/package/show/network/FreeFileSync?expand=0&rev=59
124 lines
3.8 KiB
RPMSpec
124 lines
3.8 KiB
RPMSpec
#
|
|
# spec file for package FreeFileSync
|
|
#
|
|
# 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/
|
|
#
|
|
|
|
|
|
Name: FreeFileSync
|
|
Version: 11.29
|
|
Release: 0
|
|
Summary: 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
|
|
Patch3: FreeFileSync-disable-in-app-updates.patch
|
|
Patch4: FreeFileSync-openssl-1.1.1.patch
|
|
BuildRequires: boost-devel >= 1.54
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: libcurl-devel
|
|
BuildRequires: libopenssl-devel
|
|
BuildRequires: libssh2-devel
|
|
BuildRequires: libstdc++6 >= 10.0.0
|
|
BuildRequires: unzip
|
|
BuildRequires: update-desktop-files
|
|
BuildRequires: wxGTK3-3_2-devel >= 3.1.4
|
|
|
|
%description
|
|
FreeFileSync is a software that helps synchronizing files
|
|
and folders. It runs backup jobs while having visual
|
|
feedback along the way.
|
|
|
|
%package -n RealtimeSync
|
|
Summary: Backup software to synchronize files and folders
|
|
Group: Productivity/Networking/System
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
%description -n RealtimeSync
|
|
RealtimeSync executes a command each time it detects changes
|
|
in one of the monitored directories, or when a directory becomes
|
|
available (e.g. insertion of a USB drive).
|
|
This command will usually 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}"
|
|
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 License.txt
|
|
%doc Changelog.txt
|
|
%{_bindir}/%{name}
|
|
%{_datadir}/applications/%{name}.desktop
|
|
%{_datadir}/pixmaps/%{name}.png
|
|
%{_datadir}/%{name}/*
|
|
%dir %{_datadir}/%{name}
|
|
|
|
%files -n RealtimeSync
|
|
%license License.txt
|
|
%doc Changelog.txt
|
|
%{_bindir}/RealTimeSync
|
|
%{_datadir}/applications/RealTimeSync.desktop
|
|
%{_datadir}/pixmaps/RealTimeSync.png
|
|
|
|
%changelog
|