deja-dup-vl.spec 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. Summary: Backup utility that use duplicity as the backend
  2. Summary(ja): バックエンドとして duplicity を使うバックアップユーティリティ
  3. Name: deja-dup
  4. Version: 20.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. #Patch0: escape_globs.patch
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. #BuildRequires: GConf2-devel
  13. BuildRequires: cairo-devel
  14. BuildRequires: desktop-file-utils
  15. BuildRequires: dbus-glib-devel
  16. BuildRequires: gettext >= 0.17
  17. #BuildRequires: gtk2-devel >= 2.18
  18. BuildRequires: gtk3-devel
  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: itstool
  24. BuildRequires: libgnome-keyring-devel
  25. BuildRequires: libnotify-devel
  26. BuildRequires: nautilus-devel
  27. BuildRequires: pango-devel
  28. BuildRequires: perl-XML-Parser
  29. BuildRequires: pkgconfig >= 0.90
  30. BuildRequires: vala-devel >= 0.9.2
  31. BuildRequires: unique-devel
  32. Requires: duplicity yelp
  33. #Requires(pre): GConf2
  34. #Requires(post): GConf2
  35. #Requires(preun): GConf2
  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. %description -l ja
  41. Déjà Dup はシンプルなバックアッププログラムです。
  42. バックアップ作業の複雑性を覆い隠して適切な方法(暗号化、オフサイト、通常)で
  43. 行い、バックエンドとして duplicity を使用します。
  44. %prep
  45. %setup -q
  46. #%patch0 -p1
  47. %build
  48. %configure --disable-static --with-nautilus --with-gnu-ld
  49. %{__make} %{?_smp_mflags}
  50. %install
  51. rm -rf $RPM_BUILD_ROOT
  52. #export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
  53. make DESTDIR=$RPM_BUILD_ROOT install
  54. #unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
  55. rm -f %{buildroot}/%{_libdir}/nautilus/extensions-3.0/*.la
  56. desktop-file-install --vendor "" \
  57. --dir %{buildroot}%{_datadir}/applications \
  58. %{buildroot}%{_datadir}/applications/%{name}.desktop
  59. desktop-file-install --vendor "" \
  60. --dir %{buildroot}%{_datadir}/applications \
  61. %{buildroot}%{_datadir}/applications/%{name}-preferences.desktop
  62. desktop-file-validate %{buildroot}/%{_sysconfdir}/xdg/autostart/deja-dup-monitor.desktop
  63. %find_lang %{name}
  64. %clean
  65. rm -rf ${RPM_BUILD_ROOT}
  66. %post
  67. touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
  68. %postun
  69. if [ $1 -eq 0 ] ; then
  70. touch --no-create %{_datadir}/icons/hicolor &>/dev/null
  71. gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
  72. glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
  73. fi
  74. %posttrans
  75. gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
  76. glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
  77. %files -f %{name}.lang
  78. %doc COPYING NEWS
  79. %{_bindir}/deja-dup
  80. %{_bindir}/deja-dup-preferences
  81. %{_datadir}/applications/deja-dup-preferences.desktop
  82. %{_mandir}/man1/deja-dup-preferences.1.gz
  83. %{_mandir}/man1/deja-dup.1.gz
  84. %{_mandir}/*/man1/deja-dup-preferences.1.gz
  85. %{_mandir}/*/man1/deja-dup.1.gz
  86. %{_datadir}/GConf/gsettings/deja-dup.convert
  87. %{_datadir}/glib-2.0/schemas/org.gnome.DejaDup.gschema.xml
  88. %{_sysconfdir}/xdg/autostart/deja-dup-monitor.desktop
  89. %{_libdir}/nautilus/extensions-3.0/libdeja-dup.so
  90. %{_libexecdir}/deja-dup/deja-dup*
  91. %{_datadir}/applications/deja-dup.desktop
  92. %{_datadir}/deja-dup/ui/restore-missing.ui
  93. %{_datadir}/icons/hicolor/*/apps/deja-dup.png
  94. %{_datadir}/icons/hicolor/scalable/apps/deja-dup-symbolic.svg
  95. %{_datadir}/icons/hicolor/scalable/devices/deja-dup-cloud.svg
  96. %{_datadir}/help/*/deja-dup/
  97. %changelog
  98. * Sun Mar 18 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20.2-1
  99. - new upstream release
  100. - added BuildRequires: itstool, libgnome-keyring-devel
  101. - changed BuildRequires: gtk2-devel >= 2.18 to gtk3-devel
  102. - dropt Gconf2 dependency
  103. - BuildRequires: GConf2-devel
  104. - Requires: GConf2
  105. - fixed configure option
  106. - added --with-nautilus --with-gnu-ld
  107. - deleted --disable-schemas-install
  108. * Sun Dec 5 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 16.1.1-1
  109. - new upstream release
  110. * Thu Oct 14 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 16.0-1
  111. - new upstream release
  112. - changed BuildRequires: vala-devel >= 0.9.2
  113. - added deja-dup-preferences.desktop
  114. * Tue Jun 9 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 14.2-1
  115. - new upstream release
  116. * Fri May 21 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 14.1-1
  117. - initial build for VineSeed