findutils-vl.spec 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257
  1. Summary: The GNU versions of find utilities (find and xargs).
  2. Summary(ja): find ユーティリティの GNU バージョン (find および xargs).
  3. Name: findutils
  4. Version: 4.10.0
  5. Release: 2%{?_dist_release}
  6. Group: system,accessories
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. License: GPL
  10. Source0: https://ftp.gnu.org/gnu/findutils/findutils-%{version}.tar.xz
  11. # do not build locate
  12. Patch1: findutils-4.5.15-no-locate.patch
  13. # add -xautofs option to not descend into directories on autofs file systems
  14. Patch2: findutils-4.4.2-xautofs.patch
  15. # eliminate compile-time warnings
  16. Patch3: findutils-4.5.13-warnings.patch
  17. # test-lock: disable the rwlock test
  18. Patch4: findutils-4.6.0-test-lock.patch
  19. # implement the -noleaf option of find (#1252549)
  20. Patch5: findutils-4.6.0-leaf-opt.patch
  21. # fix find not obeying -ignore_readdir_race in symlink_loop (#2232278)
  22. Patch6: findutils-4.9.0-ignore_readdir_race-symlink_loop.patch
  23. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  24. BuildRequires: libtool, automake, autoconf
  25. BuildRequires: dejagnu, gettext, texinfo, git
  26. Provides: /bin/find
  27. %description
  28. The findutils package contains programs which will help you locate
  29. files on your system. The find utility searches through a hierarchy
  30. of directories looking for files which match a certain set of criteria
  31. (such as a filename pattern). The xargs utility builds and executes
  32. command lines from standard input arguments (usually lists of file
  33. names generated by the find command).
  34. You should install findutils because it includes tools that are very
  35. useful for finding things on your system.
  36. %debug_package
  37. %prep
  38. %autosetup -N -S git
  39. # drop the source code of locate
  40. git rm -q -r locate
  41. git commit -q -m "drop the source code of locate"
  42. # remove ignored files from git and mark them as ignored
  43. tee -a .gitignore << EOF
  44. *~
  45. Makefile.in
  46. /aclocal.m4
  47. /autom4te.cache
  48. /build
  49. /configure
  50. /doc/find.info*
  51. /doc/stamp-vti
  52. /doc/version.texi
  53. EOF
  54. git rm -q -r --cached .
  55. git add --all .
  56. git commit -m "remove ignored files from git"
  57. # apply all patches
  58. %autopatch
  59. # needed because of findutils-4.5.15-no-locate.patch
  60. autoreconf -fiv
  61. git add --all .
  62. git commit -q -m "after invocation of autoreconf"
  63. %build
  64. mkdir build
  65. cd build
  66. %global _configure ../configure
  67. %configure
  68. make %{?_smp_mflags}
  69. %install
  70. %make_install -C build
  71. rm -f %{buildroot}%{_infodir}/dir
  72. %find_lang %{name}
  73. %check
  74. make %{?_smp_mflags} check -C build
  75. %post
  76. if [ ! -L /bin -a ! -e /bin/find ]; then
  77. ln -sf ../usr/bin/find /bin/
  78. fi
  79. %triggerpostun -- findutils < 5.3.0-2
  80. if [ ! -L /bin -a ! -e /bin/find ]; then
  81. ln -sf ../usr/bin/find /bin/
  82. fi
  83. %files -f %{name}.lang
  84. %defattr(-,root,root)
  85. %license COPYING
  86. %doc AUTHORS NEWS README THANKS TODO
  87. %{_bindir}/find
  88. %{_bindir}/xargs
  89. %{_mandir}/man1/find.1*
  90. %{_mandir}/man1/xargs.1*
  91. %{_infodir}/find.info*
  92. %{_infodir}/find-maint.info*
  93. %changelog
  94. * Sun Jul 07 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.10.0-2
  95. - prepared for usrmerge.
  96. * Mon Jun 17 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.10.0-1
  97. - new upstream release.
  98. * Mon Feb 22 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.8.0-1
  99. - new upstream release.
  100. - updated patches.
  101. * Wed Mar 18 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.7.0-1
  102. - new upstream release.
  103. - updated patches.
  104. * Sun Jul 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.5.10-2
  105. - rebuild with VineSeed environment
  106. - add Patch0 (findutils-4.5.10-gets.patch)
  107. * Thu Nov 29 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 4.5.10-1
  108. - new upstream reelase
  109. * Mon Apr 11 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 4.5.9-1
  110. - new upstream release
  111. * Sun Mar 29 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 4.4.0-2
  112. - move find to /bin
  113. - we'd use find in initscripts
  114. * Fri May 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 4.4.0-1
  115. - new versioning policy
  116. - new upstream release
  117. * Mon Oct 22 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.2.31-0vl1
  118. - new upstream release (including security fix for CVE-2007-2452)
  119. * Thu May 04 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 4.2.27-0vl1
  120. - new upstream release
  121. - use License instead of Copyright
  122. - change Group to System Environment/Base
  123. * Tue Jun 21 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 4.2.23-0vl1
  124. - new upstream release
  125. - drop unneeded patches
  126. * Sat Jan 20 2001 Lisa Sagami <czs14350@mb.infoweb.ne.jp>
  127. - 4.1.5-0vl3
  128. - usr better macros (%%configure/%%makeinstall)
  129. * Tue Nov 21 2000 Jun Nishii <jun@vinelinux.org>
  130. - 4.1.5-0vl2
  131. - bug fix for -O002
  132. * Wed Jun 7 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  133. - 4.1.5
  134. - added ja.po
  135. * Mon Apr 3 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  136. - 4.1.4
  137. - remove some obsolete patches, adapt others
  138. - fix build on alpha
  139. * Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
  140. - fix summary
  141. - ma pages are compressed
  142. * Wed Jan 12 2000 Preston Brown <pbrown@redhat.com>
  143. - new description.
  144. * Fri Aug 27 1999 Preston Brown <pbrown@redhat.com>
  145. - fixed block count bug (# 2141)
  146. * Mon Mar 29 1999 Preston Brown <pbrown@redhat.com>
  147. - patch to fix xargs out of bounds overflow (bug # 1279)
  148. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  149. - auto rebuild in the new build environment (release 30)
  150. * Fri Mar 19 1999 Jeff Johnson <jbj@redhat.com>
  151. - strip binaries.
  152. * Mon Feb 8 1999 Jeff Johnson <jbj@redhat.com>
  153. - remove further updatedb remnants (#1072).
  154. * Thu Dec 03 1998 Cristian Gafton <gafton@redhat.com>
  155. - added patch for glibc21
  156. * Mon Nov 16 1998 Erik Troan <ewt@redhat.com>
  157. - removed locate stuff (as we now ship slocate)
  158. * Wed Jun 10 1998 Erik Troan <ewt@redhat.com>
  159. - updated updatedb cron script to not look for $TMPNAME.n (which was
  160. a relic anyway)
  161. - added -b parameters to all of the patches
  162. * Fri Apr 24 1998 Prospector System <bugs@redhat.com>
  163. - translations modified for de, fr, tr
  164. * Mon Mar 09 1998 Michael K. Johnson <johnsonm@redhat.com>
  165. - make updatedb.cron use mktemp correctly
  166. - make updatedb use mktemp
  167. * Sun Nov 09 1997 Michael K. Johnson <johnsonm@redhat.com>
  168. - nobody should own tmpfile
  169. - ignore /net
  170. * Wed Nov 05 1997 Michael K. Johnson <johnsonm@redhat.com>
  171. - made updatedb.cron do a better job of cleaning up after itself.
  172. * Tue Oct 28 1997 Donald Barnes <djb@redhat.com>
  173. - fixed 64 bit-ism in getline.c, patch tacked on to end of glibc one
  174. * Thu Oct 23 1997 Erik Troan <ewt@redhat.com>
  175. - added patch for glibc 2.1
  176. * Fri Oct 17 1997 Donnie Barnes <djb@redhat.com>
  177. - added BuildRoot support
  178. * Tue Oct 14 1997 Michael K. Johnson <johnsonm@redhat.com>
  179. - made updatedb.cron work even if "nobody" can't read /root
  180. - use mktemp in updatedb.cron
  181. * Sun Sep 14 1997 Erik Troan <ewt@redhat.com>
  182. - added missing info pages
  183. - uses install-info
  184. * Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
  185. - built with glibc
  186. * Mon Apr 21 1997 Michael K. Johnson <johnsonm@redhat.com>
  187. - fixed updatedb.cron