findutils-vl.spec 6.6 KB

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