[1057] | 1 | Summary: Backup utility that use duplicity as the backend |
---|
| 2 | Summary(ja): バックエンドとして duplicity を使うバックアップユーティリティ |
---|
| 3 | Name: deja-dup |
---|
[2281] | 4 | Version: 16.1.1 |
---|
[1057] | 5 | Release: 1%{?_dist_release} |
---|
| 6 | Group: Applications/Archiving |
---|
| 7 | License: GPLv3 |
---|
| 8 | URL: https://launchpad.net/deja-dup |
---|
| 9 | Source0: %{name}-%{version}.tar.bz2 |
---|
| 10 | |
---|
| 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 12 | |
---|
| 13 | BuildRequires: GConf2-devel |
---|
| 14 | BuildRequires: cairo-devel |
---|
| 15 | BuildRequires: desktop-file-utils |
---|
| 16 | BuildRequires: dbus-glib-devel |
---|
| 17 | BuildRequires: gettext >= 0.17 |
---|
| 18 | BuildRequires: gtk2-devel >= 2.18 |
---|
| 19 | BuildRequires: glib2-devel >= 2.20 |
---|
| 20 | BuildRequires: gnome-doc-utils >= 0.3.2 |
---|
| 21 | BuildRequires: gnome-keyring-devel |
---|
| 22 | BuildRequires: intltool >= 0.40 |
---|
| 23 | BuildRequires: libnotify-devel |
---|
| 24 | BuildRequires: nautilus-devel |
---|
| 25 | BuildRequires: pango-devel |
---|
| 26 | BuildRequires: perl-XML-Parser |
---|
| 27 | BuildRequires: pkgconfig >= 0.90 |
---|
[2059] | 28 | BuildRequires: vala-devel >= 0.9.2 |
---|
[1057] | 29 | BuildRequires: unique-devel |
---|
| 30 | |
---|
| 31 | Requires: duplicity yelp |
---|
| 32 | Requires(pre): GConf2 |
---|
| 33 | Requires(post): GConf2 |
---|
| 34 | Requires(preun): GConf2 |
---|
| 35 | |
---|
| 36 | %description |
---|
| 37 | Déjà Dup is a simple backup program. |
---|
| 38 | It hides the complexity of doing backups the 'right way' |
---|
| 39 | (encrypted, off-site, and regular) and uses duplicity as the backend. |
---|
| 40 | |
---|
| 41 | %description -l ja |
---|
| 42 | Déjà Dup はシンプルなバックアッププログラムです。 |
---|
| 43 | バックアップ作業の複雑性を覆い隠して適切な方法(暗号化、オフサイト、通常)で |
---|
| 44 | 行い、バックエンドとして duplicity を使用します。 |
---|
| 45 | |
---|
| 46 | %prep |
---|
| 47 | %setup -q |
---|
| 48 | |
---|
| 49 | %build |
---|
| 50 | %configure --disable-static --disable-schemas-install |
---|
| 51 | |
---|
| 52 | %{__make} %{?_smp_mflags} |
---|
| 53 | |
---|
| 54 | %install |
---|
| 55 | rm -rf $RPM_BUILD_ROOT |
---|
| 56 | export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
---|
| 57 | make DESTDIR=$RPM_BUILD_ROOT install |
---|
| 58 | unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
---|
| 59 | |
---|
| 60 | rm -f %{buildroot}/%{_libdir}/nautilus/extensions-2.0/*.la |
---|
| 61 | |
---|
| 62 | desktop-file-install --vendor "" \ |
---|
| 63 | --dir %{buildroot}%{_datadir}/applications \ |
---|
| 64 | %{buildroot}%{_datadir}/applications/%{name}.desktop |
---|
| 65 | |
---|
[2059] | 66 | desktop-file-install --vendor "" \ |
---|
| 67 | --dir %{buildroot}%{_datadir}/applications \ |
---|
| 68 | %{buildroot}%{_datadir}/applications/%{name}-preferences.desktop |
---|
| 69 | |
---|
[1057] | 70 | %find_lang %{name} |
---|
| 71 | |
---|
| 72 | %clean |
---|
| 73 | rm -rf ${RPM_BUILD_ROOT} |
---|
| 74 | |
---|
| 75 | %post |
---|
| 76 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 77 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
| 78 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor |
---|
| 79 | fi |
---|
| 80 | |
---|
| 81 | %postun |
---|
| 82 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 83 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
| 84 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor |
---|
| 85 | fi |
---|
| 86 | |
---|
| 87 | |
---|
| 88 | %files -f %{name}.lang |
---|
| 89 | %defattr(-,root,root,- ) |
---|
| 90 | %doc ABOUT-NLS AUTHORS COPYING NEWS |
---|
| 91 | %{_sysconfdir}/gconf/ |
---|
| 92 | %{_sysconfdir}/xdg/autostart/ |
---|
| 93 | %{_bindir}/%{name}* |
---|
[2059] | 94 | %{_libdir}/%{name}/ |
---|
[1057] | 95 | %{_libdir}/nautilus |
---|
[2059] | 96 | %{_datadir}/applications/*.desktop |
---|
[1057] | 97 | %{_datadir}/gnome/help |
---|
| 98 | %{_datadir}/icons/hicolor/ |
---|
[2059] | 99 | #%{_datadir}/omf/ |
---|
[1057] | 100 | %{_mandir}/* |
---|
| 101 | |
---|
| 102 | %changelog |
---|
[2281] | 103 | * Sun Dec 5 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 16.1.1-1 |
---|
| 104 | - new upstream release |
---|
| 105 | |
---|
[2059] | 106 | * Thu Oct 14 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 16.0-1 |
---|
| 107 | - new upstream release |
---|
| 108 | - changed BuildRequires: vala-devel >= 0.9.2 |
---|
| 109 | - added deja-dup-preferences.desktop |
---|
| 110 | |
---|
[1169] | 111 | * Tue Jun 9 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 14.2-1 |
---|
| 112 | - new upstream release |
---|
| 113 | |
---|
[1057] | 114 | * Fri May 21 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 14.1-1 |
---|
| 115 | - initial build for VineSeed |
---|