1 Summary: Backup client for encrypted online backups
6 URL: http://www.duplicati.com
7 #Source0: http://duplicati.googlecode.com/files/Duplicati%20%{version}.tgz
8 Source0: Duplicati %{version}.tgz
11 Requires: desktop-file-utils
12 Requires: mono(System)
13 Requires: mono(System.Web)
14 Requires: mono(System.Windows.Forms)
16 # we don't want automatic dependencies generation because
17 # precompiled binaries generates weird ones:
18 %global __requires_exclude ^mono.*$
22 Duplicati is a free backup client that securely stores encrypted,
23 incremental, compressed backups on cloud storage services and remote
24 file servers. It supports targets like Amazon S3, Windows Live
25 SkyDrive, Rackspace Cloud Files or WebDAV, SSH, FTP (and many more).
27 Duplicati has built-in AES-256 encryption and backups be can signed
28 using GNU Privacy Guard. A built-in scheduler makes sure that backups
29 are always up-to-date. Last but not least, Duplicati provides various
30 options and tweaks like filters, deletion rules, transfer and
31 bandwidth options to run backups for specific purposes.
34 %setup -q -c -n %{name}-%{version}-bin
38 # binary package, nothing to build
41 rm -rf $RPM_BUILD_ROOT
43 rm -rf usr/share/pixmaps/duplicati.xpm
45 #for files/doc declaration:
46 mv usr/share/doc/duplicati/README .
47 rm usr/share/doc/duplicati/changelog.Debian.gz
48 mv usr/share/doc/duplicati/copyright .
49 mv usr/share/doc/duplicati/changelog.gz .
50 rmdir usr/share/doc/duplicati/ usr/share/doc/
51 mv usr/ $RPM_BUILD_ROOT
53 # refined desktop file
54 cat <<EOF > $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
56 Categories=System;Archiving;FileTools;Filesystem;
59 GenericName= Backup tool
60 GenericName[es]= Copias de respaldo
61 Comment= Create and maintain local and remote backup copies of your data
62 Comment[es]= Cree y mantenga copias de seguridad locales y remotas
69 desktop-file-install $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
73 /bin/%update_icon_cache_post hicolor || :
74 %{_bindir}/gtk-update-icon-cache \
75 --quiet %{_datadir}/icons/hicolor 2> /dev/null|| :
78 /bin/%update_icon_cache_post hicolor || :
79 %{_bindir}/gtk-update-icon-cache \
80 --quiet %{_datadir}/icons/hicolor 2> /dev/null|| :
83 %{_bindir}/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
86 rm -rf $RPM_BUILD_ROOT
89 %defattr(644,root,root,755)
90 %doc README copyright changelog.gz
91 %attr(755,root,root) %{_bindir}/*