1 Summary: Backup client for encrypted online backups
6 Source0: http://duplicati.googlecode.com/files/Duplicati%20%{version}.tgz?/Duplicati-%{version}.tgz
7 # Source0-md5: 4980c4f6c373387e4452a983b235f7f3
9 URL: http://www.duplicati.com/
10 BuildRequires: rpmbuild(macros) >= 1.596
12 Requires: desktop-file-utils
13 Requires: gtk-update-icon-cache
14 Requires: hicolor-icon-theme
15 Requires: mono(System)
16 Requires: mono(System.Web)
17 Requires: mono(System.Windows.Forms)
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 %define _appdir %{_prefix}/lib/%{name}
23 Duplicati is a free backup client that securely stores encrypted,
24 incremental, compressed backups on cloud storage services and remote
25 file servers. It supports targets like Amazon S3, Windows Live
26 SkyDrive, Rackspace Cloud Files or WebDAV, SSH, FTP (and many more).
28 Duplicati has built-in AES-256 encryption and backups be can signed
29 using GNU Privacy Guard. A built-in scheduler makes sure that backups
30 are always up-to-date. Last but not least, Duplicati provides various
31 options and tweaks like filters, deletion rules, transfer and
32 bandwidth options to run backups for specific purposes.
37 # for files/doc declaration:
38 mv usr/share/doc/duplicati/README .
39 rm usr/share/doc/duplicati/changelog.Debian.gz
40 mv usr/share/doc/duplicati/copyright .
41 mv usr/share/doc/duplicati/changelog.gz .
42 rmdir usr/share/doc/duplicati usr/share/doc
45 rm usr/share/pixmaps/duplicati.xpm
50 rm -rf $RPM_BUILD_ROOT
51 install -d $RPM_BUILD_ROOT
52 cp -a usr $RPM_BUILD_ROOT
54 # refined desktop file
55 install -d $RPM_BUILD_ROOT%{_desktopdir}
56 cat <<EOF > $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
58 Categories=System;Archiving;FileTools;Filesystem;
61 GenericName= Backup tool
62 GenericName[es]= Copias de respaldo
63 Comment= Create and maintain local and remote backup copies of your data
64 Comment[es]= Cree y mantenga copias de seguridad locales y remotas
71 desktop-file-install $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
74 rm -rf $RPM_BUILD_ROOT
77 %update_desktop_database
78 %update_icon_cache hicolor
81 %update_desktop_database
82 %update_icon_cache hicolor
85 %defattr(644,root,root,755)
86 %doc README copyright changelog
87 %attr(755,root,root) %{_bindir}/duplicati
88 %attr(755,root,root) %{_bindir}/duplicati-commandline
89 %{_desktopdir}/duplicati.desktop
90 %{_pixmapsdir}/duplicati.png
95 %{_appdir}/*.exe.config
101 %dir %{_appdir}/lvm-scripts
102 %attr(755,root,root) %{_appdir}/lvm-scripts/*.sh
104 %lang(de) %{_appdir}/de-DE
105 %lang(es) %{_appdir}/es-ES
106 %lang(fr) %{_appdir}/fr-FR
107 %lang(it) %{_appdir}/it-IT
108 %lang(pt_BR) %{_appdir}/pt-BR
109 %lang(ru) %{_appdir}/ru-RU
110 %lang(tr_TR) %{_appdir}/tr-TR
111 %lang(zh_CN) %{_appdir}/zh-CN
112 %lang(zh_HK) %{_appdir}/zh-HK
113 %lang(da_DK) %{_appdir}/da-DK