2015-02-02 18:29:52 +01:00
|
|
|
#
|
|
|
|
# spec file for package FreeFileSync
|
|
|
|
#
|
|
|
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
|
|
#
|
|
|
|
# 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 http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
Name: FreeFileSync
|
|
|
|
Summary: Free backup software to synchronize files and folders
|
2015-07-03 17:36:30 +02:00
|
|
|
Version: 7.2
|
2015-02-02 18:29:52 +01:00
|
|
|
Release: 1
|
|
|
|
License: GPL-3.0+
|
|
|
|
Group: Productivity/Networking/System
|
|
|
|
Url: http://freefilesync.sourceforge.net/
|
|
|
|
Source0: http://sourceforge.net/projects/freefilesync/files/%{name}/%{version}/%{name}_%{version}_Source.zip
|
|
|
|
Source1: %{name}.desktop
|
|
|
|
Source2: %{name}.png
|
2015-02-09 17:46:50 +01:00
|
|
|
Source3: RealtimeSync.desktop
|
|
|
|
Source4: RealtimeSync.png
|
|
|
|
Source5: zenXml_2.1-stripped.zip
|
2015-02-02 18:29:52 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildRequires: unzip
|
2015-04-12 00:42:06 +02:00
|
|
|
BuildRequires: dos2unix
|
2015-02-02 18:29:52 +01:00
|
|
|
BuildRequires: gcc-c++ >= 4.8
|
|
|
|
BuildRequires: boost-devel >= 1.54
|
|
|
|
BuildRequires: wxWidgets-3_0-devel
|
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
|
|
|
|
%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.
|
|
|
|
|
2015-02-09 17:46:50 +01:00
|
|
|
%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.
|
|
|
|
|
2015-02-02 18:29:52 +01:00
|
|
|
%prep
|
|
|
|
%setup -T -b 0 -c %{name}-%{version}
|
2015-02-09 17:46:50 +01:00
|
|
|
%setup -T -a 5 -c %{name}-%{version} -D
|
2015-04-12 00:42:06 +02:00
|
|
|
dos2unix LICENSE
|
2015-02-02 18:29:52 +01:00
|
|
|
|
|
|
|
%build
|
2015-02-09 17:46:50 +01:00
|
|
|
pushd %{name}/Source
|
2015-02-02 18:29:52 +01:00
|
|
|
make %{?_smp_mflags} BUILD=FreeFileSync
|
2015-02-09 17:46:50 +01:00
|
|
|
popd
|
|
|
|
pushd %{name}/Source/RealtimeSync
|
|
|
|
make %{?_smp_mflags} BUILD=RealtimeSync
|
|
|
|
popd
|
2015-02-02 18:29:52 +01:00
|
|
|
|
|
|
|
%install
|
2015-02-09 17:46:50 +01:00
|
|
|
pushd %{name}/Source
|
2015-02-02 18:29:52 +01:00
|
|
|
%make_install
|
2015-02-09 17:46:50 +01:00
|
|
|
popd
|
|
|
|
pushd %{name}/Source/RealtimeSync
|
|
|
|
%make_install
|
|
|
|
popd
|
2015-02-02 18:29:52 +01:00
|
|
|
# del unneeded changelog.gz
|
|
|
|
rm -r ${RPM_BUILD_ROOT}%{_datadir}/doc/%{name}
|
|
|
|
# desktop
|
|
|
|
mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/pixmaps
|
|
|
|
install -p %{SOURCE2} ${RPM_BUILD_ROOT}%{_datadir}/pixmaps/
|
2015-02-09 17:46:50 +01:00
|
|
|
install -p %{SOURCE4} ${RPM_BUILD_ROOT}%{_datadir}/pixmaps/
|
2015-02-02 18:29:52 +01:00
|
|
|
%suse_update_desktop_file -i %name
|
2015-02-09 17:46:50 +01:00
|
|
|
%suse_update_desktop_file -i RealtimeSync
|
2015-02-02 18:29:52 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc LICENSE
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_datadir}/%{name}
|
|
|
|
%{_datadir}/applications/%{name}.desktop
|
|
|
|
%{_datadir}/pixmaps/%{name}.png
|
|
|
|
|
2015-02-09 17:46:50 +01:00
|
|
|
%files -n RealtimeSync
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc LICENSE
|
|
|
|
%{_bindir}/RealtimeSync
|
|
|
|
%{_datadir}/applications/RealtimeSync.desktop
|
|
|
|
%{_datadir}/pixmaps/RealtimeSync.png
|
|
|
|
|
2015-02-02 18:29:52 +01:00
|
|
|
%changelog
|