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