From a79a2dac94c9600748cbcde5dd328c3dd087fac66c2c586188fa1dcce4392a4b Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 5 Dec 2024 08:50:16 +0000 Subject: [PATCH] - Reenable pma tests OBS-URL: https://build.opensuse.org/package/show/Base:System/gawk?expand=0&rev=106 --- .gitattributes | 23 + .gitignore | 1 + gawk-5.3.0.tar.xz | 3 + gawk-5.3.0.tar.xz.sig | 11 + gawk-5.3.1.tar.xz | 3 + gawk-5.3.1.tar.xz.sig | 11 + gawk.changes | 1072 +++++++++++++++++++++++++++++++++++++++++ gawk.keyring | 30 ++ gawk.rpmlintrc | 1 + gawk.spec | 100 ++++ 10 files changed, 1255 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 gawk-5.3.0.tar.xz create mode 100644 gawk-5.3.0.tar.xz.sig create mode 100644 gawk-5.3.1.tar.xz create mode 100644 gawk-5.3.1.tar.xz.sig create mode 100644 gawk.changes create mode 100644 gawk.keyring create mode 100644 gawk.rpmlintrc create mode 100644 gawk.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/gawk-5.3.0.tar.xz b/gawk-5.3.0.tar.xz new file mode 100644 index 0000000..1ef30e5 --- /dev/null +++ b/gawk-5.3.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ca9c16d3d11d0ff8c69d79dc0b47267e1329a69b39b799895604ed447d3ca90b +size 3436180 diff --git a/gawk-5.3.0.tar.xz.sig b/gawk-5.3.0.tar.xz.sig new file mode 100644 index 0000000..772e2a6 --- /dev/null +++ b/gawk-5.3.0.tar.xz.sig @@ -0,0 +1,11 @@ +-----BEGIN PGP SIGNATURE----- + +iQEzBAABCgAdFiEE0ZZ8Y3iHExd9hh7X31l4FZN+wNIFAmVDqK4ACgkQ31l4FZN+ +wNJ+GggAnyOAPNYFipBf/dKdpBXe3KVvpYoC9gchyw5M/S3iEHeSr9I0X0eExCkL +2fJEEb4hcPA4nReYUvCGUFTi8MWhdSwzd1lFi7BusqZjXtq2JPY+eTRk7CcoSJ5+ +VAzNPizsw7K+zT+J/kr4rSDjEo++ENZsnZiOyWWy2ta3sI/Sn+kF39xCqnXp2UBm +aAfOjmwExVwVtSWyzhl7rQL6fX3/fL/x3Xq+wMF3c0dDhQsV56Bep0p/T9ETJx4U +Wtm/JVzPg60f2d6LlgQVONvDYN3xU67vm7PjTiPA9MRt4Yh0Fv7xxnYRqmAno8or +Iqb0m+pbpQjirMExK2MSMeb/kS7egQ== +=YNmi +-----END PGP SIGNATURE----- diff --git a/gawk-5.3.1.tar.xz b/gawk-5.3.1.tar.xz new file mode 100644 index 0000000..638251d --- /dev/null +++ b/gawk-5.3.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:694db764812a6236423d4ff40ceb7b6c4c441301b72ad502bb5c27e00cd56f78 +size 3510032 diff --git a/gawk-5.3.1.tar.xz.sig b/gawk-5.3.1.tar.xz.sig new file mode 100644 index 0000000..ee2fbe2 --- /dev/null +++ b/gawk-5.3.1.tar.xz.sig @@ -0,0 +1,11 @@ +-----BEGIN PGP SIGNATURE----- + +iQEzBAABCgAdFiEE0ZZ8Y3iHExd9hh7X31l4FZN+wNIFAmbqZRUACgkQ31l4FZN+ +wNIDlwf/VhA4PMi7PAFKfnZKg6+1Q7ohgYb4zyaGgDfJ5OMJDI78qxUWGfAfGJPy +/PmnZ9i40WTENe5j0Le05bufGnb4PZv0GmDgrSOZ1HGtfi/A0ty3zK6X7xrCktZb +7W+1At5vdhpshfb/QI4h47Zn3WXF9pd8jar5XCY/2RGGxiUKSXMANjJXDJXbnG88 +neFRDCNeioSUGShto5nkzrg2N/HpRB5Ki7gqOJMHkJcJeRY5tHzFaHu2uLCnB6Dm +UXuBz2j1oa+8I2pY0GygkgKq2nX3o8WP+r+Ue3GyaZ1D0nY4xRuUI9BGdEt/iGky +cpBgeYwELcxXfivHRy4uX4pyzSH2oA== +=NN1c +-----END PGP SIGNATURE----- diff --git a/gawk.changes b/gawk.changes new file mode 100644 index 0000000..257a5da --- /dev/null +++ b/gawk.changes @@ -0,0 +1,1072 @@ +------------------------------------------------------------------- +Wed Dec 4 20:39:51 UTC 2024 - Andreas Schwab + +- Reenable pma tests + +------------------------------------------------------------------- +Wed Oct 23 08:39:00 UTC 2024 - Dirk Müller + +- update to 5.3.1: + * More subtle issues related to uninitialized array elements + have been fixed. + * A number of bugs in the debugger related to handling of + arrays have been fixed. + * Some subtle bugs in the API have been fixed. + * Use of MPFR is now possible again on 32-bit Power PC Mac + systems. + * Race conditions around broken pipes for system() and read + and write pipes should now be closed off. + * Support for OSF/1 has been removed. + * The never-documented --nostalgia option has been removed. + It was causing bug reports. + * The implementation of printf/sprintf has been thoroughly + reworked in order to make the code more maintainable and to + fix a goodly number of corner cases. + +------------------------------------------------------------------- +Sat Nov 4 17:46:15 UTC 2023 - Andreas Stieger + +- Update to 5.3.0: + * Built-in CSV file parsing (--csv) + * Support a new \u escape sequence for specifying code points in + multi-byte encodings + * Pipe output is buffered if PROCINFO["BUFFERPIPE"] exists + +------------------------------------------------------------------- +Sat May 13 08:31:16 UTC 2023 - Andreas Stieger + +- enable profiling + +------------------------------------------------------------------- +Tue May 9 20:38:51 UTC 2023 - Andreas Stieger + +- Update to gawk 5.2.2 + * will now diagnose if a heap file was created with a different + setting of -M/--bignum than in the current invocation and exit + with a fatal message if so. + * no longer "leaks" its free list of NODEs in the heap file, + resulting in much more efficient usage of persistent storage + * PROCINFO["pma"] exists if the PMA allocator is compiled into + gawk. Its value is the PMA version. + * The time extension is no longer deprecated. The strptime() + function from gawkextlib's timex extension has been added to + it. + * Better information is passed to input parsers for when they + want to decide whether or not to take control of a file. + * The various PNG files are now installed for Info and HTML + * Bug fixes and developer visible fixes + +------------------------------------------------------------------- +Tue Dec 27 10:37:54 UTC 2022 - Ludwig Nussel + +- Replace transitional %usrmerged macro with regular version check (boo#1206798) + +------------------------------------------------------------------- +Wed Nov 23 09:15:25 UTC 2022 - Andreas Schwab + +- Update to gawk 5.2.1 + * Issues related to the sign of NaN and Inf values on RiscV have + been fixed + * A few issues with the debugger have been fixed. + * More subtle issues with untyped array elements being passed to + functions have been fixed. + * The rwarray extension's readall() function has had some bugs fixed. + * The PMA allocator is now supported on FreeBSD, OpenBSD and Linux on + S/390x. +- double-free.patch, pma.patch, nan-sign.patch: Removed + +------------------------------------------------------------------- +Sat Sep 24 08:40:01 UTC 2022 - Andreas Schwab + +- double-free.patch: Yet another fix for Node_elem_new + +------------------------------------------------------------------- +Tue Sep 20 07:45:49 UTC 2022 - Andreas Schwab + +- double-free.patch: Fix Node_elem_new op, replacing upref.patch +- pma.patch: Replace with upstream solution +- nan-sign.patch: Fix negative NaN issue on RiscV, replacing + nan-tests.patch + +------------------------------------------------------------------- +Tue Sep 13 17:43:05 UTC 2022 - Andreas Schwab + +- upref.patch: Add missing UPREF + +------------------------------------------------------------------- +Mon Sep 5 08:49:14 UTC 2022 - Andreas Schwab + +- Update to gawk 5.2.0 + * Numeric scalars now compare in the same way as C for the relational + operators. Comparison order for sorting has not changed + * If the AWK_HASH environment variable is set to "fnv1a" gawk will + use the FNV1-A hash function for associative arrays + * There is now a new function, mkbool(), that creates Boolean-typed + values + * As BWK awk has supported interval expressions since 2019, they are + now enabled even if --traditional is supplied + * The rwarray extension has two new functions, writeall() and readall() + * The new `gawkbug' script should be used for reporting bugs + * The manual page (doc/gawk.1) has been considerably reduced in size + * Gawk now supports Terence Kelly's "persistent malloc" (pma), + allowing gawk to preserve its variables, arrays and user-defined + functions between runs + * Some subtle issues with untyped array elements being passed to + functions have been fixed + * Syntax errors are now immediately fatal +- gawk-5.1.1-Disable-racy-test-in-test-iolint.awk.patch: removed +- pma.patch: Handle hole bigger than half the address space +- nan-tests.patch: fix non-portable NaN tests + +------------------------------------------------------------------- +Sun Nov 14 17:10:48 UTC 2021 - Andreas Stieger + +- disable racy iolint tests boo#1192521 + add gawk-5.1.1-Disable-racy-test-in-test-iolint.awk.patch + +------------------------------------------------------------------- +Sat Nov 6 22:03:11 UTC 2021 - Andreas Schwab + +- Add readline-devel to enable readline support in the debugger +- Add mpfr-devel to enable support for MPFR mode + +------------------------------------------------------------------- +Sun Oct 31 11:36:18 UTC 2021 - Andreas Stieger + +- GNU awk 5.1.1 + * asort and asorti now allow FUNCTAB and SYMTAB as the first + argument if a second destination array is supplied. Similarly, + using either array as the second argument is now a fatal error. + Additionally, using either array as the destination for split(), + match(), etc. also causes a fatal error. + * The new -I/--trace option prints a trace of the byte codes as + they are executed. + * A number of subtle bugs relating to MPFR mode that caused + differences between regular operation and MPFR mode have been + fixed. + * The API now handles MPFR/GMP values slightly differently, + requiring different memory management for those values. + * $0 and the fields are now cleared before starting a BEGINFILE + rule. + * Handling of Infinity and NaN values has been improved + * The "no effect" lint warnings have been fixed up and now behave + more sanely. + * The behavior of strongly-typed regexp constants when passed as + the third argument to sub() or gsub() has been clarified in the + code and in the manual. + * Similar to item #4 above, division by zero is now fatal in MPFR + mode, as it is in regular mode. + +------------------------------------------------------------------- +Thu Sep 23 15:02:47 UTC 2021 - Manfred Schwarb + +- remove update-alternatives support, as on linux systems GNU software + (i.e. gawk in this case) is usually considered the default implementation. +- use %make macros + +------------------------------------------------------------------- +Thu Feb 4 10:41:36 UTC 2021 - Ludwig Nussel + +- fix update-alternatives usage. Needs to be in %postun according to + https://en.opensuse.org/openSUSE:Packaging_Multiple_Version_guidelines#update-alternatives_mechanism + +------------------------------------------------------------------- +Mon Dec 14 16:06:16 UTC 2020 - Ludwig Nussel + +- prepare usrmerge (boo#1029961) +- remove use of obsolete %install_info + +------------------------------------------------------------------- +Wed Apr 15 08:48:59 UTC 2020 - Paolo Stivanin + +- Update to 5.1.0: + * The major version of the API is bumped to 3, something that should + have happened at the 5.0.0 release but didn't. + * A number of memory leak issues have been fixed. + * Infrastructure upgrades: Bison 3.5.4, Texinfo 6.7, Gettext 0.20.1, + Automake 1.16.2. + * The indexing in the manual has been thoroughly revised, in particular + making use of the facilities in Texinfo 6.7. That version (or newer) + must be used to format the manual. + * MSYS2 is now supported out-of-the-box by configure. + * Several bugs have been fixed. See the ChangeLog for details. +- Removed gawk-inplace-namespace-part3.patch +- Removed gawk-inplace-namespace-part1.patch +- Removed gawk-inplace-namespace-part2.patch + +------------------------------------------------------------------- +Tue Oct 22 11:30:29 UTC 2019 - Neal Gompa + +- Fix typo in Summary +- Stop overriding %_libexecdir with %_libdir + +------------------------------------------------------------------- +Tue Oct 22 05:56:27 UTC 2019 - Igor Gnatenko + +- Fix the backward compatibility of the inplace extension: + * Add gawk-inplace-namespace-part1.patch + * Add gawk-inplace-namespace-part2.patch + * Add gawk-inplace-namespace-part3.patch +- Run autoreconf as part of the build process + +------------------------------------------------------------------- +Tue Aug 27 06:51:05 UTC 2019 - Jan Engelhardt + +- Upgrade descriptions. + +------------------------------------------------------------------- +Mon Aug 12 21:20:35 UTC 2019 - Andreas Stieger + +- GNU awk 5.0.1: + * Sandbox mode now disallows assigning new filename values in + ARGV that were not there when gawk was invoked + * The new argument "no-ext" to --lint disables "XXX is a gawk + extension" lint warnings +- possibly incompatible changes in 5.0.0: + * Add support for the POSIX standard %a and %A printf formats + * Replace regex routines with those from GNULIB + * PROCINFO["platform"] yields a string indicating the platform for + which gawk was compiled. + * Writing to elements of SYMTAB that are not variable names now + causes a fatal error + * New comment handling in the pretty-printer + * Namespaces have been implemented. Files included with -i, read + with -f, and command line program segments must all be self- + contained syntactic units. + * now uses the locale settings for ignoring case in single byte + locales, instead of hardwiring in Latin-1 + +------------------------------------------------------------------- +Mon Feb 26 10:19:21 UTC 2018 - astieger@suse.com + +- GNU awk 4.2.1: + * documentation updates + * In MPFR mode, When ROUNDMODE changes, string values for + numerically type values will be redone + * various bug fixes + * drop fold-string.patch, upstream +- Use %license (boo#1082318) + +------------------------------------------------------------------- +Sat Oct 21 20:12:05 UTC 2017 - schwab@linux-m68k.org + +- fold-string.patch: Don't fold constant strings if either is translatable + +------------------------------------------------------------------- +Thu Oct 19 21:54:47 UTC 2017 - schwab@linux-m68k.org + +- Update to gawk 4.2.0 + * If not in POSIX mode, changes to ENVIRON are reflected into + gawk's environment + * The series of numbers returned by rand() should now be "more + random" than previously + * Multiple changes related to the pretty printer + * The igawk script and igawk.1 man page are no longer installed + * Gawk now processes a maximum of two hexadecimal digits in \x + escape sequences inside strings + * Setting PROCINFO["redirection", "NONFATAL"] to true makes I/O + errors for "redirection" not fatal + * Gawk now supports retryable I/O via PROCINFO[input-file, "RETRY"] + * Revisions in the POSIX standard remove the special case for POSIX + mode when FS = " " where newline was not a field separator + * Gawk now supports strongly typed regexp constants + * The new typeof() function can be used to indicate if a variable or + array element is an array, regexp, string or number + * Optimizations are now enabled by default + * Passing negative operands to any of the bitwise functions now + produces a fatal error + * The mktime function now accepts an optional second argument + * The FIELDWIDTHS parsing syntax has been enhanced to allow specifying + how many characters to skip before a field starts + * The PROCINFO["argv"] array records all of gawk's command line arguments + as gawk received them +- gawk_ppc64le_ignore_transient_test_time_failure.patch: removed + +------------------------------------------------------------------- +Wed Oct 11 11:40:41 UTC 2017 - astieger@suse.com + +- also ignore transient test time failure on ppc64 + +------------------------------------------------------------------- +Mon Apr 10 07:39:22 UTC 2017 - josef.moellers@suse.com + +- Added an explicit rpmlint rule to keep one file (gawkapi.h) + from requiring a separate package. + [+gawk.rpmlintrc] + +------------------------------------------------------------------- +Mon Sep 5 20:27:40 UTC 2016 - astieger@suse.com + +* GNU awk 4.1.4: + * z/OS support updated + * debugger improvements + * return value of system() enhanced to convey more information + * two-way pipe handling improved + * The -d option now allows -d- to print to standard output. + * The DJGPP port is now officially deprecated. + +------------------------------------------------------------------- +Wed May 4 15:57:22 UTC 2016 - normand@linux.vnet.ibm.com + +- new gawk_ppc64le_ignore_transient_test_time_failure.patch + +------------------------------------------------------------------- +Sat May 23 18:48:02 UTC 2015 - astieger@suse.com + +- GNU awk 4.1.3: + * Regexp parsing with extra brackets should now be working again. + * Updated to latest config.guess and config.sub. + * bug fixes + +------------------------------------------------------------------- +Thu May 7 19:13:00 UTC 2015 - astieger@suse.com + +- skip frequently failing and timing dependent test strftime + +------------------------------------------------------------------- +Thu May 7 07:48:15 UTC 2015 - mpluskal@suse.com + +- Correct info files scriplet handling section +- Update info and update-alternatives requirements + +------------------------------------------------------------------- +Sun May 3 09:30:05 UTC 2015 - astieger@suse.com + +- GNU awk 4.1.2: + * manual improved + * The debugger's "restart" command now works again. + * Redirected getline is now allowed inside BEGINFILE/ENDFILE. + * A number of bugs have been fixed in the MPFR code. + * Indirect function calls now work for both built-in and extension + functions. + * Built-in functions are now included in FUNCTAB. + * In non-English locales, it was accidentally possible to use + non-english letters for identifiers + * The "where" command has been added to the debugger as an alias + for "backtrace". + * Gawk no longer explicitly checks the current directory after + doing a path search of AWKPATH. + * Infrastructure upgrades: Automake 1.15, Gettext 0.19.4, + Libtool 2.4.6, Bison 3.0.4. + * If a user-defined function has a parameter with the same name + as another user-defined function, it is no longer possible to + call the second function from inside the first. + * POSIX requires that the names of function parameters not be the + same as any of the special built-in variables and also not + conflict with the names of any functions. Gawk has checked for + the former since 3.1.7. With --posix, it now also checks for + the latter. + * The test suite should check for necessary locales and skip the + tests where it matters if support isn't what it should be. + * Gawk now expects to be compiled on a system with multibyte + character support. +- drop gawk-4.1.1-build-baddest.patch, upstream + +------------------------------------------------------------------- +Sat May 3 15:39:14 UTC 2014 - andreas.stieger@gmx.de + +- remove optional libsigsegv dependency + +------------------------------------------------------------------- +Tue Apr 29 20:28:42 UTC 2014 - andreas.stieger@gmx.de + +- GNU awk 4.1.1: + * The "stat" extension now includes a "devbsize" element which + indicates the units for the "nblocks" element. + * A number of bugs in the pretty-printing / profiling code have + been fixed. + * The -O option now works again. + * The --include option, documented since 4.0, now actually works. + * Infrastructure updated to automake 1.13.4, bison 3.0.2, and + libtool 2.4.2.418. + * The configure script now accepts a --disable-extensions option, + which disables checking for and building the extensions. + * The API now provides functions pointers for malloc(), calloc(), + realloc() and free(), to insure that the same memory allocation + functions are always used. This bumps the minor version by one. + * The printf quote flag now works correctly in locales with + a different decimal point character but without a thousands + separator character. If the thousands separator is a string, + it will be correctly added to decimal numbers. + * The readfile extension now has an input parser that will read + whole files as a single record. +- packaging changes: + * remove added German po file and scanning of translations + * remove profiling, fixing warning make-check-outside-check-section + * remove autoreconf call + * drop gawk-3.1.8.diff + * drop older-automake.diff, not required for factory + * build with libsigsegv + * no not regenerate info pages + * add gawk-4.1.1-build-baddest.patch required for install + * switch to xz tarball + * verify source signature + +------------------------------------------------------------------- +Sat Feb 8 12:02:23 UTC 2014 - gber@opensuse.org + +- adjust update-alternative usage to packaging policy + (see http://lists.opensuse.org/opensuse-packaging/2014-02/msg00024.html) + +------------------------------------------------------------------- +Mon May 13 09:35:02 UTC 2013 - idonmez@suse.com + +- Update to version 4.1.0 + * The three executables gawk, pgawk, and dgawk, have been merged into + one, named just gawk. + * The new -i option (from xgawk) is used for loading awk library files. + * The new -l option (from xgawk) is used for loading dynamic extensions. + * The dynamic extension interface has been completely redone. There is + now a defined API for C extensions to use. A C extension acts like + a function written in awk, except that it cannot do everything that awk + code can. However, this allows interfacing to any facility that is + available from C. + * The "inplace" extension, built using the new facility, can be used to + simulate the GNU "sed -i" feature. + * The and(), or() and xor() functions now take any number of arguments, + with a minimum of two. + * New arrays: SYMTAB, FUNCTAB, and PROCINFO["identifiers"]. SYMTAB allows + indirect access to any defined variable or array; it is possible to + "walk" the symbol table, if that should be necessary. +- Refreshed gawk-3.1.8.diff +- Add older-automake.diff to support automake 1.12 + +------------------------------------------------------------------- +Tue Mar 26 14:25:52 UTC 2013 - mmeister@suse.com + +- Added url as source. + Please see http://en.opensuse.org/SourceUrls + +------------------------------------------------------------------- +Thu Dec 13 23:01:16 UTC 2012 - jengelh@inai.de + +- Remove unneded %clean section + +------------------------------------------------------------------- +Fri Sep 7 12:48:01 UTC 2012 - coolo@suse.com + +- add explicit buildrequire makeinfo + +------------------------------------------------------------------- +Wed Apr 4 01:27:28 UTC 2012 - tabraham@novell.com + +- Update to version 4.0.1 + * completed the implementation of Rational Range Interpretation + * failure to get the group set is no longer a fatal error + * lots of minor bugs fixed and portability clean-ups + +- refreshed gawk-3.1.8.diff +- removed gawk-revert-gsub-gawk3.patch deprecated by this release + +------------------------------------------------------------------- +Wed Feb 8 20:59:12 UTC 2012 - rschweikert@suse.com + +- keep binaries in /usr tree {UsrMerge project) + +------------------------------------------------------------------- +Mon Jan 30 16:16:45 CET 2012 - pth@suse.de + +- Compress message catalog. + +------------------------------------------------------------------- +Mon Jan 30 13:32:32 CET 2012 - pth@suse.de + +- Use latest german message catalog. +- Call update-po as part of package build. + +------------------------------------------------------------------- +Fri Dec 2 14:52:56 UTC 2011 - cfarrell@suse.com + +- license update: GPL-3.0+ + gawk is GPL-3.0+ in 4.0.0 + +------------------------------------------------------------------- +Thu Dec 1 15:47:50 UTC 2011 - coolo@suse.com + +- add automake as buildrequire to avoid implicit dependency + +------------------------------------------------------------------- +Tue Sep 27 11:31:28 UTC 2011 - idonmez@suse.com + +- Revert sub/gsub behavior to that of gawk 3.x. Upstream commit + 16de770359370224129f23df745178efe518c02c + +------------------------------------------------------------------- +Wed Aug 10 03:58:24 UTC 2011 - crrodriguez@opensuse.org + +- Update to version 4.0.0 , important changes + * The special files /dev/pid, /dev/ppid, /dev/pgrpid and /dev/user are + now completely gone. Use PROCINFO instead. + * The POSIX 2008 behavior for `sub' and `gsub' are now the default. + * In POSIX mode, string comparisons use strcoll/wcscoll. + * Gawk now treats ranges of the form [d-h] as if they were in the C + + +------------------------------------------------------------------- +Tue Apr 19 13:46:32 CEST 2011 - dmueller@suse.de + +- update to 3.1.8: + * The zero flag no longer applies to %c and %s; apparently the standards + changed at some point. + * Failure to open a socket is no longer a fatal error. + * dfa.h and dfa.c are now more-or-less in sync with GNU grep, for the first + time in many years. + * Gawk no longer includes its own copy of libsigsegv but it will use it if + installed on the build system. The --disable-libsigsegv configure option + is now gone. + * The ' flag (%'d) is now just ignored on systems that can't support it. + * Gawk now has support for z/OS (IBM S/390 architecture). + * Gawk now handles multibyte strings better in [s]printf with field + widths and such. + * A getline from a directory is no longer fatal; instead it returns -1. + * Per POSIX, special variable names (like FS) cannot be used as function + parameter names. + * The new -O / --optimize option enables simple constant folding on + the parse tree during parsing. We hope that with time the number + of optimizations will increase. + * Lots of bug fixes, see the ChangeLog. + +------------------------------------------------------------------- +Mon Jun 28 06:38:35 UTC 2010 - jengelh@medozas.de + +- use %_smp_mflags + +------------------------------------------------------------------- +Tue Feb 16 09:06:01 UTC 2010 - guido+opensuse.org@berhoerster.name + +- use update-alternatives + +------------------------------------------------------------------- +Tue Nov 3 19:09:17 UTC 2009 - coolo@novell.com + +- updated patches to apply with fuzz=0 + +------------------------------------------------------------------- +Sat Feb 7 18:10:26 CET 2009 - schwab@suse.de + +- Rebuild broken info files. + +------------------------------------------------------------------- +Mon Nov 12 14:50:34 CET 2007 - schwab@suse.de + +- Update to gawk 3.1.6. + 1. `gawk 'program' /non/existant/file' no longer core dumps. + 2. Too many people the world over have complained about gawk's use of the + locale's decimal point for parsing input data instead of the traditional + period. So, even though gawk was being nicely standards-compliant, in + a Triumph For The Users, gawk now only uses the locale's decimal point + if --posix is supplied or if POSIXLY_CORRECT is set. It is the sincere + hope that this change will eliminate this FAQ from being asked. + 3. `gawk -v BINMODE=1 ...' works again. + 4. Internal file names like `/dev/user' now work again. (Note that these + file names are obsolete and will go away eventually.) + 5. Problems with wide strings in non "C" locales have been straightened + out everywhere. (At least, we think so.) + 6. Use of `ansi2knr' is no longer supported. Please use an ANSI C compiler. + 7. Updated to Autoconf 2.61, Automake 1.10, and Gettext 0.16.1. + 8. The getopt* and regex* files were synchronized with current GLIBC CVS. + See the ChangeLog for the versions and minor edits made. + 9. There are additional --lint-old warnings. + 10. Gawk now uses getaddrinfo(3) to look up names and IP addresses. This + allows the use of an IPv6 format address and paves the way for + eventual addition of `/inet6/...' and `/inet4/...' hostnames. + 11. We believe gawk to now be valgrind clean. At least when run against + the test suite. + 12. A number of issues dealing with the formatting and printing of very + large numbers in integer formats have been dealt with and fixed. + 13. Gawk now converts "+inf", "-inf", "+nan" and "-nan" into the corresponding + magic IEEE floating point values. Only those strings (case independent) + work. With --posix, gawk calls the system strtod directly. You asked + for it, you got it, you deal with it. + 14. Defining YYDEBUG enables the -D command line option. + 15. Gawk should now work out of the box on Tandem NSK/OSS systems. + 16. Lint messages rationalized: many more of the messages are now printed + only once, instead of every time they are encountered. + 17. The strftime() function now accepts an optional third argument, which + if non-zero or non-null, indicates that the time should be formatted + as UTC instead of as local time. + 18. The precedence of concatenation and `| getline' (in something like + "echo " "date" | getline stuff) has been reverted to the earlier + behavior and now once again matches Unix awk. + 19. New configure time flag --disable-directories-fatal which causes + gawk to silently skip directories on the command line. This behavior + is also enabled for --traditional, since it's what Unix awk does. + 20. A new option, --use-lc-numeric, forces use of the locale's decimal + point without the rest of the draconian restrictions imposed by + --posix. This softens somewhat the stance taken in item #2. + 21. Everything relevant has been updated to the GPL 3. + 22. Array growth should be faster now, at no cost in space. + 23. Lots more tests. + 24. One new translation. + 25. Various bugs fixed, see the ChangeLog for details. + +------------------------------------------------------------------- +Mon Oct 15 12:55:28 CEST 2007 - schwab@suse.de + +- Update to gawk 3.1.5h. + +------------------------------------------------------------------- +Fri May 25 15:00:37 CEST 2007 - schwab@suse.de + +- Update to gawk 3.1.5g. + +------------------------------------------------------------------- +Fri Sep 1 13:02:34 CEST 2006 - schwab@suse.de + +- Drop doc subpackage. + +------------------------------------------------------------------- +Mon Jul 24 10:35:21 CEST 2006 - schwab@suse.de + +- Add multibyte patch. + +------------------------------------------------------------------- +Wed Jul 5 10:51:33 CEST 2006 - schwab@suse.de + +- Fix conversion error. + +------------------------------------------------------------------- +Tue Jul 4 10:56:26 CEST 2006 - schwab@suse.de + +- New version of last change. + +------------------------------------------------------------------- +Sun Jun 18 16:13:32 CEST 2006 - schwab@suse.de + +- Properly handle /dev/fd. + +------------------------------------------------------------------- +Sat Mar 4 23:03:26 CET 2006 - schwab@suse.de + +- Add two wide string bug fixes. + +------------------------------------------------------------------- +Thu Feb 9 11:39:04 CET 2006 - schwab@suse.de + +- Fix dfa generation of interval expressions [#148453]. + +------------------------------------------------------------------- +Thu Jan 26 18:51:30 CET 2006 - schwab@suse.de + +- Use %jobs. + +------------------------------------------------------------------- +Wed Jan 25 21:30:13 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Wed Nov 30 23:59:09 CET 2005 - schwab@suse.de + +- Fix length on strings with embedded NUL. + +------------------------------------------------------------------- +Fri Oct 7 14:18:37 CEST 2005 - schwab@suse.de + +- Fix off-by-one when processing FIELDWIDTHS. + +------------------------------------------------------------------- +Fri Sep 2 19:05:49 CEST 2005 - schwab@suse.de + +- Update to gaw 3.1.5. + +------------------------------------------------------------------- +Wed May 25 14:10:25 CEST 2005 - schwab@suse.de + +- Update flonum parsing patch. + +------------------------------------------------------------------- +Sat Feb 12 00:25:51 CET 2005 - schwab@suse.de + +- Add libpng to neededforbuild. + +------------------------------------------------------------------- +Wed Feb 2 18:47:07 CET 2005 - schwab@suse.de + +- Ignore exit code from pipes. + +------------------------------------------------------------------- +Tue Sep 28 23:22:50 CEST 2004 - schwab@suse.de + +- Fix parsing of floating point number that start with more than one + zero. + +------------------------------------------------------------------- +Sun Sep 19 23:49:11 CEST 2004 - schwab@suse.de + +- Disable invalid shortcut in dfaexec [#44512]. +- Fix reading past EOF. + +------------------------------------------------------------------- +Mon Aug 23 22:35:32 CEST 2004 - schwab@suse.de + +- Update to gawk 3.1.4. + +------------------------------------------------------------------- +Fri Aug 6 16:57:35 CEST 2004 - schwab@suse.de + +- Use random from glibc [#43568]. + +------------------------------------------------------------------- +Thu Aug 5 15:45:04 CEST 2004 - schwab@suse.de + +- Update to gawk 3.1.3l. + +------------------------------------------------------------------- +Thu Jul 22 15:20:23 CEST 2004 - schwab@suse.de + +- Fix int/long mismatch. + +------------------------------------------------------------------- +Mon Apr 5 14:27:35 CEST 2004 - schwab@suse.de + +- Disable non-POSIX strtod replacement [#38332]. + +------------------------------------------------------------------- +Fri Mar 12 14:40:57 CET 2004 - schwab@suse.de + +- Fix doc bug. + +------------------------------------------------------------------- +Sat Jan 10 12:57:19 CET 2004 - adrian@suse.de + +- do not strip during install, let rpm do it + +------------------------------------------------------------------- +Wed Jul 9 15:21:10 CEST 2003 - schwab@suse.de + +- Update to gawk 3.1.3. + +------------------------------------------------------------------- +Thu Jun 5 13:33:33 CEST 2003 - jh@suse.de + +- Enable profile feedback + +------------------------------------------------------------------- +Tue May 13 11:59:43 CEST 2003 - schwab@suse.de + +- Add %defattr. +- Fix file list. + +------------------------------------------------------------------- +Thu Apr 24 12:20:23 CEST 2003 - ro@suse.de + +- fix install_info --delete call and move from preun to postun + +------------------------------------------------------------------- +Mon Apr 7 13:11:30 CEST 2003 - schwab@suse.de + +- Only delete info entries when removing last version. + +------------------------------------------------------------------- +Thu Mar 27 16:56:42 CET 2003 - schwab@suse.de + +- Update to gawk 3.1.2. + +------------------------------------------------------------------- +Fri Feb 7 13:49:41 CET 2003 - schwab@suse.de + +- Fix spec file. + +------------------------------------------------------------------- +Thu Feb 6 17:48:28 CET 2003 - schwab@suse.de + +- Use %install_info. + +------------------------------------------------------------------- +Mon Nov 18 12:04:42 CET 2002 - schwab@suse.de + +- Add AM_GNU_GETTEXT_VERSION. + +------------------------------------------------------------------- +Tue Sep 17 18:39:14 CEST 2002 - ro@suse.de + +- removed bogus self-provides + +------------------------------------------------------------------- +Mon Aug 5 17:25:58 CEST 2002 - schwab@suse.de + +- Add fix for gsub. + +------------------------------------------------------------------- +Mon Jul 29 11:43:21 CEST 2002 - schwab@suse.de + +- Fix broken patch. + +------------------------------------------------------------------- +Thu Jul 18 12:08:53 CEST 2002 - schwab@suse.de + +- Add lint check for delete. + +------------------------------------------------------------------- +Tue May 14 17:28:35 CEST 2002 - schwab@suse.de + +- Add fix for memory leak in loops. +- Add fix for side effects in split(). + +------------------------------------------------------------------- +Fri May 10 13:54:47 CEST 2002 - schwab@suse.de + +- Update to gawk-3.1.1 (bugfix release). + +------------------------------------------------------------------- +Tue Apr 9 16:59:47 CEST 2002 - schwab@suse.de + +- Fix default AWKPATH. + +------------------------------------------------------------------- +Sat Mar 30 23:13:12 CET 2002 - schwab@suse.de + +- Fix for new gettext. + +------------------------------------------------------------------- +Sun Mar 17 17:37:30 CET 2002 - schwab@suse.de + +- Fix buffer overflow. + +------------------------------------------------------------------- +Mon Feb 18 14:35:45 CET 2002 - schwab@suse.de + +- Workaround spurious limitation in regex matcher. +- Fix bogus assertion in strtonum. + +------------------------------------------------------------------- +Mon Jan 28 18:21:22 CET 2002 - schwab@suse.de + +- Add i18n patch. + +------------------------------------------------------------------- +Fri Jan 11 17:09:51 CET 2002 - schwab@suse.de + +- Two more patches from the author: + * Fix use of getgroups + * Fix grammer in for statement. + +------------------------------------------------------------------- +Fri Nov 30 14:31:42 CET 2001 - schwab@suse.de + +- Replace overrun patch with a better one. +- Fix provides. + +------------------------------------------------------------------- +Mon Nov 26 15:17:59 CET 2001 - schwab@suse.de + +- Use regex from libc again. + +------------------------------------------------------------------- +Wed Nov 7 16:51:32 CET 2001 - schwab@suse.de + +- Fix memory overrun. + +------------------------------------------------------------------- +Mon Nov 5 23:32:06 CET 2001 - schwab@suse.de + +- Fix lint checking and off-by-one error for printf. + +------------------------------------------------------------------- +Fri Oct 5 16:08:45 CEST 2001 - schwab@suse.de + +- Fix for memory corruption bug from author. + +------------------------------------------------------------------- +Tue Sep 25 16:34:38 CEST 2001 - schwab@suse.de + +- Don't set close-on-exec on standard fd (from author). + +------------------------------------------------------------------- +Thu Aug 23 16:31:12 CEST 2001 - schwab@suse.de + +- Fix for unary minus operator from author. + +------------------------------------------------------------------- +Wed Aug 8 20:29:20 CEST 2001 - schwab@suse.de + +- Fix for memory leak from author. + +------------------------------------------------------------------- +Wed Jul 25 19:20:35 CEST 2001 - schwab@suse.de + +- Fix for empty RS and and blank input from author. + +------------------------------------------------------------------- +Mon Jul 16 20:25:15 CEST 2001 - schwab@suse.de + +- Fix for index(foo, "") from author. + +------------------------------------------------------------------- +Wed Jun 13 19:55:16 CEST 2001 - schwab@suse.de + +- Include fix for allocation bug from author. + +------------------------------------------------------------------- +Mon Jun 4 18:27:31 CEST 2001 - schwab@suse.de + +- Update to 3.1.0. + +------------------------------------------------------------------- +Sun May 13 21:23:29 CEST 2001 - schwab@suse.de + +- Use included regex.c (#7953). + +------------------------------------------------------------------- +Wed May 9 19:37:33 CEST 2001 - cstein@suse.de + +- repacked sources with bzip2. + +------------------------------------------------------------------- +Thu Apr 12 19:14:40 CEST 2001 - schwab@suse.de + +- Add patch for \<\> from author. + +------------------------------------------------------------------- +Tue Mar 20 14:10:02 CET 2001 - schwab@suse.de + +- Add parser patch from author. + +------------------------------------------------------------------- +Thu Mar 8 14:32:03 CET 2001 - schwab@suse.de + +- Add two patches from author. + +------------------------------------------------------------------- +Tue Oct 24 16:38:39 CEST 2000 - schwab@suse.de + +- Rename subpackage gawkdoc to gawk-doc. + +------------------------------------------------------------------- +Thu Sep 14 15:01:25 CEST 2000 - schwab@suse.de + +- Add FIELDWIDTHS bug fix from arnold@skeeve.com. + +------------------------------------------------------------------- +Tue Aug 8 13:20:49 CEST 2000 - schwab@suse.de + +- Update to 3.0.6. + +------------------------------------------------------------------- +Fri Jun 30 12:58:10 CEST 2000 - schwab@suse.de + +- Fix handling of array indexes. + +------------------------------------------------------------------- +Tue Jun 27 10:44:19 CEST 2000 - schwab@suse.de + +- Update to 3.0.5. + +------------------------------------------------------------------- +Tue May 9 16:17:20 CEST 2000 - schwab@suse.de + +- Fix symlinks. + +------------------------------------------------------------------- +Mon May 8 12:07:00 CEST 2000 - schwab@suse.de + +- Switch to BuildRoot. +- Move /usr/bin/{,g}awk to /bin. + +------------------------------------------------------------------- +Fri Apr 7 01:21:59 MEST 2000 - bk@suse.de + +- added suse autoconf update macro + +------------------------------------------------------------------- +Tue Apr 4 12:21:09 CEST 2000 - schwab@suse.de + +- Fix IGNORECASE bug. + +------------------------------------------------------------------- +Fri Mar 31 13:20:38 CEST 2000 - schwab@suse.de + +- Include more docs. + +------------------------------------------------------------------- +Tue Feb 15 17:53:02 CET 2000 - schwab@suse.de + +- Fix parser bug. + +------------------------------------------------------------------- +Tue Feb 15 15:29:21 CET 2000 - schwab@suse.de + +- Update config{guess,sub} to latest version. + +------------------------------------------------------------------- +Tue Jan 18 14:10:26 CET 2000 - schwab@suse.de + +- /usr/{info,man} -> /usr/share/{info,man} + +------------------------------------------------------------------- +Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de + +- ran old prepare_spec on spec file to switch to new prepare_spec. + +------------------------------------------------------------------- +Fri Aug 27 11:14:07 CEST 1999 - schwab@suse.de + +- specfile cleanup +- run "make check" +- use regex from libc + +------------------------------------------------------------------- +Mon Jul 19 11:32:32 MEST 1999 - florian@suse.de + +- update to gawk 3.0.4 + +------------------------------------------------------------------- +Thu Dec 10 07:38:32 MET 1998 - florian@suse.de + +- egcs miscompiles gawk, use gcc instead + +------------------------------------------------------------------- +Fri Jul 17 14:53:55 MEST 1998 - werner@suse.de + +- Use mktemp for igawk + +------------------------------------------------------------------- +Wed May 13 17:21:23 MEST 1998 - ro@suse.de + +- used dif from jurix-mirror (date Mar 7 1998) +- some of the patches from gnu.utils.bug are still buggy. applied some new + patches from the author Aharon Robbins to field.c. + +------------------------------------------------------------------- +Mon Mar 2 16:45:10 MET 1998 - florian@suse.de + +- use a complete new patchkit from various bug-reports + to gnu.utils.bug + +------------------------------------------------------------------- +Wed Feb 4 17:53:53 MET 1998 - ro@suse.de + +- build gawkdoc from same specfile + +---------------------------------------------------------------------------- +Thu Oct 9 19:08:47 MEST 1997 - florian@suse.de + +- prepare for autobuild + +---------------------------------------------------------------------------- +Fri Jul 18 14:52:35 MEST 1997 - florian@suse.de + +- add bug-fixes from gnu.utils.bug + +---------------------------------------------------------------------------- +Fri Jul 18 14:52:35 MEST 1997 - florian@suse.de + +- add several patches from gnu.utils.bug +- gawk should work with c-news again + +---------------------------------------------------------------------------- +Tue May 20 14:10:37 MEST 1997 - florian@suse.de + +- update to version 3.0.3 + +---------------------------------------------------------------------------- +Sun Apr 13 23:04:29 MEST 1997 - florian@suse.de + +- add bug-fixes from gnu.utils.bugs +- do not use /usr/libexec anymore + +---------------------------------------------------------------------------- +Wed Jan 22 22:24:11 CET 1997 - florian@suse.de + +- update to version 3.0.2 diff --git a/gawk.keyring b/gawk.keyring new file mode 100644 index 0000000..fcc7aca --- /dev/null +++ b/gawk.keyring @@ -0,0 +1,30 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG v1.4.10 (GNU/Linux) + +mQENBE4C5DQBCADS6t7ycHXHD0WR5FSekc3n6DGvDqfOhQvZ+6nyoYUW/LKhQkem +ZdjyJYFkHBFNWkrWTp9r4uc9H17L/o27DmRDfFhuyjI/zksTApWk5TdVb4M9yV4X +PJxjqjrSGL/iP5ZRDea0TvkG3FeDLbHq9IdAM9Mzw9t38xjpPN/sLzw7I5P3rTl4 +ua9PQOY8TrpNmDxxc1VFAjr7meRInvrZwOOhO9i46v5UK7+0NXFd1pgQPbKeufMv +by3UyhGvS5BMuxpp8+22/5PvNrdY1OdY4SGoIGFw9itJkGFGOROPQ46PkdKtS1b8 +DWtviNef5AxwCC30cA5f8+xUjbSCVO09QCD3ABEBAAG0IkFybm9sZCBSb2JiaW5z +IDxhcm5vbGRAc2tlZXZlLmNvbT6JATgEEwECACIFAk4C5DQCGwMGCwkIBwMCBhUI +AgkKCwQWAgMBAh4BAheAAAoJEN9ZeBWTfsDS69IH/1f3/cA9/9d4USNtN37xQXG+ +wi9NY6DD+UhxJ0DEUWxUUzgwzSx5UahRCrEx2wFPtWq5QsksYUmDJJKAyOTkC0eZ +f5kEJOA7m+Q8kkxdDWgEYOb1XmyjYr3qY8V1xUCuY8DLJn4NLHTDKycSDM/9RWEd +4c45CaVvUDAzMpL44XuUzHIvlPPGYJOisCfj4y50/BaDo6Xw9V1DtajyN21sEzrR +H0E37F+6AnvyHjp8Drgwm2i3U4min1lT+gIeiFL2T7wqEyLQfF0dZMLG/6bTMHSe +solzYJcQYfdoGjNOm1sBFMv9MHKguJdrLFvxnupu9d7TYtm5RMCyNVSNzxF/5Bm5 +AQ0ETgLkNAEIALNCBYvHzR04K084hOdNELDscGGcvCILFkn3IqXafz4FNEqeeIP5 +sxi9iGoUoGSqfW6GnRiYCu9Uz8jqZ5Hefgy94n95K1WJXOnXtHfKfj69xP6ic1vp +N7hbWBZFdRA1GYNhWQV0/FRF9tGSIM8fOs3/XkKW53eoy0yPekNDvW9VcsOHOYWC +wxghFi4h8GpLm9KYEFu0/2kbD94QBDheJXvGkn1S0oq1g69fJY8efpIMveoZr1aA +Q8X2KzQ+Jt+uNggGxyMRj4UCa8tjEnIkbD0KFUFAhFgZxoB2LHcz2jopBI3nBToT +RAAXPwEUE2M+Q1HV9LTKbvgxOSoT+5cZUE8AEQEAAYkBHwQYAQIACQUCTgLkNAIb +DAAKCRDfWXgVk37A0rcIB/4hXCFJIiDeBMl/+njwLTvqFyDEmSeNqDF156O3elkd +vBlVxV+LbCxKz1Dx0mNj3AIO4zus6hwFRm/iCpgQz7m53pVZkZm4QOe37peAIYdc +w2OgMRgzhwZKAjbI1B3VOs03Aev0rTcer5Pf+v85zqY/fVdzOedMyDSc1jHHwlpT +dVmhGfd8cjJQpZ7GWo2ETRfA66UbJcVTBhQGsTeGQ1SixIoN0kktdgibsnT+JVMj +9CoNV3Yfl1NIscgBfB1VDfyQY88GjGieE9ZDF8X21u4UgtWD9kcnZHhn9e75n5e0 +MvBiILvtYMfp+zeB2FuQ9FOb2+Ld05aJqNfBRRwUfvk3 +=jNjb +-----END PGP PUBLIC KEY BLOCK----- diff --git a/gawk.rpmlintrc b/gawk.rpmlintrc new file mode 100644 index 0000000..eb4daa3 --- /dev/null +++ b/gawk.rpmlintrc @@ -0,0 +1 @@ +addFilter("E: devel-file-in-non-devel-package") diff --git a/gawk.spec b/gawk.spec new file mode 100644 index 0000000..9c5a27a --- /dev/null +++ b/gawk.spec @@ -0,0 +1,100 @@ +# +# spec file for package gawk +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: gawk +Version: 5.3.1 +Release: 0 +Summary: Domain-specific language for text processing +License: GPL-3.0-or-later +Group: Productivity/Text/Utilities +URL: https://www.gnu.org/software/gawk/ +Source: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz +Source2: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig +Source3: http://savannah.gnu.org/people/viewgpg.php?user_id=80653#/gawk.keyring +Source4: gawk.rpmlintrc +BuildRequires: mpfr-devel +BuildRequires: readline-devel +Provides: awk + +%description +AWK is a domain-specific language designed for text processing and +typically used as a data extraction and reporting tool. + +GNU awk is upwardly compatible with the System V Release 4 awk. It is +almost completely POSIX 1003.2 compliant. + +%prep +%autosetup -p1 + +%build +export CFLAGS="%{optflags}" +%configure +%if %{do_profiling} + %make_build CFLAGS="$CFLAGS %{cflags_profile_generate}" LDFLAGS="-fprofile-arcs" + %make_build check + %make_build clean + %make_build CFLAGS="$CFLAGS %{cflags_profile_feedback}" LDFLAGS="-fprofile-arcs" +%else + %make_build +%endif + +%check +%make_build check + +%install +%make_install + +%if 0%{?suse_version} < 1550 +install -d -m 755 %{buildroot}/bin +ln -s %{_bindir}/gawk %{buildroot}/bin/gawk +ln -s %{_bindir}/gawk %{buildroot}/bin/awk +%endif + +# remove versioned gawk and create symlink for awk.1 +rm -fv %{buildroot}%{_bindir}/*-%{version} +ln -sfv %{_mandir}/man1/gawk.1%{?ext_man} %{buildroot}%{_mandir}/man1/awk.1%{?ext_man} + +%find_lang %{name} + +%files -f %{name}.lang +%config %{_sysconfdir}/profile.d/gawk.csh +%config %{_sysconfdir}/profile.d/gawk.sh +%if 0%{?suse_version} < 1550 +#UsrMerge +/bin/awk +/bin/gawk +#EndUsrMerge +%endif +%{_bindir}/awk +%{_mandir}/man1/awk.1%{?ext_man} +%license COPYING* +%doc AUTHORS NEWS POSIX.STD README ChangeLog* +%{_bindir}/gawk +%{_bindir}/gawkbug +%{_libexecdir}/awk +%{_libdir}/gawk +%{_datadir}/awk +%{_includedir}/gawkapi.h +%{_infodir}/*.info%{?ext_info} +%{_infodir}/gawk_* +%{_mandir}/man1/gawk.1%{?ext_man} +%{_mandir}/man1/gawkbug.1%{?ext_man} +%{_mandir}/man1/pm-gawk.1%{?ext_man} +%{_mandir}/man3/*%{?ext_man} + +%changelog