/[pkgs]/devel/grep/grep.spec
ViewVC logotype

Contents of /devel/grep/grep.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.78 - (show annotations) (download)
Tue Aug 11 12:41:52 2009 UTC (3 months, 1 week ago) by lkundrak
Branch: MAIN
CVS Tags: F-12-split, grep-2_5_3-6_fc12, HEAD
Changes since 1.77: +6 -1 lines
* Tue Aug 11 2009 Lubomir Rintel <lkundrak@v3.sk> 2.5.3-6
- Silence possible scriptlets errors
1 %define _bindir /bin
2
3 Summary: Pattern matching utilities
4 Name: grep
5 Version: 2.5.3
6 Release: 6%{?dist}
7 License: GPLv3+
8 Group: Applications/Text
9 Source: ftp://ftp.gnu.org/pub/gnu/grep/grep-%{version}.tar.bz2
10 Patch0: grep-2.5.3-fedora-tests.patch
11 Patch2: grep-2.5.3-pcrewrap.patch
12 Patch3: grep-2.5.3-case.patch
13 Patch4: grep-2.5.3-egf-speedup.patch
14 # bug #460641 (a.k.a. 479152)
15 Patch40: grep-bz460641.patch
16 Patch5: grep-2.5.1a-utf8.patch
17 URL: http://www.gnu.org/software/grep/
18 Requires(post): /sbin/install-info
19 Requires(preun): /sbin/install-info
20 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
21 BuildRequires: pcre-devel >= 3.9-10, texinfo, gettext
22 BuildRequires: autoconf automake
23
24 %description
25 The GNU versions of commonly used grep utilities. Grep searches through
26 textual input for lines which contain a match to a specified pattern and then
27 prints the matching lines. GNU's grep utilities include grep, egrep and fgrep.
28
29 GNU grep is needed by many scripts, so it shall be installed on every system.
30
31 %prep
32 %setup -q
33 %patch0 -p1 -b .fedora-tests
34 %patch2 -p1 -b .pcrewrap
35 %patch3 -p1 -b .case
36 %patch4 -p1 -b .egf-speedup
37 %patch40 -p1 -b .bz460641
38 %patch5 -p1 -b .utf8
39
40 %build
41 ./autogen.sh
42 %configure --without-included-regex CPPFLAGS="-I%{_includedir}/pcre"
43 make %{?_smp_mflags}
44
45 %install
46 rm -rf ${RPM_BUILD_ROOT}
47 make %{?_smp_mflags} DESTDIR=$RPM_BUILD_ROOT install
48 gzip $RPM_BUILD_ROOT%{_infodir}/grep*
49 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
50
51 %find_lang %name
52
53 %check
54 # TODO: fix tests
55 make check ||:
56
57 %clean
58 rm -rf ${RPM_BUILD_ROOT}
59
60 %post
61 exec >/dev/null 2>&1
62 /sbin/install-info --quiet --info-dir=%{_infodir} %{_infodir}/grep.info.gz || :
63
64 %preun
65 exec >/dev/null 2>&1
66 if [ $1 = 0 ]; then
67 /sbin/install-info --quiet --info-dir=%{_infodir} --delete %{_infodir}/grep.info.gz || :
68 fi
69
70 %files -f %{name}.lang
71 %defattr(-,root,root)
72 %doc ABOUT-NLS AUTHORS THANKS TODO NEWS README ChangeLog COPYING
73
74 %{_bindir}/*
75 %{_infodir}/*.info*.gz
76 %{_mandir}/*/*
77
78 %changelog
79 * Tue Aug 11 2009 Lubomir Rintel <lkundrak@v3.sk> 2.5.3-6
80 - Silence possible scriptlets errors
81
82 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.3-5
83 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
84
85 * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.3-4
86 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
87
88 * Tue Jan 27 2009 Stepan Kasal <skasal@redhat.com> 2.5.3-3
89 - remove grep-mem-exhausted.patch (#481765, #198165)
90
91 * Thu Jan 8 2009 Stepan Kasal <skasal@redhat.com> 2.5.3-2
92 - fix bug #460641 (a.k.a. 479152)
93
94 * Thu Nov 20 2008 Lubomir Rintel <lkundrak@v3.sk> 2.5.3-1
95 - Update to latest upstream version
96 - Drop upstreamed patches
97 - Add a couple of regression tests
98 - Temporarily disable tests
99 - Minor cleanup
100
101 * Wed Oct 1 2008 Lubomir Rintel <lkundrak@v3.sk> 2.5.1a-61
102 - Fix pcre-mode (-P) line wrapping (bug #324781)
103 - Match the version with upstream
104 - Recode AUTHORS to utf8
105
106 * Fri Jul 25 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.5.1-60
107 - fix license tag
108
109 * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.5.1-59
110 - Autorebuild for GCC 4.3
111
112 * Fri Apr 20 2007 Stepan Kasal <skasal@redhat.com> - 2.5.1-58
113 - Adhere to packaging guidelines.
114 - Resolves: #225857
115 - Use CPPFLAGS= argument to configure to add an -I option.
116 - Do not set LDFLAGS=-s for "make install".
117
118 * Mon Jan 22 2007 Tim Waugh <twaugh@redhat.com> 2.5.1-57
119 - Make preun scriptlet unconditionally succeed (bug #223697).
120
121 * Wed Nov 22 2006 Tim Waugh <twaugh@redhat.com> 2.5.1-56
122 - Fixed count of patterns when the last is an empty string (bug #204255).
123
124 * Wed Nov 22 2006 Tim Waugh <twaugh@redhat.com> 2.5.1-55
125 - Fix 'memory exhausted' errors by limiting in-memory buffer (bug #198165).
126
127 * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.5.1-54.1
128 - rebuild
129
130 * Wed May 31 2006 Tim Waugh <twaugh@redhat.com> 2.5.1-54
131 - Applied upstream patch to fix '-D skip' (bug #189580).
132
133 * Mon Feb 20 2006 Tim Waugh <twaugh@redhat.com> 2.5.1-53
134 - Applied Tim Robbins' patch for 'grep -w' (bug #179698).
135
136 * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.5.1-52.2
137 - bump again for double-long bug on ppc(64)
138
139 * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.5.1-52.1
140 - rebuilt for new gcc4.1 snapshot and glibc changes
141
142 * Fri Feb 3 2006 Tim Waugh <twaugh@redhat.com> 2.5.1-52
143 - Prevent 'grep -P' from segfaulting (bug #171379).
144
145 * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
146 - rebuilt
147
148 * Thu Sep 29 2005 Tim Waugh <twaugh@redhat.com> 2.5.1-51
149 - Prevent 'grep -Fw ""' from busy-looping (bug #169524).
150
151 * Tue Jun 28 2005 Tim Waugh <twaugh@redhat.com> 2.5.1-50
152 - Further fixing for bug #161700.
153
154 * Mon Jun 27 2005 Tim Waugh <twaugh@redhat.com> 2.5.1-49
155 - Fix 'grep -Fw' for encodings other than UTF-8 (bug #161700).
156
157 * Wed Apr 13 2005 Tim Waugh <twaugh@redhat.com>
158 - Build requires recent pcre-devel (bug #154626).
159
160 * Wed Mar 2 2005 Tim Waugh <twaugh@redhat.com> 2.5.1-48
161 - Rebuild for new GCC.
162
163 * Fri Jan 7 2005 Tim Waugh <twaugh@redhat.com> 2.5.1-47
164 - Run 'make check'.
165 - Fixed -w handling for EGexecute. Now 'make check' passes.
166 - Cache MB_CUR_MAX value in egf-speedup patch.
167 - Fixed variable shadowing in egf-speedup patch.
168 - Removed redundant (and incorrect) code in prline.
169
170 * Fri Jan 7 2005 Tim Waugh <twaugh@redhat.com> 2.5.1-46
171 - More -w tests from Jakub Jelinek.
172 - Rebased on 2.5.1a.
173
174 * Fri Dec 31 2004 Tim Waugh <twaugh@redhat.com> 2.5.1-45
175 - More tests (Jakub Jelinek).
176 - Jakub Jelinek's much improved -Fi algorithm.
177 - Removed bogus part of grep-2.5.1-fgrep patch.
178
179 * Tue Dec 21 2004 Tim Waugh <twaugh@redhat.com> 2.5.1-44
180 - Fixed -Fi for multibyte input (bug #143079).
181
182 * Thu Dec 16 2004 Tim Waugh <twaugh@redhat.com> 2.5.1-43
183 - Bypass kwset matching when ignoring case and processing multibyte input
184 (bug #143079).
185
186 * Tue Dec 14 2004 Tim Waugh <twaugh@redhat.com> 2.5.1-42
187 - Further UTF-8 processing avoided since a '\n' byte is always an
188 end-of-line character in that encoding.
189
190 * Fri Dec 3 2004 Tim Waugh <twaugh@redhat.com> 2.5.1-41
191 - Fixed a busy loop in the egf-speedup patch (bug #140781).
192
193 * Thu Nov 18 2004 Tim Waugh <twaugh@redhat.com> 2.5.1-40
194 - Fixed a bug in the fgrep patch, exposed by the dfa-optional patch
195 (bug #138558).
196
197 * Tue Nov 16 2004 Tim Waugh <twaugh@redhat.com> 2.5.1-39
198 - Fixed last patch.
199
200 * Tue Nov 16 2004 Tim Waugh <twaugh@redhat.com> 2.5.1-38
201 - Applied patch from Karsten Hopp to fix background colour problems with
202 --color output (bug #138913).
203
204 * Wed Nov 10 2004 Tim Waugh <twaugh@redhat.com> 2.5.1-37
205 - Prevent false matches when DFA is disabled (bug #138558).
206
207 * Mon Nov 8 2004 Tim Waugh <twaugh@redhat.com> 2.5.1-36
208 - Automatically disable DFA when processing multibyte input. GREP_USE_DFA
209 environment variable overrides.
210
211 * Fri Nov 5 2004 Tim Waugh <twaugh@redhat.com> 2.5.1-35
212 - Fixes to egf-speedup patch: now it does not change any functionality,
213 as intended.
214 - GREP_NO_DFA now turns off the DFA engine, for performance testing.
215
216 * Thu Nov 4 2004 Tim Waugh <twaugh@redhat.com> 2.5.1-34
217 - More improvements to egf-speedup patch (bug #138076).
218
219 * Thu Nov 4 2004 Tim Waugh <twaugh@redhat.com> 2.5.1-33
220 - Small improvements to egf-speedup patch.
221
222 * Wed Nov 3 2004 Tim Waugh <twaugh@redhat.com> 2.5.1-32
223 - Remove mb-caching hack.
224 - Better multibyte handling in EGexecute() and Fexecute().
225 - Don't need regex.c changes in grep-2.5-i18n.patch.
226
227 * Wed Oct 13 2004 Tim Waugh <twaugh@redhat.com> 2.5.1-31
228 - Make 'grep -F' avoid UTF-8 processing if the pattern contains no
229 multibyte characters (bug #133932).
230
231 * Mon Oct 11 2004 Tim Waugh <twaugh@redhat.com> 2.5.1-30
232 - Applied patch from Robert Scheck to tidy spec file and add a URL
233 tag (bug #135185).
234
235 * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
236 - rebuilt
237
238 * Fri Jun 4 2004 Tim Waugh <twaugh@redhat.com>
239 - More build requirements (bug #125323).
240
241 * Tue May 18 2004 Jeremy Katz <katzj@redhat.com> 2.5.1-28
242 - rebuild
243
244 * Tue May 18 2004 Tim Waugh <twaugh@redhat.com> 2.5.1-27
245 - Fix dfa multibyte character class matching when -i is used (bug #123363).
246 - Use bracket patch before i18n patch to make it clear that the bug exists
247 upstream.
248
249 * Thu Feb 26 2004 Tim Waugh <twaugh@redhat.com> 2.5.1-26
250 - Fix fgrep (bug #116909).
251
252 * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
253 - rebuilt
254
255 * Mon Jan 5 2004 Tim Waugh <twaugh@redhat.com> 2.5.1-24
256 - Work around glibc bug #112869 (segfault in re_compile_pattern).
257 - Avoid patching Makefile.am, to avoid automake/autoconf weirdness.
258
259 * Wed Dec 10 2003 Tim Waugh <twaugh@redhat.com> 2.5.1-23
260 - Another multibyte efficiency bug-fix (bug #111800).
261
262 * Mon Dec 8 2003 Tim Waugh <twaugh@redhat.com> 2.5.1-22
263 - Fixed [:alpha:]-type character classes (bug #108484).
264 - Fixed -o -i properly (bug #111489).
265
266 * Sat Dec 6 2003 Tim Waugh <twaugh@redhat.com> 2.5.1-21
267 - Fixed 'fgrep -i' (bug #111614).
268
269 * Fri Nov 21 2003 Tim Waugh <twaugh@redhat.com> 2.5.1-20
270 - Another two multibyte efficiency bug-fixes (bug #110524).
271
272 * Thu Nov 6 2003 Tim Waugh <twaugh@redhat.com> 2.5.1-19
273 - Fixed a multibyte efficiency bug.
274
275 * Thu Nov 6 2003 Tim Waugh <twaugh@redhat.com> 2.5.1-18
276 - Turn on multibyte efficiency patch again to shake out bugs.
277
278 * Wed Oct 8 2003 Tim Waugh <twaugh@redhat.com>
279 - Fixed man page bug (bug #106267).
280
281 * Thu Sep 18 2003 Tim Waugh <twaugh@redhat.com> 2.5.1-17
282 - Use symlinks for egrep/fgrep, rather than shell script wrappers.
283
284 * Fri Jun 27 2003 Tim Waugh <twaugh@redhat.com>
285 - Fix debuginfo package.
286
287 * Fri Jun 27 2003 Tim Waugh <twaugh@redhat.com> 2.5.1-16.1
288 - Rebuilt.
289
290 * Fri Jun 27 2003 Tim Waugh <twaugh@redhat.com> 2.5.1-16
291 - Finally give up on making grep go fast. :-(
292
293 * Thu Jun 26 2003 Tim Waugh <twaugh@redhat.com> 2.5.1-15.1
294 - Rebuilt.
295
296 * Thu Jun 26 2003 Tim Waugh <twaugh@redhat.com> 2.5.1-15
297 - Fixed grep -i bug introduced by cache.
298
299 * Mon Jun 23 2003 Tim Waugh <twaugh@redhat.com> 2.5.1-14.1
300 - Rebuilt.
301
302 * Mon Jun 23 2003 Tim Waugh <twaugh@redhat.com> 2.5.1-14
303 - Redo the gofast patch (bug #97785).
304
305 * Thu Jun 12 2003 Tim Waugh <twaugh@redhat.com> 2.5.1-13.1
306 - Rebuilt.
307
308 * Thu Jun 12 2003 Tim Waugh <twaugh@redhat.com> 2.5.1-13
309 - Fixed a bug in the gofast patch (bug #97266).
310
311 * Tue Jun 10 2003 Tim Waugh <twaugh@redhat.com> 2.5.1-12.1
312 - Rebuilt.
313
314 * Tue Jun 10 2003 Tim Waugh <twaugh@redhat.com> 2.5.1-12
315 - Go faster (bug #69900).
316 - Fix man page.
317
318 * Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
319 - rebuilt
320
321 * Thu May 29 2003 Tim Waugh <twaugh@redhat.com> 2.5.1-10.1
322 - Rebuilt.
323
324 * Thu May 29 2003 Tim Waugh <twaugh@redhat.com> 2.5.1-10
325 - Use system regex again.
326
327 * Thu May 29 2003 Tim Waugh <twaugh@redhat.com> 2.5.1-9
328 - Fixed bug in go-fast patch.
329
330 * Wed May 28 2003 Tim Waugh <twaugh@redhat.com> 2.5.1-8
331 - Go fast (bug #69900).
332 - Run test suite.
333
334 * Wed Jan 22 2003 Tim Powers <timp@redhat.com> 2.5.1-7
335 - rebuilt
336
337 * Tue Nov 19 2002 Tim Waugh <twaugh@redhat.com> 2.5.1-6
338 - i18n patch.
339
340 * Mon Oct 21 2002 Tim Waugh <twaugh@redhat.com> 2.5.1-5
341 - Don't install /usr/share/info/dir.
342 - Fix -o -i (bug #72641).
343
344 * Sat Jul 20 2002 Florian La Roche <Florian.LaRoche@redhat.de>
345 - install all info files #69204
346
347 * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
348 - automated rebuild
349
350 * Thu May 23 2002 Tim Powers <timp@redhat.com>
351 - automated rebuild
352
353 * Tue Mar 26 2002 Bernhard Rosenkraenzer <bero@redhat.com> 2.5.1-1
354 - 2.5.1
355
356 * Wed Mar 13 2002 Bernhard Rosenkraenzer <bero@redhat.com> 2.5-1
357 - 2.5 final
358
359 * Wed Jan 23 2002 Bernhard Rosenkraenzer <bero@redhat.com> 2.5-0.g.1
360 - 2.5g
361
362 * Wed Jan 09 2002 Tim Powers <timp@redhat.com>
363 - automated rebuild
364
365 * Mon Nov 19 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.5-0.f.4
366 - Update CVS to reduce bloat
367
368 * Thu Nov 8 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.5-0.f.3
369 - Don't fail %%post with --excludedocs
370
371 * Wed Sep 26 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.5-0.f.2
372 - Fix up echo A |grep '[A-Z0-9]' in locales other than C
373
374 * Tue Sep 25 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.5-0.f.1
375 - 2.5f, fixes #53603
376
377 * Wed Jul 18 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.4.2-7
378 - Fix up the i18n patch - it used to break "grep '[]a]'" (#49003)
379 - revert to 2.4.2 (latest official release) for now
380
381 * Mon May 28 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.5e-4
382 - Fix "echo Linux forever |grep -D skip Linux"
383
384 * Mon May 21 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.5e-3
385 - Add new -D, --devices option
386 - Fix a bug with "directories" being uninitialized
387
388 * Sun May 13 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.5e-2
389 - Fix up the --color option to behave like the one from ls (--color=auto)
390 Sooner or later, some people will alias grep="grep --color" and wonder why
391 their scripts break.
392 - Update docs accordingly
393 - Get rid of the annoying blinking in grep --color
394
395 * Sun May 13 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.5e-1
396 - 2.5e
397
398 * Tue Feb 27 2001 Trond Eivind Glomsrød <teg@redhat.com>
399 - use %%{_tmppath}
400 - langify
401
402 * Sun Aug 20 2000 Jakub Jelinek <jakub@redhat.com>
403 - i18n character ranges patch from Ulrich Drepper
404
405 * Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
406 - automatic rebuild
407
408 * Mon Jun 19 2000 Bernhard Rosenkraenzer <bero@redhat.com>
409 - FHSify
410
411 * Tue Mar 21 2000 Florian La Roche <Florian.LaRoche@redhat.com>
412 - update to 2.4.2
413 - fix download URL
414
415 * Thu Feb 03 2000 Bernhard Rosenkraenzer <bero@redhat.com>
416 - gzip info pages (Bug #9035)
417
418 * Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
419 - fix description
420
421 * Wed Dec 22 1999 Jeff Johnson <jbj@redhat.com>
422 - update to 2.4.
423
424 * Wed Oct 20 1999 Bill Nottingham <notting@redhat.com>
425 - prereq install-info
426
427 * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
428 - auto rebuild in the new build environment (release 2)
429
430 * Mon Mar 08 1999 Preston Brown <pbrown@redhat.com>
431 - upgraded to grep 2.3, added install-info %%post/%%preun for info
432
433 * Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
434 - Injected new description and group.
435
436 * Sat May 09 1998 Prospector System <bugs@redhat.com>
437 - translations modified for de, fr, tr
438
439 * Fri May 01 1998 Cristian Gafton <gafton@redhat.com>
440 - updated to 2.2
441
442 * Thu Oct 16 1997 Donnie Barnes <djb@redhat.com>
443 - updated from 2.0 to 2.1
444 - spec file cleanups
445 - added BuildRoot
446
447 * Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
448 - built against glibc

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2