fwbackups-vl.spec 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  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.4
  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. * Tue Dec 22 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.43.4-1
  75. - new upstream release
  76. * Sat Dec 11 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.43.3-1
  77. - new upstream release
  78. - changed source archive type
  79. - changed Requires: /usr/bin/crontab to vixie-cron
  80. * Thu Mar 4 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.43.2-2
  81. - rebuilt with new environment
  82. * Wed Jul 29 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.43.2-1
  83. - initial build for VineSeed
  84. * Wed Oct 1 2008 Stewart Adam <s.adam at diffingo.com> 1.43.2-1
  85. - Update to 1.43.2 final
  86. - BR: gnome-doc-utils
  87. * Fri Jul 18 2008 Stewart Adam <s.adam at diffingo.com> 1.43.2-0.1.rc3
  88. - Update to 1.43.2rc3
  89. * Sat May 31 2008 Stewart Adam <s.adam at diffingo.com> 1.43.2-0.1.rc2
  90. - Update to 1.43.2rc2
  91. * Sat Apr 12 2008 Stewart Adam <s.adam at diffingo.com> 1.43.2-0.1.rc1
  92. - Update to 1.43.2rc1
  93. * Thu Jan 17 2008 Stewart Adam <s.adam at diffingo.com> 1.43.2-0.1.beta3
  94. - Update to beta3 (not finished work yet)
  95. - BR: libxml2
  96. - Remove useless python >= 2.4 BR
  97. - Remove scrollkeeper scriptlets; Only need that for .omf files
  98. - Don't require vixie-cron, but do require /usr/bin/crontab
  99. * Wed Oct 31 2007 Stewart Adam <s.adam at diffingo.com> 1.43.2-0.1.beta1
  100. - Update to 1.43.2 beta1
  101. * Mon Oct 22 2007 Stewart Adam <s.adam at diffingo.com> 1.43.2-0.1
  102. - 1.42.3 spec using autotools/automake
  103. - Remove Manual fields patch
  104. * Sat Sep 1 2007 Stewart Adam <s.adam at diffingo.com> 1.43.1-5
  105. - Add BR python-devel
  106. * Thu Aug 16 2007 Stewart Adam <s.adam at diffingo.com> 1.43.1-4
  107. - Add Requires vixie-rcron
  108. * Mon Aug 13 2007 Stewart Adam <s.adam at diffingo.com> 1.43.1-3
  109. - Update license field
  110. * Wed Jul 25 2007 Stewart Adam <s.adam at diffingo.com> 1.43.1-2
  111. - Add Manual fields patch (bz #249592)
  112. * Sun Jul 22 2007 Stewart Adam <s.adam at diffingo.com> 1.43.1-1
  113. - Change get_python_lib() to get_python_lib(1) for x86_64
  114. - Add new Requires and Post(un) scripts because of new documentation
  115. - Switch all instances of fwbackups to %%{name} for consistency
  116. - Update to 1.43.1 (see CHANGELOG file for details on version changes)
  117. * Sun Jul 8 2007 Stewart Adam <s.adam at diffingo.com> 1.43.0-1
  118. - Add BuildRequires python 2.4, gettext
  119. - Add Requires python 2.4, notify-python
  120. - No longer requires redhat-artwork and usermode
  121. - New description
  122. - Update to 1.43.0 (see CHANGELOG file for details on version changes)
  123. * Sat Apr 14 2007 Stewart Adam <s.adam AT diffingo DOT com> 1.43.0-0.1.beta3
  124. - Update to 1.43.0 Beta3
  125. * Mon Mar 26 2007 Stewart Adam <s.adam AT diffingo DOT com> 1.43.0-0.1.beta2
  126. - Update to 1.43.0 Beta2
  127. * Sun Mar 18 2007 Stewart Adam <s.adam AT diffingo DOT com> 1.43.0-0.1.beta1
  128. - Make release a Beta1 so the upgrade to final upgrade goes smoothly...
  129. * Fri Mar 16 2007 Stewart Adam <s.adam AT diffingo DOT com> 1.43.0-3
  130. - Minor changes to package again
  131. * Wed Mar 14 2007 Stewart Adam <s.adam AT diffingo DOT com> 1.43.0-2
  132. - Minor changes
  133. * Mon Feb 12 2007 Stewart Adam <s.adam AT diffingo DOT com> 1.43.0-1
  134. - Update to version 1.43
  135. * Sun Jan 28 2007 Stewart Adam <s.adam AT diffingo DOT com> 1.42.2-1
  136. - Update to version 1.42.2 (see CHANGELOG file for details on version changes)
  137. * Sat Sep 30 2006 Stewart Adam <s.adam AT diffingo DOT com> 1.42.1-3
  138. - Clean up spec for final submission to Fedora Extras
  139. * Sat Sep 30 2006 Stewart Adam <s.adam AT diffingo DOT com> 1.42.1-2
  140. - Match upstream md5sum
  141. - Fix capitals in %%Source0 tag
  142. * Tue Sep 26 2006 Stewart Adam <s.adam AT diffingo DOT com> 1.42.1-1
  143. - Clean up %%install section
  144. - Don't install fwbackups.conf twice
  145. - Make tarball match upstream
  146. - Add the default configuration file to %%doc, and make it replaceable
  147. - Update to version 1.42.1 (see CHANGELOG file for details on version changes)
  148. * Thu Sep 21 2006 Stewart Adam <s.adam AT diffingo DOT com> 1.42-5
  149. - Add %%requires: pygtk2-libglade
  150. * Wed Sep 13 2006 Stewart Adam <s.adam AT diffingo DOT com> 1.42-4
  151. - Fix the python_sitearch macro
  152. - Update file paths
  153. - Fix URL tag
  154. * Wed Sep 06 2006 Stewart Adam <s.adam AT diffingo DOT com> 1.42-3
  155. - Made pam use 'include' statements and not the old pam_stack
  156. - Use relative symlinks
  157. * Sun Sep 03 2006 Stewart Adam <s.adam AT diffingo DOT com> 1.42-2
  158. - Added CHANGELOG file for detailed information on changes between versions
  159. - Made this .spec and package files suitable for Fedora Extras submission
  160. * Thu Aug 29 2006 Stewart Adam <s.adam AT diffingo DOT com> 1.42-1
  161. - Fixed errors when removing symbolic links
  162. - Make listing files in RemoveOldBackups list files and directory names, not their contents
  163. * Thu Aug 15 2006 Stewart Adam <s.adam AT diffingo DOT com> 1.42-0
  164. - Rebuild using sample .spec file from Fedora Extras
  165. - Update to version 1.42 (see CHANGELOG file for details on version changes)