rdist-vl.spec 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. Summary: Maintains identical copies of files on multiple machines.
  2. Summary(ja): 複数のマシン上で同一ファイルのコピーを保持するプログラム
  3. Name: rdist
  4. Version: 6.1.5
  5. Release: 45%{?_dist_release}
  6. Epoch: 1
  7. License: BSD
  8. Group: Applications/System
  9. Source0: http://www.MagniComp.com/download/rdist/rdist-%{version}.tar.gz
  10. Source1: http://www.magnicomp.com/rdist/rdist-eu-license.txt
  11. Source2: http://people.redhat.com/pknirsch/src/rdist-v1.1.tar.bz2
  12. Patch0: rdist-6.1.5-linux.patch
  13. Patch1: rdist-6.1.5-links.patch
  14. Patch2: rdist-6.1.5-oldpath.patch
  15. Patch3: rdist-6.1.5-hardlink.patch
  16. Patch4: rdist-6.1.5-bison.patch
  17. Patch5: rdist-6.1.5-varargs.patch
  18. Patch6: rdist-6.1.5-maxargs.patch
  19. Patch7: rdist-6.1.5-lfs.patch
  20. Patch8: rdist-6.1.5-cleanup.patch
  21. Patch9: rdist-6.1.5-svr4.patch
  22. Patch10: rdist-6.1.5-ssh.patch
  23. Patch11: rdist-6.1.5-mkstemp.patch
  24. Patch12: rdist-6.1.5-stat64.patch
  25. Patch13: rdist-6.1.5-re_args.patch
  26. Patch14: rdist-6.1.5-fix-msgsndnotify-loop.patch
  27. URL: http://www.MagniComp.comA/rdist
  28. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  29. BuildRequires: byacc bison
  30. %description
  31. The RDist program maintains identical copies of files on multiple
  32. hosts. If possible, RDist will preserve the owner, group, mode and
  33. mtime of files and it can update programs that are executing.
  34. Install rdist if you need to maintain identical copies of files on
  35. multiple hosts.
  36. %description -l ja
  37. rdist プログラムは複数のホスト上に同一ファイルのコピーを保持します.
  38. 可能であれば rdist はファイルのオーナー,グループ,モードや mtime も
  39. オリジナルのままにしようとします.現在実行中のプログラムの
  40. アップデートも可能です.
  41. 複数のホスト上で同一ファイルのコピーを保持したい場合は
  42. rdist をインストールして下さい.
  43. %prep
  44. %setup -q
  45. %setup -q -T -D -a 2
  46. cp %{SOURCE1} .
  47. %patch0 -p1 -b .linux
  48. %patch1 -p1 -b .links
  49. %patch2 -p1 -b .oldpath
  50. %patch3 -p1 -b .hardlink
  51. %patch4 -p1 -b .bison
  52. %patch5 -p1 -b .varargs
  53. %patch6 -p1 -b .maxargs
  54. %patch7 -p1 -b .lfs
  55. %patch8 -p1 -b .cleanup
  56. %patch9 -p1 -b .svr4
  57. %patch10 -p1 -b .ssh
  58. %patch11 -p1 -b .mkstemp
  59. %patch12 -p1 -b .stat64
  60. %patch13 -p1 -b .re_args
  61. %patch14 -p1 -b .fix-msgsndnotify-loop
  62. %build
  63. make
  64. make -C rdist
  65. %install
  66. rm -rf ${RPM_BUILD_ROOT}
  67. mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
  68. mkdir -p ${RPM_BUILD_ROOT}%{_sbindir}
  69. mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man{1,8}
  70. install -m755 src/rdist ${RPM_BUILD_ROOT}%{_bindir}
  71. install -m755 rdist/rdist ${RPM_BUILD_ROOT}%{_bindir}/oldrdist
  72. install -m755 src/rdistd ${RPM_BUILD_ROOT}%{_sbindir}
  73. ln -sf ../sbin/rdistd ${RPM_BUILD_ROOT}%{_bindir}/rdistd
  74. install -m644 doc/rdist.man ${RPM_BUILD_ROOT}%{_mandir}/man1/rdist.1
  75. install -m644 doc/rdistd.man ${RPM_BUILD_ROOT}%{_mandir}/man8/rdist.8
  76. %clean
  77. rm -rf ${RPM_BUILD_ROOT}
  78. %files
  79. %defattr(-,root,root)
  80. %doc README rdist-eu-license.txt
  81. %{_bindir}/rdist
  82. %{_bindir}/oldrdist
  83. %{_bindir}/rdistd
  84. %{_sbindir}/rdistd
  85. %{_mandir}/man1/rdist.1*
  86. %{_mandir}/man8/rdist.8*
  87. %changelog
  88. * Sat Nov 15 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 6.1.5-45vl5
  89. - applied new versioning policy
  90. - spec in UTF-8
  91. - based on 6.1.5-45 from Fedora
  92. * Wed Aug 02 2006 Phil Knirsch <pknirsch@redhat.com> 1:6.1.5-44
  93. - Fixed problem with memory leak (#192229)
  94. * Wed May 04 2005 Phil Knirsch <pknirsch@redhat.com> 6.1.5-41
  95. - Fixed incorrect use of statfs return values (#147481)
  96. * Sun Oct 3 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 6.1.5-38vl1
  97. - based on 6.1.5-38 from Fedora
  98. * Fri Jul 02 2004 Phil Knirsch <pknirsch@redhat.com> 6.1.5-38
  99. - Added byacc to BuildPreReq (#124939)
  100. * Tue May 25 2004 Phil Knirsch <pknirsch@redhat.com> 6.1.5-35.21.1
  101. - Fixed missing unlink() for mkstemp() created file (#123833).
  102. * Mon Jan 12 2004 Phil Knirsch <pknirsch@redhat.com> 6.1.5-32
  103. - Included missing dir patch for mkstemp change (#106728).
  104. * Wed Dec 17 2003 Phil Knirsch <pknirsch@redhat.com> 6.1.5-31
  105. - Fixed wrong SvR4 system detection on Linux (#110426).
  106. - Fixed unitialized use of struct (#111189).
  107. - Make rsh work correctly with password authentification and ssh (#111778).
  108. * Tue Dec 16 2003 Phil Knirsch <pknirsch@redhat.com>
  109. - Finished LFS support for rdist on 32bit archs (#79580).
  110. - Lots of code cleanup.
  111. - Switched from mktemp to mkstemp usage.
  112. * Thu Sep 04 2003 Phil Knirsch <pknirsch@redhat.com> 6.1.5-30
  113. - Fixed max. # of args (#85634).
  114. * Sun Jul 20 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 6.1.5-29.1vl1
  115. - rebuilt with new toolchains
  116. - based on 6.1.5-29.1 from Rawhide
  117. - Tue Jun 17 2003 Phil Knirsch <pknirsch@redhat.com> 1:6.1.5-29
  118. - use stdarg.h instead of varargs.h.
  119. - Wed Jun 04 2003 Phil Knirsch <pknirsch@redhat.com> 1:6.1.5-27
  120. - Fixed new bison build problems.
  121. - Changed Copyright to License.
  122. - Thu Jun 20 2002 Phil Knirsch <pknirsch@redhat.com> 6.1.5-21
  123. - Include ia64 again.
  124. - Thu Jan 31 2002 Phil Knirsch <pknirsch@redhat.com>
  125. - Added my 4.3BSD port of the v1 protocol rdist code and provide a oldrdist
  126. binary (#55761 and several others).
  127. - Fixed a small manpage problem (#55489)
  128. * Wed Jan 10 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  129. - 6.1.5-14vl1
  130. - based on 6.1.5-14 from Rawhide
  131. - added Japanese summary and description
  132. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  133. - automatic rebuild
  134. * Sun Jun 18 2000 Jeff Johnson <jbj@redhat.com>
  135. - FHS packaging.
  136. - exclude ia64 for now.
  137. * Sat Feb 05 2000 Cristian Gafton <gafton@redhat.com>
  138. - include new license package
  139. - man pages are compressed
  140. - fix description
  141. * Tue Jul 20 1999 Jeff Johnson <jbj@redhat.com>
  142. - re-release latest rdist package.
  143. * Thu Jun 3 1999 Jeff Johnson <jbj@redhat.com>
  144. - permit rdist to distribute hard links (#3228)
  145. * Tue Apr 13 1999 Jeff Johnson <jbj@redhat.com>
  146. - add /usr/bin/rdistd symlink (#2154)
  147. - update docs to reflect /usr/bin/oldrdist change.
  148. * Mon Apr 12 1999 Jeff Johnson <jbj@redhat.com>
  149. - use /usr/bin/oldrdist for old rdist compatibility path (#2044).
  150. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  151. - auto rebuild in the new build environment (release 5)
  152. * Wed Feb 17 1999 Jeff Johnson <jbj@redhat.com>
  153. - dynamic allocation for link info (#1046)
  154. * Thu Nov 12 1998 Jeff Johnson <jbj@redhat.com>
  155. - update to 6.1.5
  156. * Sun Aug 16 1998 Jeff Johnson <jbj@redhat.com>
  157. - build root
  158. * Tue May 05 1998 Prospector System <bugs@redhat.com>
  159. - translations modified for de, fr, tr
  160. * Mon Oct 20 1997 Otto Hammersmith <otto@redhat.com>
  161. - fixed the url to the source
  162. - fixed the copyright field
  163. * Mon Jul 21 1997 Erik Troan <ewt@redhat.com>
  164. - built against glibc