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