Репозитории ALT
Последнее обновление в Пт, 24 июля 2020, 14:09:54 +0000 | Пакетов: 21146
en ru
Исходные пакеты в ветвях
свернуть окно
  • 6.4.0-alt1.M70C.1
Группа :: Система/Библиотеки
Исходный пакет: oniguruma
Необработанный spec-файл

%define soversion 5
Name: oniguruma
Version: 6.9.5.1
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 \
--enable-posix-api \
--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 Jun 29 2020 Anton Farygin <rider at altlinux.ru> 6.9.5.1-alt1
- 6.9.5.1

* Wed May 13 2020 Anton Farygin <rider at altlinux.ru> 6.9.5-alt1
- 6.9.5

* Mon Dec 02 2019 Anton Farygin <rider at 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 at altlinux.ru> 6.9.3-alt1
- 6.9.3

* Sat May 11 2019 Anton Farygin <rider at altlinux.ru> 6.9.2-alt1
- 6.9.2

* Thu Dec 20 2018 Anton Farygin <rider at 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 at altlinux.ru> 6.9.1-alt1
- 6.9.1

* Fri Sep 21 2018 Anton Farygin <rider at altlinux.ru> 6.9.0-alt1
- 6.9.0

* Fri May 04 2018 Anton Farygin <rider at altlinux.ru> 6.8.2-alt1
- new version

* Thu Apr 05 2018 Anton Farygin <rider at 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 at altlinux.ru> 6.7.1-alt1
- new version

* Mon Oct 02 2017 Anton Farygin <rider at altlinux.ru> 6.6.1-alt1
- new version

* Wed Jul 12 2017 Anton Farygin <rider at 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 at altlinux.ru> 6.2.0-alt2
- added obsolete for libOniGuruma-devel to devel package

* Wed May 10 2017 Anton Farygin <rider at altlinux.ru> 6.2.0-alt1
- first build for ALT, based on RH spec
 
Проект Geyser основан на коде из проекта Prometheus 2.0, который был доступен по лицензии MIT