source: projects/specs/trunk/f/findutils/findutils-vl.spec @ 12335

Revision 12335, 6.6 KB checked in by tomop, 4 years ago (diff)

updated 14 packages

chkconfig-1.3.61-3

diffutils-3.7-1

findutils-4.7.0-1

libmpc-1.1.0-1

libuser-0.62-1

libutempter-1.1.6-2

mpfr-4.0.2-1

mpfr3-3.1.6-1

psmisc-23.2-1

sed-4.8-1

shadow-utils-4.8-1

tcsh-6.22.02-1

texinfo-6.7-1

usermode-1.109-2

Line 
1Summary: The GNU versions of find utilities (find and xargs).
2Summary(ja):  find ユーティリティの GNU バージョン (find および xargs).
3Name: findutils
4Version: 4.7.0
5Release: 1%{?_dist_release}
6Group: System Environment/Base
7
8Vendor: Project Vine
9Distribution: Vine Linux
10
11License: GPL
12Source0: https://ftp.gnu.org/gnu/findutils/findutils-%{version}.tar.xz
13
14# do not build locate
15Patch1:  findutils-4.5.15-no-locate.patch
16
17# add -xautofs option to not descend into directories on autofs file systems
18Patch2:  findutils-4.4.2-xautofs.patch
19
20# eliminate compile-time warnings
21Patch3:  findutils-4.5.13-warnings.patch
22
23# test-lock: disable the rwlock test
24Patch4:  findutils-4.6.0-test-lock.patch
25
26# implement the -noleaf option of find (#1252549)
27Patch5:  findutils-4.6.0-leaf-opt.patch
28
29# make upstream test-suite work with root privileges (#1799064)
30Patch6:  findutils-4.7.0-root-tests.patch
31
32Requires(post): /sbin/install-info
33Requires(preun): /sbin/install-info
34BuildRoot: %{_tmppath}/%{name}-%{version}-root
35BuildRequires: libtool, automake, autoconf
36BuildRequires: dejagnu, gettext, texinfo, git
37
38%description
39The findutils package contains programs which will help you locate
40files on your system.  The find utility searches through a hierarchy
41of directories looking for files which match a certain set of criteria
42(such as a filename pattern).  The xargs utility builds and executes
43command lines from standard input arguments (usually lists of file
44names generated by the find command).
45
46You should install findutils because it includes tools that are very
47useful for finding things on your system.
48
49%prep
50%autosetup -N -S git
51
52# drop the source code of locate
53git rm -q -r locate
54git commit -q -m "drop the source code of locate"
55
56# remove ignored files from git and mark them as ignored
57tee -a .gitignore << EOF
58*~
59Makefile.in
60/aclocal.m4
61/autom4te.cache
62/build
63/configure
64/doc/find.info*
65/doc/stamp-vti
66/doc/version.texi
67EOF
68git rm -q -r --cached .
69git add --all .
70git 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
76autoreconf -fiv
77git add --all .
78git commit -q -m "after invocation of autoreconf"
79
80
81%build
82mkdir build
83cd build
84%global _configure ../configure
85%configure
86
87make %{?_smp_mflags}
88
89
90%check
91make %{?_smp_mflags} check -C build
92
93%install
94%make_install -C build
95
96rm -f %{buildroot}%{_infodir}/dir
97
98# move find to /bin
99mkdir -p %{buildroot}/bin
100mv %{buildroot}%{_bindir}/find %{buildroot}/bin/
101ln -sf ../../bin/find %{buildroot}%{_bindir}
102
103%find_lang %{name}
104
105
106%post
107if [ -f %{_infodir}/find.info.gz ]; then
108  /sbin/install-info %{_infodir}/find.info.gz %{_infodir}/dir
109fi
110
111%preun
112if [ $1 = 0 -a -f %{_infodir}/find.info.gz ]; then
113    /sbin/install-info --delete %{_infodir}/find.info.gz %{_infodir}/dir
114fi
115
116%clean
117rm -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
Note: See TracBrowser for help on using the repository browser.