findutils-vl.spec 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. Summary: The GNU versions of find utilities (find and xargs).
  2. Summary(ja): find ユーティリティの GNU バージョン (find および xargs).
  3. Name: findutils
  4. Version: 4.5.10
  5. Release: 2%{?_dist_release}
  6. License: GPL
  7. Group: System Environment/Base
  8. Source0: ftp://ftp.gnu.org/gnu/findutils/findutils-%{version}.tar.gz
  9. Source1: updatedb.cron
  10. Patch0: findutils-4.5.10-gets.patch
  11. Requires(post): /sbin/install-info
  12. Requires(preun): /sbin/install-info
  13. Buildroot: %{_tmppath}/%{name}-%{version}-root
  14. BuildRequires: libtool, automake, autoconf
  15. BuildRequires: dejagnu, gettext, texinfo
  16. %description
  17. The findutils package contains programs which will help you locate
  18. files on your system. The find utility searches through a hierarchy
  19. of directories looking for files which match a certain set of criteria
  20. (such as a filename pattern). The xargs utility builds and executes
  21. command lines from standard input arguments (usually lists of file
  22. names generated by the find command).
  23. You should install findutils because it includes tools that are very
  24. useful for finding things on your system.
  25. %prep
  26. %setup -q
  27. %patch0 -p1
  28. %build
  29. %configure
  30. %__make %{?_smp_mflags}
  31. %install
  32. rm -rf $RPM_BUILD_ROOT
  33. make install DESTDIR=${RPM_BUILD_ROOT}
  34. %find_lang %{name}
  35. # move find to /bin
  36. mkdir -p $RPM_BUILD_ROOT/bin
  37. mv $RPM_BUILD_ROOT%{_bindir}/find $RPM_BUILD_ROOT/bin/
  38. ln -sf ../../bin/find $RPM_BUILD_ROOT%{_bindir}
  39. # remove unpackaged files
  40. rm -f $RPM_BUILD_ROOT%{_bindir}/{locate,updatedb}
  41. rm -f $RPM_BUILD_ROOT%{_libexecdir}/*
  42. rm -f $RPM_BUILD_ROOT%{_mandir}/man1/{locate,updatedb}*
  43. rm -f $RPM_BUILD_ROOT%{_mandir}/man5/locatedb*
  44. rm -f $RPM_BUILD_ROOT%{_infodir}/dir
  45. %post
  46. if [ -f %{_infodir}/find.info.gz ]; then
  47. /sbin/install-info %{_infodir}/find.info.gz %{_infodir}/dir
  48. fi
  49. %preun
  50. if [ $1 = 0 -a -f %{_infodir}/find.info.gz ]; then
  51. /sbin/install-info --delete %{_infodir}/find.info.gz %{_infodir}/dir
  52. fi
  53. %clean
  54. rm -rf $RPM_BUILD_ROOT
  55. %files -f %{name}.lang
  56. %defattr(-,root,root)
  57. %doc AUTHORS COPYING NEWS README THANKS
  58. /bin/find
  59. %{_bindir}/find
  60. %{_bindir}/oldfind
  61. %{_bindir}/xargs
  62. %{_mandir}/man1/find.1*
  63. %{_mandir}/man1/xargs.1*
  64. %{_infodir}/find.info*
  65. %{_infodir}/find-maint.info*
  66. %changelog
  67. * Sun Jul 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.5.10-2
  68. - rebuild with VineSeed environment
  69. - add Patch0 (findutils-4.5.10-gets.patch)
  70. * Thu Nov 29 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 4.5.10-1
  71. - new upstream reelase
  72. * Mon Apr 11 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 4.5.9-1
  73. - new upstream release
  74. * Sun Mar 29 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 4.4.0-2
  75. - move find to /bin
  76. - we'd use find in initscripts
  77. * Fri May 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 4.4.0-1
  78. - new versioning policy
  79. - new upstream release
  80. * Mon Oct 22 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.2.31-0vl1
  81. - new upstream release (including security fix for CVE-2007-2452)
  82. * Thu May 04 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 4.2.27-0vl1
  83. - new upstream release
  84. - use License instead of Copyright
  85. - change Group to System Environment/Base
  86. * Tue Jun 21 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 4.2.23-0vl1
  87. - new upstream release
  88. - drop unneeded patches
  89. * Sat Jan 20 2001 Lisa Sagami <czs14350@mb.infoweb.ne.jp>
  90. - 4.1.5-0vl3
  91. - usr better macros (%%configure/%%makeinstall)
  92. * Tue Nov 21 2000 Jun Nishii <jun@vinelinux.org>
  93. - 4.1.5-0vl2
  94. - bug fix for -O002
  95. * Wed Jun 7 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  96. - 4.1.5
  97. - added ja.po
  98. * Mon Apr 3 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  99. - 4.1.4
  100. - remove some obsolete patches, adapt others
  101. - fix build on alpha
  102. * Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
  103. - fix summary
  104. - ma pages are compressed
  105. * Wed Jan 12 2000 Preston Brown <pbrown@redhat.com>
  106. - new description.
  107. * Fri Aug 27 1999 Preston Brown <pbrown@redhat.com>
  108. - fixed block count bug (# 2141)
  109. * Mon Mar 29 1999 Preston Brown <pbrown@redhat.com>
  110. - patch to fix xargs out of bounds overflow (bug # 1279)
  111. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  112. - auto rebuild in the new build environment (release 30)
  113. * Fri Mar 19 1999 Jeff Johnson <jbj@redhat.com>
  114. - strip binaries.
  115. * Mon Feb 8 1999 Jeff Johnson <jbj@redhat.com>
  116. - remove further updatedb remnants (#1072).
  117. * Thu Dec 03 1998 Cristian Gafton <gafton@redhat.com>
  118. - added patch for glibc21
  119. * Mon Nov 16 1998 Erik Troan <ewt@redhat.com>
  120. - removed locate stuff (as we now ship slocate)
  121. * Wed Jun 10 1998 Erik Troan <ewt@redhat.com>
  122. - updated updatedb cron script to not look for $TMPNAME.n (which was
  123. a relic anyway)
  124. - added -b parameters to all of the patches
  125. * Fri Apr 24 1998 Prospector System <bugs@redhat.com>
  126. - translations modified for de, fr, tr
  127. * Mon Mar 09 1998 Michael K. Johnson <johnsonm@redhat.com>
  128. - make updatedb.cron use mktemp correctly
  129. - make updatedb use mktemp
  130. * Sun Nov 09 1997 Michael K. Johnson <johnsonm@redhat.com>
  131. - nobody should own tmpfile
  132. - ignore /net
  133. * Wed Nov 05 1997 Michael K. Johnson <johnsonm@redhat.com>
  134. - made updatedb.cron do a better job of cleaning up after itself.
  135. * Tue Oct 28 1997 Donald Barnes <djb@redhat.com>
  136. - fixed 64 bit-ism in getline.c, patch tacked on to end of glibc one
  137. * Thu Oct 23 1997 Erik Troan <ewt@redhat.com>
  138. - added patch for glibc 2.1
  139. * Fri Oct 17 1997 Donnie Barnes <djb@redhat.com>
  140. - added BuildRoot support
  141. * Tue Oct 14 1997 Michael K. Johnson <johnsonm@redhat.com>
  142. - made updatedb.cron work even if "nobody" can't read /root
  143. - use mktemp in updatedb.cron
  144. * Sun Sep 14 1997 Erik Troan <ewt@redhat.com>
  145. - added missing info pages
  146. - uses install-info
  147. * Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
  148. - built with glibc
  149. * Mon Apr 21 1997 Michael K. Johnson <johnsonm@redhat.com>
  150. - fixed updatedb.cron