]> git.pld-linux.org Git - packages/duplicati.git/blame - duplicati.spec
- raw from duplicati website
[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+
6URL: http://www.duplicati.com
7#Source0: http://duplicati.googlecode.com/files/Duplicati%20%{version}.tgz
8Source0: Duplicati %{version}.tgz
9
10Requires: bash
11Requires: desktop-file-utils
12Requires: mono(System)
13Requires: mono(System.Web)
14Requires: mono(System.Windows.Forms)
15
16# we don't want automatic dependencies generation because
17# precompiled binaries generates weird ones:
18%global __requires_exclude ^mono.*$
19
20
21%description
22Duplicati is a free backup client that securely stores encrypted,
23incremental, compressed backups on cloud storage services and remote
24file servers. It supports targets like Amazon S3, Windows Live
25SkyDrive, Rackspace Cloud Files or WebDAV, SSH, FTP (and many more).
26
27Duplicati has built-in AES-256 encryption and backups be can signed
28using GNU Privacy Guard. A built-in scheduler makes sure that backups
29are always up-to-date. Last but not least, Duplicati provides various
30options and tweaks like filters, deletion rules, transfer and
31bandwidth options to run backups for specific purposes.
32
33%prep
34%setup -q -c -n %{name}-%{version}-bin
35
36
37%build
38# binary package, nothing to build
39
40%install
41rm -rf $RPM_BUILD_ROOT
42rm -rf install/
43rm -rf usr/share/pixmaps/duplicati.xpm
44
45#for files/doc declaration:
46mv usr/share/doc/duplicati/README .
47rm usr/share/doc/duplicati/changelog.Debian.gz
48mv usr/share/doc/duplicati/copyright .
49mv usr/share/doc/duplicati/changelog.gz .
50rmdir usr/share/doc/duplicati/ usr/share/doc/
51mv usr/ $RPM_BUILD_ROOT
52
53# refined desktop file
54cat <<EOF > $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
55[Desktop Entry]
56Categories=System;Archiving;FileTools;Filesystem;
57Type=Application
58Name=Duplicati
59GenericName= Backup tool
60GenericName[es]= Copias de respaldo
61Comment= Create and maintain local and remote backup copies of your data
62Comment[es]= Cree y mantenga copias de seguridad locales y remotas
63Exec=duplicati
64Icon=duplicati
65Terminal=false
66StartupNotify=true
67EOF
68
69desktop-file-install $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
70
71
72%post
73/bin/%update_icon_cache_post hicolor || :
74%{_bindir}/gtk-update-icon-cache \
75 --quiet %{_datadir}/icons/hicolor 2> /dev/null|| :
76
77%postun
78/bin/%update_icon_cache_post hicolor || :
79%{_bindir}/gtk-update-icon-cache \
80 --quiet %{_datadir}/icons/hicolor 2> /dev/null|| :
81
82%posttrans
83%{_bindir}/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
84
85%clean
86rm -rf $RPM_BUILD_ROOT
87
88%files
89%defattr(644,root,root,755)
90%doc README copyright changelog.gz
91%attr(755,root,root) %{_bindir}/*
92%{_datadir}/*
93%{_libdir}/*
This page took 0.102635 seconds and 4 git commands to generate.