freefilesync/freefilesync.spec

94 lines
3.1 KiB
RPMSpec

Name: freefilesync
Version: 7.5
Release: 1mamba
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>
URL: http://www.freefilesync.org/
# FIXME: needs manual download
Source: http://www.freefilesync.org/download/5qlb1c8ltns7obk/FreeFileSync_%{version}_Source.zip
Source1: freefilesync.desktop
Source2: ffsicon.png
Source3: realtimesync.desktop
Source4: rtsicon.png
Patch0: freefilesync-7.5-Makefile.patch
Patch1: freefilesync-7.5-version_check_32bit.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libatk-devel
BuildRequires: libcairo-devel
BuildRequires: libgcc
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgtk-devel
BuildRequires: libpango-devel
BuildRequires: libpcre-devel
BuildRequires: libselinux-devel
BuildRequires: libsepol-devel
BuildRequires: libstdc++6-devel
BuildRequires: libwx_baseu-devel
BuildRequires: libwx_gtk3u-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: libzenxml-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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
%setup -q -c
%patch0 -p1
%ifarch %{ix86}
%patch1 -p1
%endif
%build
%make -C FreeFileSync/Source
%make -C FreeFileSync/Source/RealtimeSync
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C FreeFileSync/Source
%makeinstall -C FreeFileSync/Source/RealtimeSync
install -Dm644 %{SOURCE1} %{buildroot}%{_datadir}/applications/freefilesync.desktop
install -Dm644 %{SOURCE2} %{buildroot}%{_datadir}/pixmaps/ffsicon.png
install -Dm644 %{SOURCE3} %{buildroot}%{_datadir}/applications/RealtimeSync.desktop
install -Dm644 %{SOURCE4} %{buildroot}%{_datadir}/pixmaps/rtsicon.png
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/FreeFileSync
%{_bindir}/RealtimeSync
%dir %{_datadir}/FreeFileSync
%dir %{_datadir}/FreeFileSync/Help
%{_datadir}/FreeFileSync/Help/FreeFileSync.hh*
%dir %{_datadir}/FreeFileSync/Help/html
%{_datadir}/FreeFileSync/Help/html/*
%dir %{_datadir}/FreeFileSync/Help/images
%{_datadir}/FreeFileSync/Help/images/*
%dir %{_datadir}/FreeFileSync/Languages
%{_datadir}/FreeFileSync/Languages/*
%{_datadir}/FreeFileSync/Resources.zip
%{_datadir}/FreeFileSync/Sync_Complete.wav
%{_datadir}/FreeFileSync/styles.gtk_rc
%{_datadir}/applications/RealtimeSync.desktop
%{_datadir}/applications/freefilesync.desktop
%{_datadir}/doc/FreeFileSync/changelog.gz
%{_datadir}/pixmaps/ffsicon.png
%{_datadir}/pixmaps/rtsicon.png
%doc LICENSE
%changelog
* Sat Oct 24 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 7.5-1mamba
- package created by autospec