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