]> git.pld-linux.org Git - packages/duplicati.git/blame - duplicati.spec
pldize; fix spec; fill files
[packages/duplicati.git] / duplicati.spec
CommitLineData
ed76ea7e
AM
1Summary: Backup client for encrypted online backups
2Name: duplicati
3Version: 1.3.4
4Release: 0.1
5License: LGPL v2+
7655f7fc
ER
6Source0: http://duplicati.googlecode.com/files/Duplicati%20%{version}.tgz?/Duplicati-%{version}.tgz
7# Source0-md5: 4980c4f6c373387e4452a983b235f7f3
8Group: Applications
9URL: http://www.duplicati.com/
10BuildRequires: rpmbuild(macros) >= 1.596
ed76ea7e
AM
11Requires: bash
12Requires: desktop-file-utils
7655f7fc
ER
13Requires: gtk-update-icon-cache
14Requires: hicolor-icon-theme
ed76ea7e
AM
15Requires: mono(System)
16Requires: mono(System.Web)
17Requires: mono(System.Windows.Forms)
7655f7fc 18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
ed76ea7e 19
7655f7fc 20%define _appdir %{_prefix}/lib/%{name}
ed76ea7e
AM
21
22%description
23Duplicati is a free backup client that securely stores encrypted,
24incremental, compressed backups on cloud storage services and remote
25file servers. It supports targets like Amazon S3, Windows Live
26SkyDrive, Rackspace Cloud Files or WebDAV, SSH, FTP (and many more).
27
28Duplicati has built-in AES-256 encryption and backups be can signed
29using GNU Privacy Guard. A built-in scheduler makes sure that backups
30are always up-to-date. Last but not least, Duplicati provides various
31options and tweaks like filters, deletion rules, transfer and
32bandwidth options to run backups for specific purposes.
33
34%prep
7655f7fc 35%setup -q -c
ed76ea7e 36
7655f7fc 37# for files/doc declaration:
ed76ea7e
AM
38mv usr/share/doc/duplicati/README .
39rm usr/share/doc/duplicati/changelog.Debian.gz
40mv usr/share/doc/duplicati/copyright .
41mv usr/share/doc/duplicati/changelog.gz .
7655f7fc
ER
42rmdir usr/share/doc/duplicati usr/share/doc
43
44rm -r install
45rm usr/share/pixmaps/duplicati.xpm
46
47gzip -d changelog.gz
48
49%install
50rm -rf $RPM_BUILD_ROOT
51install -d $RPM_BUILD_ROOT
52cp -a usr $RPM_BUILD_ROOT
ed76ea7e
AM
53
54# refined desktop file
7655f7fc 55install -d $RPM_BUILD_ROOT%{_desktopdir}
ed76ea7e
AM
56cat <<EOF > $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
57[Desktop Entry]
58Categories=System;Archiving;FileTools;Filesystem;
59Type=Application
60Name=Duplicati
61GenericName= Backup tool
62GenericName[es]= Copias de respaldo
63Comment= Create and maintain local and remote backup copies of your data
64Comment[es]= Cree y mantenga copias de seguridad locales y remotas
65Exec=duplicati
66Icon=duplicati
67Terminal=false
68StartupNotify=true
69EOF
70
71desktop-file-install $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
72
7655f7fc
ER
73%clean
74rm -rf $RPM_BUILD_ROOT
ed76ea7e
AM
75
76%post
7655f7fc
ER
77%update_desktop_database
78%update_icon_cache hicolor
ed76ea7e
AM
79
80%postun
7655f7fc
ER
81%update_desktop_database
82%update_icon_cache hicolor
ed76ea7e
AM
83
84%files
85%defattr(644,root,root,755)
7655f7fc
ER
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
91%dir %{_appdir}
92%{_appdir}/*.txt
93%{_appdir}/*.dll
94%{_appdir}/*.exe
95%{_appdir}/*.exe.config
96%{_appdir}/*.xml
97%{_appdir}/SQLite
98%{_appdir}/Tools
99%{_appdir}/alphavss
100%{_appdir}/licenses
101%dir %{_appdir}/lvm-scripts
102%attr(755,root,root) %{_appdir}/lvm-scripts/*.sh
103
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
This page took 0.069541 seconds and 4 git commands to generate.