2024-01-05 22:33:03 +01:00
|
|
|
Name: freefilesync
|
2024-07-05 14:39:18 +02:00
|
|
|
Version: 13.7
|
|
|
|
Release: 1mamba
|
2024-01-05 22:33:03 +01:00
|
|
|
Summary: A software that helps you synchronize files and synchronize folders
|
|
|
|
Group: Graphical Desktop/Applications/Utilities
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-04-09 11:07:26 +02:00
|
|
|
URL: https://freefilesync.org/
|
|
|
|
Source: https://github.com/hkneptune/FreeFileSync.git/v%{version}/FreeFileSync-%{version}.tar.bz2
|
2024-01-05 22:33:03 +01:00
|
|
|
Source1: freefilesync.desktop
|
|
|
|
Source2: ffsicon.png
|
|
|
|
Source3: realtimesync.desktop
|
|
|
|
Source4: rtsicon.png
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-04-09 11:07:26 +02:00
|
|
|
BuildRequires: libat-spi2-core-devel
|
2024-01-05 22:33:03 +01:00
|
|
|
BuildRequires: libcairo-devel
|
2024-04-09 11:07:26 +02:00
|
|
|
BuildRequires: libcurl-devel
|
2024-01-05 22:33:03 +01:00
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libgdk-pixbuf-devel
|
|
|
|
BuildRequires: libglib-devel
|
2024-04-09 11:07:26 +02:00
|
|
|
BuildRequires: libgtk3-devel
|
|
|
|
BuildRequires: libharfbuzz-devel
|
|
|
|
BuildRequires: libopenssl-devel
|
2024-01-05 22:33:03 +01:00
|
|
|
BuildRequires: libpango-devel
|
|
|
|
BuildRequires: libselinux-devel
|
2024-04-09 11:07:26 +02:00
|
|
|
BuildRequires: libssh2-devel
|
2024-01-05 22:33:03 +01:00
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: libz-devel
|
2024-04-09 11:07:26 +02:00
|
|
|
BuildRequires: wxwidgets-devel
|
|
|
|
BuildRequires: wxwidgets-gtk3-devel
|
2024-01-05 22:33:03 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: libzenxml-devel
|
|
|
|
|
|
|
|
%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.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
2024-04-09 11:07:26 +02:00
|
|
|
%setup -q -n FreeFileSync-%{version}
|
|
|
|
bsdunzip FreeFileSync/Build/Resources/Icons.zip {FreeFileSync,RealTimeSync}.png
|
|
|
|
sed -i 's|-2|-3|' FreeFileSync/Source/{Makefile,RealTimeSync/Makefile}
|
|
|
|
sed -i 's| -s | |' FreeFileSync/Source/{Makefile,RealTimeSync/Makefile}
|
|
|
|
sed -i 's|#error|//#error|' FreeFileSync/Source/{application.cpp,RealTimeSync/application.cpp} zen/{string_tools.h,globals.h}
|
|
|
|
sed -i 's|::g_object_ref|g_object_ref|' FreeFileSync/Source/base/icon_loader.cpp
|
2024-06-01 23:15:02 +02:00
|
|
|
sed -i '/animalImg/s/^/\/\//' FreeFileSync/Source/ui/small_dlgs.cpp
|
2024-01-05 22:33:03 +01:00
|
|
|
|
|
|
|
%build
|
2024-04-09 11:07:26 +02:00
|
|
|
export CXXFLAGS="%{optflags} -DMAX_SFTP_READ_SIZE=30000 -DMAX_SFTP_OUTGOING_SIZE=30000"
|
|
|
|
export LDFLAGS="%{optflags} `pkg-config --libs gtk+-3.0` -lz"
|
|
|
|
|
2024-06-01 23:15:02 +02:00
|
|
|
%make -C FreeFileSync/Source exeName=FreeFileSync
|
|
|
|
%make -C FreeFileSync/Source/RealTimeSync exeName=RealTimeSync
|
2024-01-05 22:33:03 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-04-09 11:07:26 +02:00
|
|
|
install -d -m0755 %{buildroot}%{_datadir}/FreeFileSync
|
|
|
|
cp -a FreeFileSync/Build/{Bin,Resources} %{buildroot}%{_datadir}/FreeFileSync/
|
|
|
|
|
|
|
|
install -d -m0755 %{buildroot}%{_bindir}
|
|
|
|
ln -s ../share/FreeFileSync/Bin/{FreeFileSync,RealTimeSync} %{buildroot}%{_bindir}/
|
|
|
|
|
|
|
|
install -d -m0755 %{buildroot}%{_datadir}/pixmaps
|
|
|
|
|
|
|
|
install -Dm644 -t "%{buildroot}%{_datadir}/pixmaps" FreeFileSync.png RealTimeSync.png
|
|
|
|
|
|
|
|
install -Dm644 %{SOURCE1} %{buildroot}%{_datadir}/applications/FreeFileSync.desktop
|
|
|
|
install -Dm644 %{SOURCE3} %{buildroot}%{_datadir}/applications/RealTimeSync.desktop
|
2024-01-05 22:33:03 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/FreeFileSync
|
2024-04-09 11:07:26 +02:00
|
|
|
%{_bindir}/RealTimeSync
|
|
|
|
%{_datadir}/applications/RealTimeSync.desktop
|
|
|
|
%{_datadir}/applications/FreeFileSync.desktop
|
2024-01-05 22:33:03 +01:00
|
|
|
%dir %{_datadir}/FreeFileSync
|
2024-04-09 11:07:26 +02:00
|
|
|
%{_datadir}/FreeFileSync/*
|
|
|
|
#%{_docdir}/FreeFileSync/changelog.gz
|
|
|
|
%{_datadir}/pixmaps/*.png
|
|
|
|
%doc License.txt
|
2024-01-05 22:33:03 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-07-05 14:39:18 +02:00
|
|
|
* Fri Jul 05 2024 Automatic Build System <autodist@openmamba.org> 13.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-06-01 23:15:02 +02:00
|
|
|
* Sat Jun 01 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 13.6-2mamba
|
|
|
|
- remove arch to exe names to fix symlinks in bindir
|
|
|
|
|
2024-05-14 09:44:51 +02:00
|
|
|
* Mon May 13 2024 Automatic Build System <autodist@openmamba.org> 13.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-04-11 10:09:13 +02:00
|
|
|
* Wed Apr 10 2024 Automatic Build System <autodist@openmamba.org> 13.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-04-09 11:07:26 +02:00
|
|
|
* Mon Feb 26 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 13.4-1mamba
|
|
|
|
- update to 13.4
|
|
|
|
|
2024-01-05 22:33:03 +01:00
|
|
|
* Sat Oct 24 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 7.5-1mamba
|
|
|
|
- package created by autospec
|