source: projects/specs/trunk/r/ruby-uconv/ruby-uconv-vl.spec @ 9182

Revision 9182, 2.5 KB checked in by inagaki, 9 years ago (diff)

2014-12-22 Ryoichi INAGAKI <ryo1@…>

  • MySQL-ruby, gtkimageview: fixed spec
  • grep, keyutils, ruby-uconv: updated
  • icon-naming-utils: rebuilt


Line 
1%define oname uconv
2
3Name: ruby-uconv
4Summary: library for Ruby that converts UTF-8/16, UCS-4 <-> EUC-JP/Shift_JIS
5Summary(ja): UTF-8/16, UCS-4とEUC-JP/Shift_JISを相互変換するRubyライブラリ
6Version: 0.6.1
7Release: 1%{?_dist_release}
8License: Ruby's
9Group: Development/Libraries
10URL: http://www.yoshidam.net/Ruby_ja.html#uconv
11#'
12Source: http://www.yoshidam.net/%{oname}-%{version}.tar.gz
13
14BuildRoot: %{_tmppath}/%{name}-%{version}-root
15BuildRequires: ruby
16BuildRequires: ruby-devel >= 1.6.4-0vl3
17BuildRequires: diffutils
18
19Vendor: Project Vine
20Distribution: Vine Linux
21
22%description
23Uconv module provides the methods to convert UTF-16, UTF-8 or UCS-4 into
24EUC-JP or CP932, and EUC-JP or CP932 into UTF-16, UTF-8 or UCS-4.
25
26%description -l ja
27UTF-16, UTF-8, UCS-4 と EUC-JP, Shift_JIS を相互に変換します.実際
28Shift_JIS を使うのは Windows の場合が多いので,Windows で使われている
29Shift_JIS の変種である CP932 に対応しています.
30
31%prep
32%setup -q -c
33
34%build
35cd %{oname}
36ruby extconf.rb
37make
38cd ..
39
40%install
41rm -rf ${RPM_BUILD_ROOT}
42mkdir -p ${RPM_BUILD_ROOT}%{_libdir}
43
44# installing binaries ...
45cd %{oname}
46make install DESTDIR=${RPM_BUILD_ROOT} \
47             sitelibdir=${RPM_BUILD_ROOT}%{rlibdir} \
48             sitearchdir=${RPM_BUILD_ROOT}%{rarchdir}
49cd ..
50
51%clean
52rm -rf ${RPM_BUILD_ROOT}
53
54%files
55%defattr(-, root, root)
56%doc %{oname}/README
57%doc %{oname}/README.ja
58%{rarchdir}/uconv.so
59%{rlibdir}/uconv
60#%doc tmp/samples
61
62%changelog
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
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
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.
Note: See TracBrowser for help on using the repository browser.