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

Revision 7179, 5.4 KB checked in by daisuke, 11 years ago (diff)

findutils: update to 4.5.10

Line 
1Summary: The GNU versions of find utilities (find and xargs).
2Summary(ja):  find ユーティリティの GNU バージョン (find および xargs).
3Name: findutils
4Version: 4.5.10
5Release: 1%{?_dist_release}
6License: GPL
7Group: System Environment/Base
8Source0: ftp://ftp.gnu.org/gnu/findutils/findutils-%{version}.tar.gz
9Source1: updatedb.cron
10Requires(post): /sbin/install-info
11Requires(preun): /sbin/install-info
12Buildroot: %{_tmppath}/%{name}-%{version}-root
13BuildRequires: libtool, automake, autoconf
14BuildRequires: dejagnu, gettext, texinfo
15
16%description
17The findutils package contains programs which will help you locate
18files on your system.  The find utility searches through a hierarchy
19of directories looking for files which match a certain set of criteria
20(such as a filename pattern).  The xargs utility builds and executes
21command lines from standard input arguments (usually lists of file
22names generated by the find command).
23
24You should install findutils because it includes tools that are very
25useful for finding things on your system.
26
27%prep
28%setup -q
29
30%build
31%configure
32
33%__make %{?_smp_mflags}
34
35%install
36rm -rf $RPM_BUILD_ROOT
37make install DESTDIR=${RPM_BUILD_ROOT}
38
39%find_lang %{name}
40
41# move find to /bin
42mkdir -p $RPM_BUILD_ROOT/bin
43mv $RPM_BUILD_ROOT%{_bindir}/find $RPM_BUILD_ROOT/bin/
44ln -sf ../../bin/find $RPM_BUILD_ROOT%{_bindir}
45
46# remove unpackaged files
47rm -f $RPM_BUILD_ROOT%{_bindir}/{locate,updatedb}
48rm -f $RPM_BUILD_ROOT%{_libexecdir}/*
49rm -f $RPM_BUILD_ROOT%{_mandir}/man1/{locate,updatedb}*
50rm -f $RPM_BUILD_ROOT%{_mandir}/man5/locatedb*
51rm -f $RPM_BUILD_ROOT%{_infodir}/dir
52
53
54%post
55if [ -f %{_infodir}/find.info.gz ]; then
56  /sbin/install-info %{_infodir}/find.info.gz %{_infodir}/dir
57fi
58
59%preun
60if [ $1 = 0 -a -f %{_infodir}/find.info.gz ]; then
61    /sbin/install-info --delete %{_infodir}/find.info.gz %{_infodir}/dir
62fi
63
64%clean
65rm -rf $RPM_BUILD_ROOT
66
67%files -f %{name}.lang
68%defattr(-,root,root)
69%doc AUTHORS COPYING NEWS README THANKS
70/bin/find
71%{_bindir}/find
72%{_bindir}/oldfind
73%{_bindir}/xargs
74%{_mandir}/man1/find.1*
75%{_mandir}/man1/xargs.1*
76%{_infodir}/find.info*
77%{_infodir}/find-maint.info*
78
79%changelog
80* Thu Nov 29 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 4.5.10-1
81- new upstream reelase
82
83* Mon Apr 11 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 4.5.9-1
84- new upstream release
85
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
Note: See TracBrowser for help on using the repository browser.