1 Summary: Oniguruma - a regular expressions library
2 Summary(pl.UTF-8): Oniguruma - biblioteka wyrażeń regularnych
8 # Source0Download: https://github.com/kkos/oniguruma/releases
9 Source0: https://github.com/kkos/oniguruma/releases/download/v%{version}/onig-%{version}.tar.gz
10 # Source0-md5: 4e585b487dbf0b43286b3051392b088a
11 URL: https://github.com/kkos/oniguruma
12 BuildRequires: autoconf >= 2.50
13 BuildRequires: automake >= 1:1.14
14 BuildRequires: libtool >= 2:2
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 The characteristics of this library is that different character
19 encoding for every regular expression object can be specified.
21 %description -l pl.UTF-8
22 Biblioteka Oniguruma charakteryzuje się tym, że można podać inne
23 kodowanie znaków dla każdego obiektu wyrażenia regularnego.
26 Summary: Header files for Oniguruma library
27 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Oniguruma
28 Group: Development/Libraries
29 Requires: %{name} = %{version}-%{release}
32 This is the package containing the header files for Oniguruma library.
34 %description devel -l pl.UTF-8
35 Ten pakiet zawiera pliki nagłówkowe biblioteki Oniguruma.
38 Summary: Static Oniguruma library
39 Summary(pl.UTF-8): Statyczna biblioteka Oniguruma
40 Group: Development/Libraries
41 Requires: %{name}-devel = %{version}-%{release}
44 Static Oniguruma library.
46 %description static -l pl.UTF-8
47 Statyczna biblioteka Oniguruma.
50 %setup -q -n onig-%{version}
62 rm -rf $RPM_BUILD_ROOT
65 DESTDIR=$RPM_BUILD_ROOT
67 # no external dependencies (and .pc exists)
68 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libonig.la
71 rm -rf $RPM_BUILD_ROOT
73 %post -p /sbin/ldconfig
74 %postun -p /sbin/ldconfig
77 %defattr(644,root,root,755)
78 %doc AUTHORS COPYING HISTORY README.md index.html
79 %doc %lang(ja) README_japanese index_ja.html
80 %attr(755,root,root) %{_libdir}/libonig.so.*.*.*
81 %attr(755,root,root) %ghost %{_libdir}/libonig.so.5
84 %defattr(644,root,root,755)
85 %attr(755,root,root) %{_bindir}/onig-config
86 %attr(755,root,root) %{_libdir}/libonig.so
87 %{_includedir}/oniggnu.h
88 %{_includedir}/onigposix.h
89 %{_includedir}/oniguruma.h
90 %{_pkgconfigdir}/oniguruma.pc
93 %defattr(644,root,root,755)