]> git.pld-linux.org Git - packages/oniguruma.git/blob - oniguruma.spec
1421bd2b34cebc0d2756c09aa6d6cdea2563b1eb
[packages/oniguruma.git] / oniguruma.spec
1 Summary:        Oniguruma - a regular expressions library
2 Summary(pl.UTF-8):      Oniguruma - biblioteka wyrażeń regularnych
3 Name:           oniguruma
4 Version:        6.9.1
5 Release:        1
6 License:        BSD
7 Group:          Libraries
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)
16
17 %description
18 The characteristics of this library is that different character
19 encoding for every regular expression object can be specified.
20
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.
24
25 %package devel
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}
30
31 %description devel
32 This is the package containing the header files for Oniguruma library.
33
34 %description devel -l pl.UTF-8
35 Ten pakiet zawiera pliki nagłówkowe biblioteki Oniguruma.
36
37 %package static
38 Summary:        Static Oniguruma library
39 Summary(pl.UTF-8):      Statyczna biblioteka Oniguruma
40 Group:          Development/Libraries
41 Requires:       %{name}-devel = %{version}-%{release}
42
43 %description static
44 Static Oniguruma library.
45
46 %description static -l pl.UTF-8
47 Statyczna biblioteka Oniguruma.
48
49 %prep
50 %setup -q -n onig-%{version}
51
52 %build
53 %{__libtoolize}
54 %{__aclocal} -I m4
55 %{__autoconf}
56 %{__autoheader}
57 %{__automake}
58 %configure
59 %{__make}
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63
64 %{__make} install \
65         DESTDIR=$RPM_BUILD_ROOT
66
67 # no external dependencies (and .pc exists)
68 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libonig.la
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %post   -p /sbin/ldconfig
74 %postun -p /sbin/ldconfig
75
76 %files
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
82
83 %files devel
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
91
92 %files static
93 %defattr(644,root,root,755)
94 %{_libdir}/libonig.a
This page took 0.233151 seconds and 2 git commands to generate.