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