Sophie

Sophie

distrib > Mageia > 7 > armv7hl > by-pkgid > b7ce6bc2ddd831ae185843fae4bd1b5c > files > 2

oniguruma-6.9.4-1.mga7.src.rpm

%define major     5
%define libname   %mklibname onig %{major}
%define develname %mklibname oniguruma -d

Name:           oniguruma
Version:        6.9.4
Release:        %mkrel 1
Summary:        Regex Library Supporting Different Character Encodings
License:        BSD
Group:          System/Libraries
Url:            https://github.com/kkos/oniguruma
Source:         https://github.com/kkos/oniguruma/releases/download/v%{version}/onig-%{version}.tar.gz
BuildRequires:  pkgconfig

%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 character encodings: ASCII, UTF-8, UTF-16BE, UTF-16LE,
UTF-32BE, UTF-32LE, EUC-JP, EUC-TW, EUC-KR, EUC-CN, Shift_JIS, Big5, GB
18030, KOI8-R, KOI8, ISO-8859-1, ISO-8859-2, ISO-8859-3, ISO-8859-4,
ISO-8859-5, ISO-8859-6, ISO-8859-7, ISO-8859-8, ISO-8859-9,
ISO-8859-10, ISO-8859-11, ISO-8859-13, ISO-8859-14, ISO-8859-15,
ISO-8859-16.

#------------------------------------------------

%package -n     %{libname}
Summary:        Regex Library Supporting Different Character Encodings
Group:          System/Libraries
# kill the onig pkg
Obsoletes:      %{_lib}onig2 < 5.9.6-3

%description -n %{libname}
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 character encodings: ASCII, UTF-8, UTF-16BE, UTF-16LE,
UTF-32BE, UTF-32LE, EUC-JP, EUC-TW, EUC-KR, EUC-CN, Shift_JIS, Big5, GB
18030, KOI8-R, KOI8, ISO-8859-1, ISO-8859-2, ISO-8859-3, ISO-8859-4,
ISO-8859-5, ISO-8859-6, ISO-8859-7, ISO-8859-8, ISO-8859-9,
ISO-8859-10, ISO-8859-11, ISO-8859-13, ISO-8859-14, ISO-8859-15,
ISO-8859-16.

#------------------------------------------------

%package -n     %{develname}
Summary:        Development package for %{name}
Group:          Development/C++
Requires:       %{libname} = %{version}-%{release}
Provides:       %{name}-devel = %{version}-%{release}
Provides:       onig-devel = %{version}-%{release}
# kill the onig pkg
Obsoletes:      %{_lib}onig-devel < 5.9.6-3

%description -n %{develname}
Header files for development with %{name}.

#------------------------------------------------
%prep
%setup -q -n onig-%{version}

cp -rp sample/ examples

%build
%configure2_5x --disable-static \
               --disable-silent-rules
%make_build

%install
%make_install

# we don't want these
find %{buildroot} -name "*.la" -delete

%files -n %{libname}
%{_libdir}/libonig.so.%{major}{,.*}

%files -n %{develname}
%doc AUTHORS COPYING HISTORY index.html index_ja.html README
%doc doc/* examples/
%{_bindir}/onig-config
%{_includedir}/oniguruma.h
%{_includedir}/oniggnu.h
%{_includedir}/onigposix.h
%{_libdir}/libonig.so
%{_libdir}/pkgconfig/oniguruma.pc


%changelog
* Sun Dec 29 2019 daviddavid <daviddavid> 6.9.4-1.mga7
+ Revision: 1474690
- new version: 6.9.4, fixes multiple security issues (mga#25843)
  * CVE-2019-1322[45], CVE-2019-16163, CVE-2019-19012, CVE-2019-1920[34], CVE-2019-19246

* Mon May 13 2019 luigiwalser <luigiwalser> 6.9.2-1.mga7
+ Revision: 1397523
- 6.9.2

* Sat Dec 22 2018 daviddavid <daviddavid> 6.9.1-1.mga7
+ Revision: 1344458
- new version: 6.9.1

* Mon Sep 10 2018 daviddavid <daviddavid> 6.9.0-1.mga7
+ Revision: 1258115
- new version: 6.9.0

* Sat Apr 21 2018 daviddavid <daviddavid> 6.8.2-1.mga7
+ Revision: 1220696
- new version: 6.8.2
- kill the onig pkg

* Wed Mar 21 2018 daviddavid <daviddavid> 6.8.1-1.mga7
+ Revision: 1210877
- new version: 6.8.1
- now libmajor is 5

* Sat Mar 17 2018 daviddavid <daviddavid> 6.8.0-1.mga7
+ Revision: 1209997
- new version: 6.8.0

* Sun Jan 28 2018 daviddavid <daviddavid> 6.7.1-1.mga7
+ Revision: 1197522
- new version: 6.7.1

* Sat Jan 13 2018 daviddavid <daviddavid> 6.7.0-1.mga7
+ Revision: 1192518
- initial package oniguruma