01b06e75 |
Name: oniguruma |
8c2e04a5 |
Version: 6.9.0 |
01b06e75 |
Release: 1%{?dist}
Summary: Regular expressions library
Group: System Environment/Libraries
License: BSD
URL: https://github.com/kkos/oniguruma/
Source0: https://github.com/kkos/oniguruma/releases/download/v%{version}/onig-%{version}.tar.gz |
8c2e04a5 |
%define sha1 onig=8e3e39e8e92f040939922ddc367a56c12bd4c4c3 |
01b06e75 |
%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)
|
8c2e04a5 |
%package devel
Summary: Library providing headers and libraries to libonig
Group: Development/Libraries
Requires: oniguruma = %{version}-%{release}
%description devel
Development files for libonig
|
01b06e75 |
%prep
%setup -q -n onig-%{version}
%build
./configure \
--prefix=%{_prefix} \
--disable-silent-rules \
--disable-static \
--with-rubydir=%{_bindir}
make
%install
make install \
DESTDIR=%{buildroot} \
INSTALL="install -c -p"
find %{buildroot}/%{_libdir} -name '*.la' -delete
%check
make check
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig |
8c2e04a5 |
|
01b06e75 |
%files |
8c2e04a5 |
%{_libdir}/libonig.so.*
%files devel |
01b06e75 |
%defattr(-,root,root,-)
%doc AUTHORS
%license COPYING
%doc README
%doc index.html |
8c2e04a5 |
%lang(ja) %doc README_japanese |
01b06e75 |
%lang(ja) %doc index_ja.html
%{_bindir}/onig-config
%{_libdir}/libonig.so
%{_includedir}/onig*.h
%{_libdir}/pkgconfig/%{name}.pc
%changelog |
8c2e04a5 |
* Mon Sep 10 2018 Him Kalyan Bordoloi <bordoloih@vmware.com> 6.9.0-1
- Upgrade to 6.9.0
- Created devel package |
01b06e75 |
* Tue Aug 22 2017 Chang Lee <changlee@vmware.com> 6.5.0-1
- Initial version |