[12479] | 1 | %define srcname onig |
---|
| 2 | %global ver 6.9.5 |
---|
| 3 | %global rev rev1 |
---|
[521] | 4 | |
---|
| 5 | Summary: Oniguruma - A regular expressions library |
---|
| 6 | Summary(ja): 鬼車 - 正規表現ライブラリ |
---|
| 7 | Name: oniguruma |
---|
[12479] | 8 | Version: %{ver}%{?rev:.}%{?rev} |
---|
| 9 | Release: 2%{?_dist_release} |
---|
[521] | 10 | License: BSD |
---|
[12479] | 11 | Group: system |
---|
[9820] | 12 | URL: https://github.com/kkos/oniguruma |
---|
[12479] | 13 | Source0: https://github.com/kkos/oniguruma/releases/download/v%{ver}%{?rev:_}%{?rev}/%{srcname}-%{ver}%{?rev:-}%{?rev}.tar.gz |
---|
[521] | 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 15 | Vendor: Project Vine |
---|
| 16 | Distribution: Vine Linux |
---|
| 17 | |
---|
| 18 | Requires(post): ldconfig |
---|
| 19 | Requires(postun): ldconfig |
---|
| 20 | |
---|
| 21 | %description |
---|
| 22 | Oniguruma is a regular expressions library. |
---|
| 23 | The characteristics of this library is that different character encoding |
---|
| 24 | for every regular expression object can be specified. |
---|
| 25 | |
---|
| 26 | %description -l ja |
---|
| 27 | 鬼車は正規表現ライブラリです。 |
---|
| 28 | このライブラリの特長は、それぞれの正規表現オブジェクトごとに |
---|
| 29 | 異なる文字エンコーディングを指定できることです。 |
---|
| 30 | |
---|
[12479] | 31 | |
---|
[521] | 32 | %package devel |
---|
| 33 | Summary: Libraries/include files for Oniguruma |
---|
| 34 | Summary(ja): 鬼車の開発用ファイル |
---|
[12479] | 35 | Group: programming |
---|
[521] | 36 | Requires: %{name} = %{version}-%{release} |
---|
| 37 | |
---|
| 38 | %description devel |
---|
| 39 | Oniguruma is a regular expressions library. |
---|
| 40 | The characteristics of this library is that different character encoding |
---|
| 41 | for every regular expression object can be specified. |
---|
| 42 | |
---|
| 43 | This package contains the libraries and includes files necessary to develop |
---|
| 44 | applications with Oniguruma. |
---|
| 45 | |
---|
| 46 | %description -l ja devel |
---|
| 47 | 鬼車は正規表現ライブラリです。 |
---|
| 48 | このライブラリの特長は、それぞれの正規表現オブジェクトごとに |
---|
| 49 | 異なる文字エンコーディングを指定できることです。 |
---|
| 50 | |
---|
| 51 | このパッケージには、鬼車を使ったアプリケーションの開発に必要な |
---|
| 52 | ライブラリ及びヘッダファイルが含まれています。 |
---|
| 53 | |
---|
[12479] | 54 | |
---|
[521] | 55 | %prep |
---|
[12479] | 56 | %setup -q -n %{srcname}-%{ver} |
---|
[521] | 57 | |
---|
[12479] | 58 | |
---|
[521] | 59 | %build |
---|
[12479] | 60 | %configure \ |
---|
| 61 | --enable-posix-api \ |
---|
| 62 | --disable-silent-rules \ |
---|
| 63 | --disable-static |
---|
| 64 | |
---|
[521] | 65 | %__make %{?_smp_mflags} |
---|
| 66 | |
---|
[12479] | 67 | |
---|
[521] | 68 | %install |
---|
| 69 | %__rm -rf %{buildroot} |
---|
| 70 | %makeinstall |
---|
| 71 | |
---|
| 72 | # remove unneeded files |
---|
| 73 | %__rm -f %{buildroot}%{_libdir}/libonig.a |
---|
| 74 | %__rm -f %{buildroot}%{_libdir}/libonig.la |
---|
| 75 | |
---|
[12479] | 76 | |
---|
[521] | 77 | %clean |
---|
| 78 | %__rm -rf %{buildroot} |
---|
| 79 | |
---|
| 80 | |
---|
[12479] | 81 | %post -p /sbin/ldconfig |
---|
| 82 | %postun -p /sbin/ldconfig |
---|
[521] | 83 | |
---|
[12479] | 84 | |
---|
[521] | 85 | %files |
---|
| 86 | %defattr(-,root,root,-) |
---|
[12212] | 87 | %license COPYING |
---|
| 88 | %doc AUTHORS HISTORY README README.ja |
---|
[521] | 89 | %{_libdir}/libonig.so.* |
---|
| 90 | |
---|
| 91 | %files devel |
---|
| 92 | %defattr(-,root,root) |
---|
| 93 | %doc doc/* |
---|
| 94 | %{_bindir}/onig-config |
---|
[8230] | 95 | %{_libdir}/pkgconfig/oniguruma.pc |
---|
[521] | 96 | %{_libdir}/libonig.so |
---|
| 97 | %{_includedir}/onig*.h |
---|
| 98 | |
---|
| 99 | %changelog |
---|
[12479] | 100 | * Fri Aug 21 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.9.5.rev1-2 |
---|
| 101 | - enabled POSIX API. |
---|
| 102 | |
---|
| 103 | * Fri Aug 21 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.9.5.rev1-1 |
---|
| 104 | - new upstream release. |
---|
| 105 | |
---|
[12316] | 106 | * Wed Dec 04 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.9.4-1 |
---|
| 107 | - new upstream release. |
---|
| 108 | |
---|
[12212] | 109 | * Sat Sep 14 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.9.3-1 |
---|
| 110 | - new upstream release. |
---|
| 111 | |
---|
[9820] | 112 | * Wed Nov 18 2015 Toshiharu Kudoh <toshi.kd2@gmail.com> 5.9.6-1 |
---|
| 113 | - new upstream release |
---|
| 114 | - changed %%URL, %%Source0 |
---|
| 115 | |
---|
[8230] | 116 | * Sun Jan 26 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 5.9.5-1 |
---|
| 117 | - update to 5.9.5 |
---|
| 118 | - add pkgconfig file in devel package |
---|
| 119 | |
---|
[7287] | 120 | * Sat Jan 05 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 5.9.3-1 |
---|
| 121 | - new upstream release |
---|
| 122 | |
---|
[3456] | 123 | * Thu Apr 14 2011 IWAI, Masaharu <iwai@alib.jp> 5.9.2-2 |
---|
| 124 | - rebuild on current VineSeed |
---|
| 125 | |
---|
[521] | 126 | * Tue Jan 12 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 5.9.2-1 |
---|
| 127 | - new upstream release |
---|
| 128 | |
---|
| 129 | * Thu Mar 19 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 5.9.1-1vl5 |
---|
| 130 | - new upstream release |
---|
| 131 | - fixed remove unneeded files (added "delete libonig.la") |
---|
| 132 | |
---|
| 133 | * Tue Aug 19 2008 Shu KONNO <owa@bg.wakwak.com> 4.7.1-1vl5 |
---|
| 134 | - applied new versioning policy, spec in utf-8 |
---|
| 135 | - dropt lib*.la |
---|
| 136 | |
---|
| 137 | * Tue Sep 04 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.7.1-0vl1 |
---|
| 138 | - new upstream release |
---|
| 139 | |
---|
| 140 | * Fri Mar 09 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.6.1-0vl1 |
---|
| 141 | - new upstream release |
---|
| 142 | |
---|
| 143 | * Wed Dec 20 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.5.1-0vl1 |
---|
| 144 | - new upstream release |
---|
| 145 | |
---|
| 146 | * Thu Nov 02 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.4.6-0vl1 |
---|
| 147 | - new upstream release |
---|
| 148 | |
---|
| 149 | * Fri Sep 22 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.4.4-0vl1 |
---|
| 150 | - new upstream release |
---|
| 151 | |
---|
| 152 | * Wed Aug 30 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.4.1-0vl1 |
---|
| 153 | - new upstream release |
---|
| 154 | |
---|
| 155 | * Mon Aug 21 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.3.0-0vl1 |
---|
| 156 | - new upstream release |
---|
| 157 | - fix typo |
---|
| 158 | |
---|
| 159 | * Mon Aug 07 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.2.2-0vl2 |
---|
| 160 | - fix typo |
---|
| 161 | |
---|
| 162 | * Fri Aug 04 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.2.2-0vl1 |
---|
| 163 | - initial build |
---|