[521] | 1 | %define oname uconv |
---|
| 2 | |
---|
| 3 | Name: ruby-uconv |
---|
[9182] | 4 | Summary: library for Ruby that converts UTF-8/16, UCS-4 <-> EUC-JP/Shift_JIS |
---|
| 5 | Summary(ja): UTF-8/16, UCS-4とEUC-JP/Shift_JISを相互変換するRubyライブラリ |
---|
| 6 | Version: 0.6.1 |
---|
[521] | 7 | Release: 1%{?_dist_release} |
---|
[7331] | 8 | License: Ruby's |
---|
[9182] | 9 | Group: Development/Libraries |
---|
| 10 | URL: http://www.yoshidam.net/Ruby_ja.html#uconv |
---|
| 11 | #' |
---|
[521] | 12 | Source: http://www.yoshidam.net/%{oname}-%{version}.tar.gz |
---|
[9182] | 13 | |
---|
[521] | 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[9182] | 15 | BuildRequires: ruby |
---|
| 16 | BuildRequires: ruby-devel >= 1.6.4-0vl3 |
---|
| 17 | BuildRequires: diffutils |
---|
[521] | 18 | |
---|
[7331] | 19 | Vendor: Project Vine |
---|
| 20 | Distribution: Vine Linux |
---|
| 21 | |
---|
[521] | 22 | %description |
---|
| 23 | Uconv module provides the methods to convert UTF-16, UTF-8 or UCS-4 into |
---|
| 24 | EUC-JP or CP932, and EUC-JP or CP932 into UTF-16, UTF-8 or UCS-4. |
---|
| 25 | |
---|
| 26 | %description -l ja |
---|
| 27 | UTF-16, UTF-8, UCS-4 と EUC-JP, Shift_JIS を相互に変換します.実際 |
---|
| 28 | Shift_JIS を使うのは Windows の場合が多いので,Windows で使われている |
---|
| 29 | Shift_JIS の変種である CP932 に対応しています. |
---|
| 30 | |
---|
| 31 | %prep |
---|
| 32 | %setup -q -c |
---|
| 33 | |
---|
| 34 | %build |
---|
| 35 | cd %{oname} |
---|
| 36 | ruby extconf.rb |
---|
| 37 | make |
---|
| 38 | cd .. |
---|
| 39 | |
---|
| 40 | %install |
---|
| 41 | rm -rf ${RPM_BUILD_ROOT} |
---|
| 42 | mkdir -p ${RPM_BUILD_ROOT}%{_libdir} |
---|
| 43 | |
---|
| 44 | # installing binaries ... |
---|
| 45 | cd %{oname} |
---|
[7331] | 46 | make install DESTDIR=${RPM_BUILD_ROOT} \ |
---|
| 47 | sitelibdir=${RPM_BUILD_ROOT}%{rlibdir} \ |
---|
| 48 | sitearchdir=${RPM_BUILD_ROOT}%{rarchdir} |
---|
[521] | 49 | cd .. |
---|
| 50 | |
---|
| 51 | %clean |
---|
| 52 | rm -rf ${RPM_BUILD_ROOT} |
---|
| 53 | |
---|
[7331] | 54 | %files |
---|
[521] | 55 | %defattr(-, root, root) |
---|
| 56 | %doc %{oname}/README |
---|
| 57 | %doc %{oname}/README.ja |
---|
[7331] | 58 | %{rarchdir}/uconv.so |
---|
| 59 | %{rlibdir}/uconv |
---|
[521] | 60 | #%doc tmp/samples |
---|
| 61 | |
---|
| 62 | %changelog |
---|
[9182] | 63 | * Mon Dec 22 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.6.1-1 |
---|
| 64 | - new upstream release |
---|
| 65 | - built with ruby 2.1.5 |
---|
| 66 | |
---|
[7331] | 67 | * Sun Dec 30 2012 IWAI, Masaharu <iwai@alib.jp> 0.5.3-1 |
---|
| 68 | - new upstream release |
---|
| 69 | - add Vendor and Distribution tags |
---|
| 70 | - drop Prefix tag |
---|
| 71 | - update License: Ruby's |
---|
| 72 | - fix deprecated tag: BuildPreReq -> BuildRequires |
---|
| 73 | - add sitearchdir for install |
---|
| 74 | |
---|
[521] | 75 | * Fri Jul 10 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.12-1 |
---|
| 76 | - new versioning policy |
---|
| 77 | |
---|
| 78 | * Wed Feb 09 2005 Satoshi MACHINO <machino@vinelinux.org> 0.4.12-0vl2 |
---|
| 79 | - fixed %files |
---|
| 80 | --added uconv.so |
---|
| 81 | --removed samples (don't include in sourcce) |
---|
| 82 | |
---|
| 83 | * Wed Feb 09 2005 Satoshi MACHINO <machino@vinelinux.org> 0.4.12-0vl0.31 |
---|
| 84 | - rebuilt for VineLinux3.1(VinePlus) |
---|
| 85 | - changed to License from Copylight |
---|
| 86 | |
---|
| 87 | * Tue Feb 08 2005 Satoshi MACHINO <machino@vinelinux.org> 0.4.12-0vl1 |
---|
| 88 | - new upstream release |
---|
| 89 | |
---|
| 90 | * Tue Feb 12 2002 akira yamada <akira@vinelinux.org> 0.4.9-0vl1 |
---|
| 91 | - new upstream release. |
---|
| 92 | |
---|
| 93 | * Tue Dec 11 2001 akira yamada <akira@vinelinux.org> 0.4.8-0vl1 |
---|
| 94 | - new upstream release. |
---|
| 95 | |
---|
| 96 | * Sun Oct 14 2001 akira yamada <akira@vinelinux.org> 0.4.6-0vl1 |
---|
| 97 | - Initial packaging. |
---|