fwbackups-vl.spec 7.8 KB

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