1 | Summary: Backup utility that use duplicity as the backend |
---|
2 | Summary(ja): バックエンドとして duplicity を使うバックアップユーティリティ |
---|
3 | Name: deja-dup |
---|
4 | Version: 24.0 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | Group: Applications/Archiving |
---|
7 | License: GPLv3 |
---|
8 | URL: https://launchpad.net/deja-dup |
---|
9 | Source0: %{name}-%{version}.tar.xz |
---|
10 | #Patch0: escape_globs.patch |
---|
11 | |
---|
12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
13 | |
---|
14 | #BuildRequires: GConf2-devel |
---|
15 | BuildRequires: cairo-devel |
---|
16 | BuildRequires: desktop-file-utils |
---|
17 | BuildRequires: dbus-glib-devel |
---|
18 | BuildRequires: gettext >= 0.17 |
---|
19 | #BuildRequires: gtk2-devel >= 2.18 |
---|
20 | BuildRequires: gtk3-devel |
---|
21 | BuildRequires: glib2-devel >= 2.20 |
---|
22 | BuildRequires: gnome-doc-utils >= 0.3.2 |
---|
23 | #BuildRequires: gnome-keyring-devel |
---|
24 | BuildRequires: intltool >= 0.40 |
---|
25 | BuildRequires: itstool |
---|
26 | BuildRequires: libgnome-keyring-devel |
---|
27 | BuildRequires: libnotify-devel |
---|
28 | BuildRequires: libpeas-devel |
---|
29 | BuildRequires: nautilus-devel |
---|
30 | BuildRequires: pango-devel |
---|
31 | BuildRequires: perl-XML-Parser |
---|
32 | BuildRequires: pkgconfig >= 0.90 |
---|
33 | BuildRequires: vala-devel >= 0.9.2 |
---|
34 | BuildRequires: unique-devel |
---|
35 | |
---|
36 | Requires: duplicity yelp |
---|
37 | #Requires(pre): GConf2 |
---|
38 | #Requires(post): GConf2 |
---|
39 | #Requires(preun): GConf2 |
---|
40 | |
---|
41 | %description |
---|
42 | Déjà Dup is a simple backup program. |
---|
43 | It hides the complexity of doing backups the 'right way' |
---|
44 | (encrypted, off-site, and regular) and uses duplicity as the backend. |
---|
45 | |
---|
46 | %description -l ja |
---|
47 | Déjà Dup はシンプルなバックアッププログラムです。 |
---|
48 | バックアップ作業の複雑性を覆い隠して適切な方法(暗号化、オフサイト、通常)で |
---|
49 | 行い、バックエンドとして duplicity を使用します。 |
---|
50 | |
---|
51 | %prep |
---|
52 | %setup -q |
---|
53 | #%patch0 -p1 |
---|
54 | |
---|
55 | %build |
---|
56 | %configure --disable-static --with-nautilus --with-gnu-ld |
---|
57 | |
---|
58 | %{__make} %{?_smp_mflags} |
---|
59 | |
---|
60 | %install |
---|
61 | rm -rf $RPM_BUILD_ROOT |
---|
62 | #export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
---|
63 | make DESTDIR=$RPM_BUILD_ROOT install |
---|
64 | #unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
---|
65 | |
---|
66 | rm -f %{buildroot}/%{_libdir}/nautilus/extensions-3.0/*.la |
---|
67 | rm -f %{buildroot}/%{_libdir}/%{name}/*.la |
---|
68 | rm -f %{buildroot}/%{_libexecdir}/tools/*.la |
---|
69 | |
---|
70 | desktop-file-install --vendor "" \ |
---|
71 | --dir %{buildroot}%{_datadir}/applications \ |
---|
72 | %{buildroot}%{_datadir}/applications/%{name}.desktop |
---|
73 | |
---|
74 | desktop-file-install --vendor "" \ |
---|
75 | --dir %{buildroot}%{_datadir}/applications \ |
---|
76 | %{buildroot}%{_datadir}/applications/%{name}-preferences.desktop |
---|
77 | |
---|
78 | desktop-file-validate %{buildroot}/%{_sysconfdir}/xdg/autostart/deja-dup-monitor.desktop |
---|
79 | |
---|
80 | %find_lang %{name} |
---|
81 | |
---|
82 | %clean |
---|
83 | rm -rf ${RPM_BUILD_ROOT} |
---|
84 | |
---|
85 | %post |
---|
86 | touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : |
---|
87 | |
---|
88 | %postun |
---|
89 | if [ $1 -eq 0 ] ; then |
---|
90 | touch --no-create %{_datadir}/icons/hicolor &>/dev/null |
---|
91 | gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : |
---|
92 | glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : |
---|
93 | fi |
---|
94 | |
---|
95 | %posttrans |
---|
96 | gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : |
---|
97 | glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : |
---|
98 | |
---|
99 | |
---|
100 | %files -f %{name}.lang |
---|
101 | %doc COPYING NEWS |
---|
102 | %{_bindir}/deja-dup |
---|
103 | %{_bindir}/deja-dup-preferences |
---|
104 | %{_datadir}/applications/deja-dup-preferences.desktop |
---|
105 | %{_mandir}/man1/deja-dup-preferences.1.gz |
---|
106 | %{_mandir}/man1/deja-dup.1.gz |
---|
107 | %{_mandir}/*/man1/deja-dup-preferences.1.gz |
---|
108 | %{_mandir}/*/man1/deja-dup.1.gz |
---|
109 | %{_datadir}/GConf/gsettings/deja-dup.convert |
---|
110 | %{_datadir}/glib-2.0/schemas/org.gnome.DejaDup.gschema.xml |
---|
111 | %{_sysconfdir}/xdg/autostart/deja-dup-monitor.desktop |
---|
112 | %{_libdir}/%{name}/lib*.so |
---|
113 | %{_libdir}/nautilus/extensions-3.0/libdeja-dup.so |
---|
114 | %{_libexecdir}/deja-dup/deja-dup* |
---|
115 | %{_libexecdir}/deja-dup/tools/ |
---|
116 | %{_datadir}/applications/deja-dup.desktop |
---|
117 | %{_datadir}/deja-dup/ui/restore-missing.ui |
---|
118 | %{_datadir}/icons/hicolor/*/apps/deja-dup.png |
---|
119 | %{_datadir}/icons/hicolor/scalable/apps/deja-dup-symbolic.svg |
---|
120 | %{_datadir}/icons/hicolor/scalable/devices/deja-dup-cloud.svg |
---|
121 | %{_datadir}/help/*/deja-dup/ |
---|
122 | |
---|
123 | %changelog |
---|
124 | * Fri Nov 30 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 24.0-1 |
---|
125 | - new upstream release |
---|
126 | - added BuildRequires: libpeas-devel |
---|
127 | |
---|
128 | * Tue May 01 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 22.1-1 |
---|
129 | - new upstream release |
---|
130 | - changed source archive type to xz |
---|
131 | - dropt BuildRequires: gnome-keyring-devel |
---|
132 | |
---|
133 | * Sun Mar 18 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20.2-1 |
---|
134 | - new upstream release |
---|
135 | - added BuildRequires: itstool, libgnome-keyring-devel |
---|
136 | - changed BuildRequires: gtk2-devel >= 2.18 to gtk3-devel |
---|
137 | - dropt Gconf2 dependency |
---|
138 | - BuildRequires: GConf2-devel |
---|
139 | - Requires: GConf2 |
---|
140 | - fixed configure option |
---|
141 | - added --with-nautilus --with-gnu-ld |
---|
142 | - deleted --disable-schemas-install |
---|
143 | |
---|
144 | * Sun Dec 5 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 16.1.1-1 |
---|
145 | - new upstream release |
---|
146 | |
---|
147 | * Thu Oct 14 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 16.0-1 |
---|
148 | - new upstream release |
---|
149 | - changed BuildRequires: vala-devel >= 0.9.2 |
---|
150 | - added deja-dup-preferences.desktop |
---|
151 | |
---|
152 | * Tue Jun 9 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 14.2-1 |
---|
153 | - new upstream release |
---|
154 | |
---|
155 | * Fri May 21 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 14.1-1 |
---|
156 | - initial build for VineSeed |
---|