deja-dup-vl.spec 2.8 KB

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