findutils-vl.spec 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  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: 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. * Thu Nov 29 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 4.5.10-1
  66. - new upstream reelase
  67. * Mon Apr 11 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 4.5.9-1
  68. - new upstream release
  69. * Sun Mar 29 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 4.4.0-2
  70. - move find to /bin
  71. - we'd use find in initscripts
  72. * Fri May 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 4.4.0-1
  73. - new versioning policy
  74. - new upstream release
  75. * Mon Oct 22 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.2.31-0vl1
  76. - new upstream release (including security fix for CVE-2007-2452)
  77. * Thu May 04 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 4.2.27-0vl1
  78. - new upstream release
  79. - use License instead of Copyright
  80. - change Group to System Environment/Base
  81. * Tue Jun 21 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 4.2.23-0vl1
  82. - new upstream release
  83. - drop unneeded patches
  84. * Sat Jan 20 2001 Lisa Sagami <czs14350@mb.infoweb.ne.jp>
  85. - 4.1.5-0vl3
  86. - usr better macros (%%configure/%%makeinstall)
  87. * Tue Nov 21 2000 Jun Nishii <jun@vinelinux.org>
  88. - 4.1.5-0vl2
  89. - bug fix for -O002
  90. * Wed Jun 7 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  91. - 4.1.5
  92. - added ja.po
  93. * Mon Apr 3 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  94. - 4.1.4
  95. - remove some obsolete patches, adapt others
  96. - fix build on alpha
  97. * Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
  98. - fix summary
  99. - ma pages are compressed
  100. * Wed Jan 12 2000 Preston Brown <pbrown@redhat.com>
  101. - new description.
  102. * Fri Aug 27 1999 Preston Brown <pbrown@redhat.com>
  103. - fixed block count bug (# 2141)
  104. * Mon Mar 29 1999 Preston Brown <pbrown@redhat.com>
  105. - patch to fix xargs out of bounds overflow (bug # 1279)
  106. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  107. - auto rebuild in the new build environment (release 30)
  108. * Fri Mar 19 1999 Jeff Johnson <jbj@redhat.com>
  109. - strip binaries.
  110. * Mon Feb 8 1999 Jeff Johnson <jbj@redhat.com>
  111. - remove further updatedb remnants (#1072).
  112. * Thu Dec 03 1998 Cristian Gafton <gafton@redhat.com>
  113. - added patch for glibc21
  114. * Mon Nov 16 1998 Erik Troan <ewt@redhat.com>
  115. - removed locate stuff (as we now ship slocate)
  116. * Wed Jun 10 1998 Erik Troan <ewt@redhat.com>
  117. - updated updatedb cron script to not look for $TMPNAME.n (which was
  118. a relic anyway)
  119. - added -b parameters to all of the patches
  120. * Fri Apr 24 1998 Prospector System <bugs@redhat.com>
  121. - translations modified for de, fr, tr
  122. * Mon Mar 09 1998 Michael K. Johnson <johnsonm@redhat.com>
  123. - make updatedb.cron use mktemp correctly
  124. - make updatedb use mktemp
  125. * Sun Nov 09 1997 Michael K. Johnson <johnsonm@redhat.com>
  126. - nobody should own tmpfile
  127. - ignore /net
  128. * Wed Nov 05 1997 Michael K. Johnson <johnsonm@redhat.com>
  129. - made updatedb.cron do a better job of cleaning up after itself.
  130. * Tue Oct 28 1997 Donald Barnes <djb@redhat.com>
  131. - fixed 64 bit-ism in getline.c, patch tacked on to end of glibc one
  132. * Thu Oct 23 1997 Erik Troan <ewt@redhat.com>
  133. - added patch for glibc 2.1
  134. * Fri Oct 17 1997 Donnie Barnes <djb@redhat.com>
  135. - added BuildRoot support
  136. * Tue Oct 14 1997 Michael K. Johnson <johnsonm@redhat.com>
  137. - made updatedb.cron work even if "nobody" can't read /root
  138. - use mktemp in updatedb.cron
  139. * Sun Sep 14 1997 Erik Troan <ewt@redhat.com>
  140. - added missing info pages
  141. - uses install-info
  142. * Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
  143. - built with glibc
  144. * Mon Apr 21 1997 Michael K. Johnson <johnsonm@redhat.com>
  145. - fixed updatedb.cron