| 1 | %define srcname onig |
|---|
| 2 | |
|---|
| 3 | Summary: Oniguruma - A regular expressions library |
|---|
| 4 | Summary(ja): 鬼車 - 正規表現ライブラリ |
|---|
| 5 | Name: oniguruma |
|---|
| 6 | Version: 5.9.2 |
|---|
| 7 | Release: 2%{?_dist_release} |
|---|
| 8 | License: BSD |
|---|
| 9 | Group: System Environment/Libraries |
|---|
| 10 | URL: http://www.geocities.jp/kosako3/oniguruma/ |
|---|
| 11 | Source0: http://www.geocities.jp/kosako3/oniguruma/archive/%{srcname}-%{version}.tar.gz |
|---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
|---|
| 13 | Vendor: Project Vine |
|---|
| 14 | Distribution: Vine Linux |
|---|
| 15 | |
|---|
| 16 | Requires(post): ldconfig |
|---|
| 17 | Requires(postun): ldconfig |
|---|
| 18 | |
|---|
| 19 | %description |
|---|
| 20 | Oniguruma is a regular expressions library. |
|---|
| 21 | The characteristics of this library is that different character encoding |
|---|
| 22 | for every regular expression object can be specified. |
|---|
| 23 | |
|---|
| 24 | %description -l ja |
|---|
| 25 | 鬼車は正規表現ライブラリです。 |
|---|
| 26 | このライブラリの特長は、それぞれの正規表現オブジェクトごとに |
|---|
| 27 | 異なる文字エンコーディングを指定できることです。 |
|---|
| 28 | |
|---|
| 29 | %package devel |
|---|
| 30 | Summary: Libraries/include files for Oniguruma |
|---|
| 31 | Summary(ja): 鬼車の開発用ファイル |
|---|
| 32 | Group: Development/Libraries |
|---|
| 33 | Requires: %{name} = %{version}-%{release} |
|---|
| 34 | |
|---|
| 35 | %description devel |
|---|
| 36 | Oniguruma is a regular expressions library. |
|---|
| 37 | The characteristics of this library is that different character encoding |
|---|
| 38 | for every regular expression object can be specified. |
|---|
| 39 | |
|---|
| 40 | This package contains the libraries and includes files necessary to develop |
|---|
| 41 | applications with Oniguruma. |
|---|
| 42 | |
|---|
| 43 | %description -l ja devel |
|---|
| 44 | 鬼車は正規表現ライブラリです。 |
|---|
| 45 | このライブラリの特長は、それぞれの正規表現オブジェクトごとに |
|---|
| 46 | 異なる文字エンコーディングを指定できることです。 |
|---|
| 47 | |
|---|
| 48 | このパッケージには、鬼車を使ったアプリケーションの開発に必要な |
|---|
| 49 | ライブラリ及びヘッダファイルが含まれています。 |
|---|
| 50 | |
|---|
| 51 | %prep |
|---|
| 52 | %setup -q -n %{srcname}-%{version} |
|---|
| 53 | |
|---|
| 54 | %build |
|---|
| 55 | %configure |
|---|
| 56 | %__make %{?_smp_mflags} |
|---|
| 57 | |
|---|
| 58 | %install |
|---|
| 59 | %__rm -rf %{buildroot} |
|---|
| 60 | %makeinstall |
|---|
| 61 | |
|---|
| 62 | # remove unneeded files |
|---|
| 63 | %__rm -f %{buildroot}%{_libdir}/libonig.a |
|---|
| 64 | %__rm -f %{buildroot}%{_libdir}/libonig.la |
|---|
| 65 | |
|---|
| 66 | %clean |
|---|
| 67 | %__rm -rf %{buildroot} |
|---|
| 68 | |
|---|
| 69 | %post |
|---|
| 70 | /sbin/ldconfig |
|---|
| 71 | |
|---|
| 72 | %postun |
|---|
| 73 | /sbin/ldconfig |
|---|
| 74 | |
|---|
| 75 | %files |
|---|
| 76 | %defattr(-,root,root,-) |
|---|
| 77 | %doc AUTHORS COPYING HISTORY README README.ja |
|---|
| 78 | %{_libdir}/libonig.so.* |
|---|
| 79 | |
|---|
| 80 | %files devel |
|---|
| 81 | %defattr(-,root,root) |
|---|
| 82 | %doc doc/* |
|---|
| 83 | %{_bindir}/onig-config |
|---|
| 84 | %{_libdir}/libonig.so |
|---|
| 85 | %{_includedir}/onig*.h |
|---|
| 86 | |
|---|
| 87 | %changelog |
|---|
| 88 | * Thu Apr 14 2011 IWAI, Masaharu <iwai@alib.jp> 5.9.2-2 |
|---|
| 89 | - rebuild on current VineSeed |
|---|
| 90 | |
|---|
| 91 | * Tue Jan 12 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 5.9.2-1 |
|---|
| 92 | - new upstream release |
|---|
| 93 | |
|---|
| 94 | * Thu Mar 19 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 5.9.1-1vl5 |
|---|
| 95 | - new upstream release |
|---|
| 96 | - fixed remove unneeded files (added "delete libonig.la") |
|---|
| 97 | |
|---|
| 98 | * Tue Aug 19 2008 Shu KONNO <owa@bg.wakwak.com> 4.7.1-1vl5 |
|---|
| 99 | - applied new versioning policy, spec in utf-8 |
|---|
| 100 | - dropt lib*.la |
|---|
| 101 | |
|---|
| 102 | * Tue Sep 04 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.7.1-0vl1 |
|---|
| 103 | - new upstream release |
|---|
| 104 | |
|---|
| 105 | * Fri Mar 09 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.6.1-0vl1 |
|---|
| 106 | - new upstream release |
|---|
| 107 | |
|---|
| 108 | * Wed Dec 20 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.5.1-0vl1 |
|---|
| 109 | - new upstream release |
|---|
| 110 | |
|---|
| 111 | * Thu Nov 02 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.4.6-0vl1 |
|---|
| 112 | - new upstream release |
|---|
| 113 | |
|---|
| 114 | * Fri Sep 22 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.4.4-0vl1 |
|---|
| 115 | - new upstream release |
|---|
| 116 | |
|---|
| 117 | * Wed Aug 30 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.4.1-0vl1 |
|---|
| 118 | - new upstream release |
|---|
| 119 | |
|---|
| 120 | * Mon Aug 21 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.3.0-0vl1 |
|---|
| 121 | - new upstream release |
|---|
| 122 | - fix typo |
|---|
| 123 | |
|---|
| 124 | * Mon Aug 07 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.2.2-0vl2 |
|---|
| 125 | - fix typo |
|---|
| 126 | |
|---|
| 127 | * Fri Aug 04 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.2.2-0vl1 |
|---|
| 128 | - initial build |
|---|