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