findutils-vl.spec 5.3 KB

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