deja-dup-vl.spec 4.9 KB

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