[521] | 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: 1%{?_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 | #%{_libdir}/libonig.la |
---|
| 86 | %{_includedir}/onig*.h |
---|
| 87 | |
---|
| 88 | %changelog |
---|
| 89 | * Tue Jan 12 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 5.9.2-1 |
---|
| 90 | - new upstream release |
---|
| 91 | |
---|
| 92 | * Thu Mar 19 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 5.9.1-1vl5 |
---|
| 93 | - new upstream release |
---|
| 94 | - fixed remove unneeded files (added "delete libonig.la") |
---|
| 95 | |
---|
| 96 | * Tue Aug 19 2008 Shu KONNO <owa@bg.wakwak.com> 4.7.1-1vl5 |
---|
| 97 | - applied new versioning policy, spec in utf-8 |
---|
| 98 | - dropt lib*.la |
---|
| 99 | |
---|
| 100 | * Tue Sep 04 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.7.1-0vl1 |
---|
| 101 | - new upstream release |
---|
| 102 | |
---|
| 103 | * Fri Mar 09 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.6.1-0vl1 |
---|
| 104 | - new upstream release |
---|
| 105 | |
---|
| 106 | * Wed Dec 20 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.5.1-0vl1 |
---|
| 107 | - new upstream release |
---|
| 108 | |
---|
| 109 | * Thu Nov 02 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.4.6-0vl1 |
---|
| 110 | - new upstream release |
---|
| 111 | |
---|
| 112 | * Fri Sep 22 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.4.4-0vl1 |
---|
| 113 | - new upstream release |
---|
| 114 | |
---|
| 115 | * Wed Aug 30 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.4.1-0vl1 |
---|
| 116 | - new upstream release |
---|
| 117 | |
---|
| 118 | * Mon Aug 21 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.3.0-0vl1 |
---|
| 119 | - new upstream release |
---|
| 120 | - fix typo |
---|
| 121 | |
---|
| 122 | * Mon Aug 07 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.2.2-0vl2 |
---|
| 123 | - fix typo |
---|
| 124 | |
---|
| 125 | * Fri Aug 04 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.2.2-0vl1 |
---|
| 126 | - initial build |
---|