]>
Commit | Line | Data |
---|---|---|
e9656d4d MB |
1 | Summary: Backup tool |
2 | Name: deja-dup | |
ffe6c8a1 | 3 | Version: 16.0 |
e9656d4d MB |
4 | Release: 1 |
5 | License: GPL v3 | |
6 | Group: X11/Applications | |
ffe6c8a1 MB |
7 | Source0: http://launchpad.net/deja-dup/16/16.0/+download/%{name}-%{version}.tar.bz2 |
8 | # Source0-md5: 5016ac0cf1070a227b0a3703b6390320 | |
e9656d4d MB |
9 | URL: http://launchpad.net/deja-dup |
10 | BuildRequires: GConf2-devel | |
11 | BuildRequires: autoconf >= 2.64 | |
12 | BuildRequires: automake >= 1:1.10 | |
a9647095 | 13 | BuildRequires: docbook-dtd412-xml |
e9656d4d | 14 | BuildRequires: gettext-devel |
ffe6c8a1 | 15 | BuildRequires: glib2-devel >= 1:2.26.0 |
e9656d4d MB |
16 | BuildRequires: gnome-doc-utils |
17 | BuildRequires: gtk+2-devel >= 2:2.18.0 | |
18 | BuildRequires: intltool | |
19 | BuildRequires: libgnome-keyring-devel | |
20 | BuildRequires: libnotify-devel | |
21 | BuildRequires: libtool | |
22 | BuildRequires: libunique-devel | |
a9647095 | 23 | BuildRequires: libxml2-progs |
e9656d4d MB |
24 | BuildRequires: nautilus-devel |
25 | BuildRequires: pkgconfig | |
26 | BuildRequires: rpmbuild(find_lang) >= 1.23 | |
27 | BuildRequires: rpmbuild(macros) >= 1.311 | |
ffe6c8a1 | 28 | BuildRequires: vala >= 0.10.0 |
e9656d4d MB |
29 | Requires(post,postun): gtk+2 |
30 | Requires(post,preun): GConf2 | |
31 | Requires: duplicity | |
ffe6c8a1 | 32 | Requires: glib2 >= 1:2.26.0 |
e9656d4d MB |
33 | Requires: hicolor-icon-theme |
34 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
35 | ||
36 | %description | |
37 | Deja Dup is a simple backup tool. It hides the complexity of doing | |
38 | backups the 'right way' (encrypted, off-site, and regular) and uses | |
39 | duplicity as the backend. | |
40 | ||
41 | Features: | |
42 | - Support for local or remote backup locations, including Amazon S3 | |
43 | - Securely encrypts and compresses your data | |
44 | - Incrementally backs up, letting you restore from any particular | |
45 | backup | |
46 | - Schedules regular backups | |
47 | - Integrates well into your GNOME desktop | |
48 | ||
49 | %prep | |
50 | %setup -q | |
51 | ||
52 | %build | |
53 | %{__intltoolize} | |
54 | %{__libtoolize} | |
55 | %{__aclocal} -I m4 | |
56 | %{__autoconf} | |
57 | %{__autoheader} | |
58 | %{__automake} | |
59 | %configure \ | |
60 | --disable-schemas-install \ | |
61 | --disable-silent-rules | |
62 | ||
63 | %{__make} | |
64 | ||
65 | %install | |
66 | rm -rf $RPM_BUILD_ROOT | |
67 | ||
68 | %{__make} install \ | |
69 | DESTDIR=$RPM_BUILD_ROOT | |
70 | ||
71 | rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-2.0/*.{a,la} | |
72 | ||
73 | %find_lang %{name} --with-gnome --with-omf | |
74 | ||
75 | %clean | |
76 | rm -rf $RPM_BUILD_ROOT | |
77 | ||
78 | %post | |
79 | %update_icon_cache hicolor | |
80 | %gconf_schema_install deja-dup.schemas | |
81 | ||
82 | %preun | |
83 | %gconf_schema_uninstall deja-dup.schemas | |
84 | ||
85 | %postun | |
86 | %update_icon_cache hicolor | |
87 | ||
88 | %files -f %{name}.lang | |
89 | %defattr(644,root,root,755) | |
90 | %doc AUTHORS NEWS | |
91 | %attr(755,root,root) %{_bindir}/deja-dup | |
e9656d4d | 92 | %attr(755,root,root) %{_bindir}/deja-dup-preferences |
ffe6c8a1 MB |
93 | %dir %{_libdir}/deja-dup |
94 | %attr(755,root,root) %{_libdir}/deja-dup/deja-dup-monitor | |
e9656d4d | 95 | %{_desktopdir}/deja-dup.desktop |
ffe6c8a1 | 96 | %{_desktopdir}/deja-dup-preferences.desktop |
e9656d4d MB |
97 | %{_iconsdir}/hicolor/scalable/*/*.svg |
98 | %{_sysconfdir}/xdg/autostart/deja-dup-monitor.desktop | |
99 | %{_sysconfdir}/gconf/schemas/deja-dup.schemas | |
100 | %{_mandir}/man1/*.1* | |
101 | %lang(ar) %{_mandir}/ar/man1/*.1* | |
ffe6c8a1 | 102 | %lang(bg) %{_mandir}/bg/man1/*.1* |
e9656d4d MB |
103 | %lang(cs) %{_mandir}/cs/man1/*.1* |
104 | %lang(da) %{_mandir}/da/man1/*.1* | |
105 | %lang(de) %{_mandir}/de/man1/*.1* | |
106 | %lang(en_GB) %{_mandir}/en_GB/man1/*.1* | |
107 | %lang(es) %{_mandir}/es/man1/*.1* | |
108 | %lang(fi) %{_mandir}/fi/man1/*.1* | |
109 | %lang(fr) %{_mandir}/fr/man1/*.1* | |
110 | %lang(gl) %{_mandir}/gl/man1/*.1* | |
111 | %lang(he) %{_mandir}/he/man1/*.1* | |
112 | %lang(hu) %{_mandir}/hu/man1/*.1* | |
113 | %lang(id) %{_mandir}/id/man1/*.1* | |
114 | %lang(it) %{_mandir}/it/man1/*.1* | |
115 | %lang(ja) %{_mandir}/ja/man1/*.1* | |
116 | %lang(lt) %{_mandir}/lt/man1/*.1* | |
117 | %lang(nl) %{_mandir}/nb/man1/*.1* | |
118 | %lang(nl) %{_mandir}/nl/man1/*.1* | |
8a489cb1 | 119 | %lang(pl) %{_mandir}/pl/man1/*.1* |
ffe6c8a1 | 120 | %lang(pt_BR) %{_mandir}/pt_BR/man1/*.1* |
e9656d4d MB |
121 | %lang(ps) %{_mandir}/ps/man1/*.1* |
122 | %lang(ru) %{_mandir}/ru/man1/*.1* | |
123 | %lang(sv) %{_mandir}/sv/man1/*.1* | |
ffe6c8a1 | 124 | %lang(th) %{_mandir}/th/man1/*.1* |
e9656d4d | 125 | %lang(tr) %{_mandir}/tr/man1/*.1* |
ffe6c8a1 | 126 | %lang(zh_TW) %{_mandir}/zh_TW/man1/*.1* |
e9656d4d | 127 | %attr(755,root,root) %{_libdir}/nautilus/extensions-2.0/libnautilus-deja-dup.so |