fwbackups-vl.spec 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
  2. Name: fwbackups
  3. Version: 1.43.2
  4. Release: 2%{?_dist_release}
  5. Summary: A feature-rich user backup program
  6. Summary(ja): 機能豊富なユーザバックアッププログラム
  7. Group: Applications/Archiving
  8. License: GPLv2+
  9. URL: http://www.diffingo.com/content/view/12/45/lang,en/
  10. Source0: http://www.diffingo.com/downloads/%{name}/%{name}-%{version}.tar.gz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildArch: noarch
  13. BuildRequires: desktop-file-utils
  14. BuildRequires: gettext
  15. BuildRequires: intltool, automake
  16. BuildRequires: libxml2
  17. BuildRequires: python-devel >= 2.4
  18. BuildRequires: scrollkeeper
  19. BuildRequires: gnome-doc-utils
  20. BuildRequires: perl-XML-Parser
  21. Requires: /usr/bin/crontab
  22. Requires: tar, rsync
  23. Requires: notify-python, gnome-python
  24. Requires: pygtk2, pygtk2-libglade
  25. Requires: python >= 2.4
  26. Requires: python-paramiko
  27. Requires(post): scrollkeeper
  28. Requires(postun): scrollkeeper
  29. %description
  30. fwbackups is a feature-rich user backup program that allows users (including
  31. but not limited to root) to backup their files on demand or periodically via
  32. backup sets. Each set may have different settings meaning users can backup
  33. groups of files and folders to different destinations at different times.
  34. Restores can be performed at any time using an existing backup from fwbackups
  35. or from the contents of an external folder or archive.
  36. %description -l ja
  37. fwbackups はユーザ(rootを含むもこれに限定されず)がバックアップセットを介して
  38. 要求に応じて、或いは定期的にファイルのバックアップをとることができる
  39. 機能豊富なユーザバックアッププログラムです。
  40. 各々のセットには、ユーザが異なる時間・異なる目的地にファイルとフォルダのグループの
  41. バックアップを取ることができることを意味している異なるセッティングがあるかもしれません。
  42. リストアは、いつでも fwbackups 、或いは外部フォルダやアーカイブのコンテンツから
  43. 既存のバックアップを使用することで実行できます。
  44. %prep
  45. %setup -q
  46. %build
  47. %configure --disable-scrollkeeper
  48. # We don't implement this yet: make %{?_smp_mflags}
  49. make
  50. %install
  51. rm -rf $RPM_BUILD_ROOT
  52. make install DESTDIR=$RPM_BUILD_ROOT
  53. desktop-file-install --vendor vine\
  54. --dir ${RPM_BUILD_ROOT}%{_datadir}/applications\
  55. --delete-original \
  56. ${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop
  57. %find_lang %{name} --with-gnome
  58. %clean
  59. rm -rf $RPM_BUILD_ROOT
  60. %post
  61. scrollkeeper-update -q -o %{_datadir}/omf/%{name} || :
  62. %postun
  63. scrollkeeper-update -q || :
  64. %files -f %{name}.lang
  65. %defattr(-,root,root,-)
  66. %{_bindir}/*
  67. %{_datadir}/%{name}/
  68. %{_datadir}/pixmaps/*
  69. %{_datadir}/applications/vine-*.desktop
  70. %{python_sitelib}/%{name}/
  71. %doc AUTHORS README COPYING COPYING-DOCS ChangeLog TODO
  72. %changelog
  73. * Thu Mar 4 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.43.2-2
  74. - rebuilt with new environment
  75. * Wed Jul 29 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.43.2-1
  76. - initial build for VineSeed
  77. * Wed Oct 1 2008 Stewart Adam <s.adam at diffingo.com> 1.43.2-1
  78. - Update to 1.43.2 final
  79. - BR: gnome-doc-utils
  80. * Fri Jul 18 2008 Stewart Adam <s.adam at diffingo.com> 1.43.2-0.1.rc3
  81. - Update to 1.43.2rc3
  82. * Sat May 31 2008 Stewart Adam <s.adam at diffingo.com> 1.43.2-0.1.rc2
  83. - Update to 1.43.2rc2
  84. * Sat Apr 12 2008 Stewart Adam <s.adam at diffingo.com> 1.43.2-0.1.rc1
  85. - Update to 1.43.2rc1
  86. * Thu Jan 17 2008 Stewart Adam <s.adam at diffingo.com> 1.43.2-0.1.beta3
  87. - Update to beta3 (not finished work yet)
  88. - BR: libxml2
  89. - Remove useless python >= 2.4 BR
  90. - Remove scrollkeeper scriptlets; Only need that for .omf files
  91. - Don't require vixie-cron, but do require /usr/bin/crontab
  92. * Wed Oct 31 2007 Stewart Adam <s.adam at diffingo.com> 1.43.2-0.1.beta1
  93. - Update to 1.43.2 beta1
  94. * Mon Oct 22 2007 Stewart Adam <s.adam at diffingo.com> 1.43.2-0.1
  95. - 1.42.3 spec using autotools/automake
  96. - Remove Manual fields patch
  97. * Sat Sep 1 2007 Stewart Adam <s.adam at diffingo.com> 1.43.1-5
  98. - Add BR python-devel
  99. * Thu Aug 16 2007 Stewart Adam <s.adam at diffingo.com> 1.43.1-4
  100. - Add Requires vixie-rcron
  101. * Mon Aug 13 2007 Stewart Adam <s.adam at diffingo.com> 1.43.1-3
  102. - Update license field
  103. * Wed Jul 25 2007 Stewart Adam <s.adam at diffingo.com> 1.43.1-2
  104. - Add Manual fields patch (bz #249592)
  105. * Sun Jul 22 2007 Stewart Adam <s.adam at diffingo.com> 1.43.1-1
  106. - Change get_python_lib() to get_python_lib(1) for x86_64
  107. - Add new Requires and Post(un) scripts because of new documentation
  108. - Switch all instances of fwbackups to %%{name} for consistency
  109. - Update to 1.43.1 (see CHANGELOG file for details on version changes)
  110. * Sun Jul 8 2007 Stewart Adam <s.adam at diffingo.com> 1.43.0-1
  111. - Add BuildRequires python 2.4, gettext
  112. - Add Requires python 2.4, notify-python
  113. - No longer requires redhat-artwork and usermode
  114. - New description
  115. - Update to 1.43.0 (see CHANGELOG file for details on version changes)
  116. * Sat Apr 14 2007 Stewart Adam <s.adam AT diffingo DOT com> 1.43.0-0.1.beta3
  117. - Update to 1.43.0 Beta3
  118. * Mon Mar 26 2007 Stewart Adam <s.adam AT diffingo DOT com> 1.43.0-0.1.beta2
  119. - Update to 1.43.0 Beta2
  120. * Sun Mar 18 2007 Stewart Adam <s.adam AT diffingo DOT com> 1.43.0-0.1.beta1
  121. - Make release a Beta1 so the upgrade to final upgrade goes smoothly...
  122. * Fri Mar 16 2007 Stewart Adam <s.adam AT diffingo DOT com> 1.43.0-3
  123. - Minor changes to package again
  124. * Wed Mar 14 2007 Stewart Adam <s.adam AT diffingo DOT com> 1.43.0-2
  125. - Minor changes
  126. * Mon Feb 12 2007 Stewart Adam <s.adam AT diffingo DOT com> 1.43.0-1
  127. - Update to version 1.43
  128. * Sun Jan 28 2007 Stewart Adam <s.adam AT diffingo DOT com> 1.42.2-1
  129. - Update to version 1.42.2 (see CHANGELOG file for details on version changes)
  130. * Sat Sep 30 2006 Stewart Adam <s.adam AT diffingo DOT com> 1.42.1-3
  131. - Clean up spec for final submission to Fedora Extras
  132. * Sat Sep 30 2006 Stewart Adam <s.adam AT diffingo DOT com> 1.42.1-2
  133. - Match upstream md5sum
  134. - Fix capitals in %%Source0 tag
  135. * Tue Sep 26 2006 Stewart Adam <s.adam AT diffingo DOT com> 1.42.1-1
  136. - Clean up %%install section
  137. - Don't install fwbackups.conf twice
  138. - Make tarball match upstream
  139. - Add the default configuration file to %%doc, and make it replaceable
  140. - Update to version 1.42.1 (see CHANGELOG file for details on version changes)
  141. * Thu Sep 21 2006 Stewart Adam <s.adam AT diffingo DOT com> 1.42-5
  142. - Add %%requires: pygtk2-libglade
  143. * Wed Sep 13 2006 Stewart Adam <s.adam AT diffingo DOT com> 1.42-4
  144. - Fix the python_sitearch macro
  145. - Update file paths
  146. - Fix URL tag
  147. * Wed Sep 06 2006 Stewart Adam <s.adam AT diffingo DOT com> 1.42-3
  148. - Made pam use 'include' statements and not the old pam_stack
  149. - Use relative symlinks
  150. * Sun Sep 03 2006 Stewart Adam <s.adam AT diffingo DOT com> 1.42-2
  151. - Added CHANGELOG file for detailed information on changes between versions
  152. - Made this .spec and package files suitable for Fedora Extras submission
  153. * Thu Aug 29 2006 Stewart Adam <s.adam AT diffingo DOT com> 1.42-1
  154. - Fixed errors when removing symbolic links
  155. - Make listing files in RemoveOldBackups list files and directory names, not their contents
  156. * Thu Aug 15 2006 Stewart Adam <s.adam AT diffingo DOT com> 1.42-0
  157. - Rebuild using sample .spec file from Fedora Extras
  158. - Update to version 1.42 (see CHANGELOG file for details on version changes)