12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 |
- %define oname uconv
- Name: ruby-uconv
- Summary: library for Ruby that converts UTF-8/16, UCS-4 <-> EUC-JP/Shift_JIS
- Summary(ja): UTF-8/16, UCS-4とEUC-JP/Shift_JISを相互変換するRubyライブラリ
- Version: 0.6.1
- Release: 1%{?_dist_release}
- License: Ruby's
- Group: Development/Libraries
- URL: http://www.yoshidam.net/Ruby_ja.html#uconv
- #'
- Source: http://www.yoshidam.net/%{oname}-%{version}.tar.gz
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- BuildRequires: ruby
- BuildRequires: ruby-devel >= 1.6.4-0vl3
- BuildRequires: diffutils
- Vendor: Project Vine
- Distribution: Vine Linux
- %description
- Uconv module provides the methods to convert UTF-16, UTF-8 or UCS-4 into
- EUC-JP or CP932, and EUC-JP or CP932 into UTF-16, UTF-8 or UCS-4.
- %description -l ja
- UTF-16, UTF-8, UCS-4 と EUC-JP, Shift_JIS を相互に変換します.実際
- Shift_JIS を使うのは Windows の場合が多いので,Windows で使われている
- Shift_JIS の変種である CP932 に対応しています.
- %prep
- %setup -q -c
- %build
- cd %{oname}
- ruby extconf.rb
- make
- cd ..
- %install
- rm -rf ${RPM_BUILD_ROOT}
- mkdir -p ${RPM_BUILD_ROOT}%{_libdir}
- # installing binaries ...
- cd %{oname}
- make install DESTDIR=${RPM_BUILD_ROOT} \
- sitelibdir=${RPM_BUILD_ROOT}%{rlibdir} \
- sitearchdir=${RPM_BUILD_ROOT}%{rarchdir}
- cd ..
- %clean
- rm -rf ${RPM_BUILD_ROOT}
- %files
- %defattr(-, root, root)
- %doc %{oname}/README
- %doc %{oname}/README.ja
- %{rarchdir}/uconv.so
- %{rlibdir}/uconv
- #%doc tmp/samples
- %changelog
- * Mon Dec 22 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.6.1-1
- - new upstream release
- - built with ruby 2.1.5
- * Sun Dec 30 2012 IWAI, Masaharu <iwai@alib.jp> 0.5.3-1
- - new upstream release
- - add Vendor and Distribution tags
- - drop Prefix tag
- - update License: Ruby's
- - fix deprecated tag: BuildPreReq -> BuildRequires
- - add sitearchdir for install
- * Fri Jul 10 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.12-1
- - new versioning policy
- * Wed Feb 09 2005 Satoshi MACHINO <machino@vinelinux.org> 0.4.12-0vl2
- - fixed %files
- --added uconv.so
- --removed samples (don't include in sourcce)
-
- * Wed Feb 09 2005 Satoshi MACHINO <machino@vinelinux.org> 0.4.12-0vl0.31
- - rebuilt for VineLinux3.1(VinePlus)
- - changed to License from Copylight
- * Tue Feb 08 2005 Satoshi MACHINO <machino@vinelinux.org> 0.4.12-0vl1
- - new upstream release
- * Tue Feb 12 2002 akira yamada <akira@vinelinux.org> 0.4.9-0vl1
- - new upstream release.
- * Tue Dec 11 2001 akira yamada <akira@vinelinux.org> 0.4.8-0vl1
- - new upstream release.
- * Sun Oct 14 2001 akira yamada <akira@vinelinux.org> 0.4.6-0vl1
- - Initial packaging.
|