deja-dup-vl.spec 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. Summary: Backup utility that use duplicity as the backend
  2. Summary(ja): バックエンドとして duplicity を使うバックアップユーティリティ
  3. Name: deja-dup
  4. Version: 16.1.1
  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.9.2
  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. desktop-file-install --vendor "" \
  55. --dir %{buildroot}%{_datadir}/applications \
  56. %{buildroot}%{_datadir}/applications/%{name}-preferences.desktop
  57. %find_lang %{name}
  58. %clean
  59. rm -rf ${RPM_BUILD_ROOT}
  60. %post
  61. touch --no-create %{_datadir}/icons/hicolor
  62. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  63. gtk-update-icon-cache -q %{_datadir}/icons/hicolor
  64. fi
  65. %postun
  66. touch --no-create %{_datadir}/icons/hicolor
  67. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  68. gtk-update-icon-cache -q %{_datadir}/icons/hicolor
  69. fi
  70. %files -f %{name}.lang
  71. %defattr(-,root,root,- )
  72. %doc ABOUT-NLS AUTHORS COPYING NEWS
  73. %{_sysconfdir}/gconf/
  74. %{_sysconfdir}/xdg/autostart/
  75. %{_bindir}/%{name}*
  76. %{_libdir}/%{name}/
  77. %{_libdir}/nautilus
  78. %{_datadir}/applications/*.desktop
  79. %{_datadir}/gnome/help
  80. %{_datadir}/icons/hicolor/
  81. #%{_datadir}/omf/
  82. %{_mandir}/*
  83. %changelog
  84. * Sun Dec 5 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 16.1.1-1
  85. - new upstream release
  86. * Thu Oct 14 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 16.0-1
  87. - new upstream release
  88. - changed BuildRequires: vala-devel >= 0.9.2
  89. - added deja-dup-preferences.desktop
  90. * Tue Jun 9 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 14.2-1
  91. - new upstream release
  92. * Fri May 21 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 14.1-1
  93. - initial build for VineSeed