]>
Commit | Line | Data |
---|---|---|
e9656d4d | 1 | Summary: Backup tool |
85cd9fdb | 2 | Summary(pl.UTF-8): Narzędzie do wykonywania kopii zapasowych |
e9656d4d | 3 | Name: deja-dup |
85cd9fdb | 4 | Version: 32.0 |
29567491 | 5 | Release: 1 |
e9656d4d MB |
6 | License: GPL v3 |
7 | Group: X11/Applications | |
85cd9fdb JK |
8 | Source0: http://launchpad.net/deja-dup/32/32.0/+download/%{name}-%{version}.tar.xz |
9 | # Source0-md5: 83e693cfebe397be0c67d3d362ae92c9 | |
e9656d4d | 10 | URL: http://launchpad.net/deja-dup |
85cd9fdb | 11 | BuildRequires: cmake |
a9647095 | 12 | BuildRequires: docbook-dtd412-xml |
b2e23ef9 | 13 | BuildRequires: gettext-tools |
85cd9fdb | 14 | BuildRequires: glib2-devel >= 1:2.32.0 |
e9656d4d | 15 | BuildRequires: gnome-doc-utils |
29567491 MB |
16 | BuildRequires: gtk+3-devel >= 3.0.0 |
17 | BuildRequires: intltool >= 0.40.0 | |
57808e9d | 18 | BuildRequires: itstool |
e9656d4d | 19 | BuildRequires: libgnome-keyring-devel |
29567491 MB |
20 | BuildRequires: libnotify-devel >= 0.7.0 |
21 | BuildRequires: libtool >= 2:2.2.6 | |
22 | BuildRequires: libunique3-devel | |
a9647095 | 23 | BuildRequires: libxml2-progs |
29567491 MB |
24 | BuildRequires: nautilus-devel >= 3.0.0 |
25 | BuildRequires: perl-Locale-gettext | |
e9656d4d | 26 | BuildRequires: pkgconfig |
57808e9d | 27 | BuildRequires: rpmbuild(find_lang) >= 1.35 |
e9656d4d | 28 | BuildRequires: rpmbuild(macros) >= 1.311 |
85cd9fdb | 29 | BuildRequires: vala >= 0.20.0 |
57808e9d | 30 | BuildRequires: yelp-tools >= 3.2.0 |
85cd9fdb JK |
31 | BuildRequires: libpeas-devel |
32 | BuildRequires: vala-libsecret | |
593a906e | 33 | Requires(post,postun): gtk-update-icon-cache |
29567491 | 34 | Requires(post,postun): glib2 >= 1:2.26.0 |
85cd9fdb | 35 | Requires: duplicity >= 0.6.23 |
e9656d4d MB |
36 | Requires: hicolor-icon-theme |
37 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
38 | ||
39 | %description | |
40 | Deja Dup is a simple backup tool. It hides the complexity of doing | |
41 | backups the 'right way' (encrypted, off-site, and regular) and uses | |
42 | duplicity as the backend. | |
43 | ||
44 | Features: | |
45 | - Support for local or remote backup locations, including Amazon S3 | |
46 | - Securely encrypts and compresses your data | |
47 | - Incrementally backs up, letting you restore from any particular | |
48 | backup | |
49 | - Schedules regular backups | |
50 | - Integrates well into your GNOME desktop | |
51 | ||
85cd9fdb JK |
52 | %description -l pl.UTF-8 |
53 | Deja Dup jest prostym narzędziem do wykonywania kopii zapasowych. Ukrywa on | |
54 | złożoność prawidłowych kopii zapasowych (szyfrowanych, poza komputerem i | |
55 | regularnych) i używa programu duplicity jako mechanizmu. | |
56 | ||
57 | %package -n nautilus-extension-deja-dup | |
58 | Summary: deja-dup extension for Nautilus | |
59 | Summary(pl.UTF-8): Rozszerzenie deja-dup dla Nautilusa | |
60 | Group: X11/Applications | |
61 | Requires: %{name} = %{version}-%{release} | |
62 | Requires: nautilus >= 3.0.0 | |
63 | ||
64 | %description -n nautilus-extension-deja-dup | |
65 | This package provides a Nautilus extension that adds the 'Revert to | |
66 | Previous Version' option to the right-click context menu in Nautilus. | |
67 | ||
68 | %description -n nautilus-extension-deja-dup -l pl.UTF-8 | |
69 | Ten pakiet dostarcza rozszerzenie Nautilusa dodające opcję "Przywróć do | |
70 | poprzedniej wersji" do menu kontekstowego uaktywnianego prawym klawiszem myszy | |
71 | w Nautilusie. | |
72 | ||
e9656d4d MB |
73 | %prep |
74 | %setup -q | |
75 | ||
76 | %build | |
85cd9fdb JK |
77 | %cmake \ |
78 | -DENABLE_NAUTILUS=ON \ | |
79 | -DCMAKE_INSTALL_SYSCONFDIR=%{_sysconfdir} \ | |
80 | -DCMAKE_INSTALL_LIBEXECDIR=%{_libexecdir} | |
e9656d4d MB |
81 | |
82 | %{__make} | |
83 | ||
84 | %install | |
85 | rm -rf $RPM_BUILD_ROOT | |
86 | ||
87 | %{__make} install \ | |
88 | DESTDIR=$RPM_BUILD_ROOT | |
89 | ||
85cd9fdb JK |
90 | for lang in az bo en_CA hi io kk ps shn; do |
91 | %{__rm} -rf $RPM_BUILD_ROOT%{_localedir}/$lang | |
92 | done | |
93 | ||
94 | for lang in bs en_AU eo my sk; do | |
95 | %{__rm} -rf $RPM_BUILD_ROOT%{_datadir}/help/$lang | |
96 | done | |
97 | ||
98 | for lang in az be bn bo en_CA fr_CA fy gd hi io kk km mhr my pa se shn si ta ug uz; do | |
99 | %{__rm} -rf $RPM_BUILD_ROOT%{_mandir}/$lang | |
100 | done | |
e9656d4d | 101 | |
29567491 | 102 | %find_lang %{name} --with-gnome |
e9656d4d MB |
103 | |
104 | %clean | |
105 | rm -rf $RPM_BUILD_ROOT | |
106 | ||
107 | %post | |
108 | %update_icon_cache hicolor | |
29567491 | 109 | %glib_compile_schemas |
e9656d4d MB |
110 | |
111 | %postun | |
112 | %update_icon_cache hicolor | |
29567491 | 113 | %glib_compile_schemas |
e9656d4d MB |
114 | |
115 | %files -f %{name}.lang | |
116 | %defattr(644,root,root,755) | |
117 | %doc AUTHORS NEWS | |
118 | %attr(755,root,root) %{_bindir}/deja-dup | |
e9656d4d | 119 | %attr(755,root,root) %{_bindir}/deja-dup-preferences |
ffe6c8a1 | 120 | %dir %{_libdir}/deja-dup |
85cd9fdb | 121 | %dir %{_libdir}/deja-dup/tools |
ffe6c8a1 | 122 | %attr(755,root,root) %{_libdir}/deja-dup/deja-dup-monitor |
29567491 MB |
123 | %{_datadir}/GConf/gsettings/deja-dup.convert |
124 | %{_datadir}/deja-dup | |
125 | %{_datadir}/glib-2.0/schemas/org.gnome.DejaDup.gschema.xml | |
e9656d4d | 126 | %{_desktopdir}/deja-dup.desktop |
ffe6c8a1 | 127 | %{_desktopdir}/deja-dup-preferences.desktop |
29567491 | 128 | %{_iconsdir}/hicolor/*/*/*.png |
e9656d4d MB |
129 | %{_iconsdir}/hicolor/scalable/*/*.svg |
130 | %{_sysconfdir}/xdg/autostart/deja-dup-monitor.desktop | |
85cd9fdb JK |
131 | %{_libdir}/deja-dup/libdeja.so |
132 | %{_libdir}/deja-dup/libwidgets.so | |
133 | %{_libdir}/deja-dup/tools/duplicity.plugin | |
134 | %{_libdir}/deja-dup/tools/libduplicity.so | |
135 | %{_datadir}/appdata/deja-dup.appdata.xml | |
e9656d4d MB |
136 | %{_mandir}/man1/*.1* |
137 | %lang(ar) %{_mandir}/ar/man1/*.1* | |
57808e9d | 138 | %lang(ast) %{_mandir}/ast/man1/*.1* |
ffe6c8a1 | 139 | %lang(bg) %{_mandir}/bg/man1/*.1* |
57808e9d | 140 | %lang(bs) %{_mandir}/bs/man1/*.1* |
29567491 | 141 | %lang(ca) %{_mandir}/ca/man1/*.1* |
85cd9fdb | 142 | %lang(ca@valencia) %{_mandir}/ca@valencia/man1/*.1* |
e9656d4d | 143 | %lang(cs) %{_mandir}/cs/man1/*.1* |
57808e9d | 144 | %lang(cy) %{_mandir}/cy/man1/*.1* |
e9656d4d MB |
145 | %lang(da) %{_mandir}/da/man1/*.1* |
146 | %lang(de) %{_mandir}/de/man1/*.1* | |
57808e9d MB |
147 | %lang(el) %{_mandir}/el/man1/*.1* |
148 | %lang(en_AU) %{_mandir}/en_AU/man1/*.1* | |
e9656d4d | 149 | %lang(en_GB) %{_mandir}/en_GB/man1/*.1* |
29567491 | 150 | %lang(eo) %{_mandir}/eo/man1/*.1* |
e9656d4d | 151 | %lang(es) %{_mandir}/es/man1/*.1* |
85cd9fdb | 152 | %lang(et) %{_mandir}/et/man1/*.1* |
29567491 | 153 | %lang(eu) %{_mandir}/eu/man1/*.1* |
57808e9d | 154 | %lang(fa) %{_mandir}/fa/man1/*.1* |
e9656d4d | 155 | %lang(fi) %{_mandir}/fi/man1/*.1* |
29567491 | 156 | %lang(fo) %{_mandir}/fo/man1/*.1* |
e9656d4d MB |
157 | %lang(fr) %{_mandir}/fr/man1/*.1* |
158 | %lang(gl) %{_mandir}/gl/man1/*.1* | |
159 | %lang(he) %{_mandir}/he/man1/*.1* | |
57808e9d | 160 | %lang(hr) %{_mandir}/hr/man1/*.1* |
e9656d4d MB |
161 | %lang(hu) %{_mandir}/hu/man1/*.1* |
162 | %lang(id) %{_mandir}/id/man1/*.1* | |
163 | %lang(it) %{_mandir}/it/man1/*.1* | |
164 | %lang(ja) %{_mandir}/ja/man1/*.1* | |
57808e9d | 165 | %lang(ko) %{_mandir}/ko/man1/*.1* |
29567491 | 166 | %lang(ku) %{_mandir}/ku/man1/*.1* |
e9656d4d | 167 | %lang(lt) %{_mandir}/lt/man1/*.1* |
57808e9d | 168 | %lang(lv) %{_mandir}/lv/man1/*.1* |
29567491 | 169 | %lang(ml) %{_mandir}/ml/man1/*.1* |
57808e9d | 170 | %lang(ms) %{_mandir}/ms/man1/*.1* |
29567491 | 171 | %lang(nb) %{_mandir}/nb/man1/*.1* |
e9656d4d | 172 | %lang(nl) %{_mandir}/nl/man1/*.1* |
29567491 | 173 | %lang(nn) %{_mandir}/nn/man1/*.1* |
57808e9d | 174 | %lang(oc) %{_mandir}/oc/man1/*.1* |
8a489cb1 | 175 | %lang(pl) %{_mandir}/pl/man1/*.1* |
e9656d4d | 176 | %lang(ps) %{_mandir}/ps/man1/*.1* |
85cd9fdb JK |
177 | %lang(pt) %{_mandir}/pt/man1/*.1* |
178 | %lang(pt_BR) %{_mandir}/pt_BR/man1/*.1* | |
29567491 | 179 | %lang(ro) %{_mandir}/ro/man1/*.1* |
e9656d4d | 180 | %lang(ru) %{_mandir}/ru/man1/*.1* |
29567491 | 181 | %lang(sk) %{_mandir}/sk/man1/*.1* |
57808e9d MB |
182 | %lang(sl) %{_mandir}/sl/man1/*.1* |
183 | %lang(sq) %{_mandir}/sq/man1/*.1* | |
184 | %lang(sr) %{_mandir}/sr/man1/*.1* | |
e9656d4d | 185 | %lang(sv) %{_mandir}/sv/man1/*.1* |
57808e9d | 186 | %lang(te) %{_mandir}/te/man1/*.1* |
ffe6c8a1 | 187 | %lang(th) %{_mandir}/th/man1/*.1* |
e9656d4d | 188 | %lang(tr) %{_mandir}/tr/man1/*.1* |
29567491 | 189 | %lang(uk) %{_mandir}/uk/man1/*.1* |
57808e9d | 190 | %lang(vi) %{_mandir}/vi/man1/*.1* |
29567491 | 191 | %lang(zh_CN) %{_mandir}/zh_CN/man1/*.1* |
57808e9d | 192 | %lang(zh_HK) %{_mandir}/zh_HK/man1/*.1* |
ffe6c8a1 | 193 | %lang(zh_TW) %{_mandir}/zh_TW/man1/*.1* |
85cd9fdb JK |
194 | |
195 | %files -n nautilus-extension-deja-dup | |
196 | %defattr(644,root,root,755) | |
57808e9d | 197 | %attr(755,root,root) %{_libdir}/nautilus/extensions-3.0/libdeja-dup.so |