fwbackups-vl.spec 7.6 KB

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