Package oniguruma: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 | %define soversion 5 Name: oniguruma Version: 6.9.4 Release: alt1 Summary: Regular expressions library Group: System/Libraries License: BSD Url: https://github.com/kkos/oniguruma/ Source0: %name-%version.tar %description Oniguruma is a regular expressions library. The characteristics of this library is that different character encoding for every regular expression object can be specified. (supported APIs: GNU regex, POSIX and Oniguruma native) %package -n lib%name%soversion Summary: Regular expressions library Group: System/Libraries %description -n lib%name%soversion Oniguruma is a regular expressions library. The characteristics of this library is that different character encoding for every regular expression object can be specified. (supported APIs: GNU regex, POSIX and Oniguruma native) %package -n lib%name-devel Summary: Development files for %name Group: Development/Other Requires: lib%name%soversion = %EVR Provides: libOniGuruma-devel = %EVR Provides: %name-devel = %EVR Obsoletes: %name-devel Obsoletes: libOniGuruma-devel %description -n lib%name-devel The lib%name-devel package contains libraries and header files for developing applications that use %name. %prep %setup %__sed -i.multilib -e 's|-L@libdir@||' onig-config.in for f in \ README.ja \ doc/API.ja \ doc/FAQ.ja \ doc/RE.ja do iconv -f EUC-JP -t UTF-8 $f > $f.tmp && \ ( touch -r $f $f.tmp ; %__mv -f $f.tmp $f ) || \ %__rm -f $f.tmp done %build autoreconf -fisv %configure \ --disable-silent-rules \ --disable-static \ --with-rubydir=%_bindir %__make %install %__make install \ DESTDIR=$RPM_BUILD_ROOT \ INSTALL="%__install -c -p" find $RPM_BUILD_ROOT -name '*.la' \ -exec %__rm -f {} ';' %check %__make check %files -n lib%name%soversion %doc AUTHORS COPYING HISTORY README index.html %_libdir/libonig.so.%{soversion}* %files -n lib%name-devel %doc doc/API doc/FAQ doc/RE %_bindir/onig-config %_libdir/libonig.so %_includedir/onig*.h %_libdir/pkgconfig/%name.pc %changelog * Mon Dec 02 2019 Anton Farygin <rider@altlinux.ru> 6.9.4-alt1 - 6.9.4 - fixes: * CVE-2019-19012 Integer overflow related to reg->dmax in search_in_range() * CVE-2019-19203 heap-buffer-overflow in gb18030_mbc_enc_len() * CVE-2019-19204 heap-buffer-overflow in fetch_interval_quantifier() * Tue Aug 13 2019 Anton Farygin <rider@altlinux.ru> 6.9.3-alt1 - 6.9.3 * Sat May 11 2019 Anton Farygin <rider@altlinux.ru> 6.9.2-alt1 - 6.9.2 * Thu Dec 20 2018 Anton Farygin <rider@altlinux.ru> 6.9.1-alt2 - fixed build (thanks bash4 for finding old and unused patch in subshell) - ubt cleanup * Fri Dec 14 2018 Anton Farygin <rider@altlinux.ru> 6.9.1-alt1 - 6.9.1 * Fri Sep 21 2018 Anton Farygin <rider@altlinux.ru> 6.9.0-alt1 - 6.9.0 * Fri May 04 2018 Anton Farygin <rider@altlinux.ru> 6.8.2-alt1 - new version * Thu Apr 05 2018 Anton Farygin <rider@altlinux.ru> 6.8.1-alt1 - new version - the library package was renamed for compatability with ALT Linux shared policy * Mon Jan 29 2018 Anton Farygin <rider@altlinux.ru> 6.7.1-alt1 - new version * Mon Oct 02 2017 Anton Farygin <rider@altlinux.ru> 6.6.1-alt1 - new version * Wed Jul 12 2017 Anton Farygin <rider@altlinux.ru> 6.4.0-alt1 - new version with security fixes (CVE-2017-9224, CVE-2017-9225, CVE-2017-9226, CVE-2017-9227, CVE-2017-9228, CVE-2017-9229) * Wed May 10 2017 Anton Farygin <rider@altlinux.ru> 6.2.0-alt2 - added obsolete for libOniGuruma-devel to devel package * Wed May 10 2017 Anton Farygin <rider@altlinux.ru> 6.2.0-alt1 - first build for ALT, based on RH spec |