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

Revision 7331, 2.4 KB checked in by iwaim, 11 years ago (diff)

ruby-uconv 0.5.3-1

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