source: projects/specs/branches/6/k/kakasi/kakasi-vl.spec @ 7739

Revision 7739, 4.3 KB checked in by Takemikaduchi, 11 years ago (diff)

rebuild packages & security fix

Line 
1%define tkver 2.04
2
3Summary: Filter to convert Kanji to Hiragana, Katakana or Romaji
4Summary(ja): 漢字かなまじり文をひらがな文やローマ字文に変換するフィルタ
5Name: kakasi
6Version: 2.3.4
7Release: 3%{?_dist_release}
8Group: Applications/Text
9License: GPLv2+
10URL: http://kakasi.namazu.org/
11Source: ftp://kakasi.namazu.org/pub/kakasi/kakasi-%{version}.tar.gz
12Source1: http://search.cpan.org/CPAN/authors/id/D/DA/DANKOGAI/Text-Kakasi-%{tkver}.tar.gz
13Patch0: kakasi-2.3.4-strdup.patch
14
15Buildroot: %{_tmppath}/%{name}-%{version}-root
16
17
18%description
19KAKASI is the language processing filter to convert Kanji characters
20to Hiragana, Katakana or Romaji(1) and may be helpful to read Japanese
21documents.
22
23%description -l ja
24KAKASI は漢字かなまじり文をひらがな文やローマ字文に変換することを
25目的として作成したプログラムと辞書の総称です。
26
27
28%package devel
29Summary: Libraries and include files of KAKASI
30Group: Development/Libraries
31Summary(ja): KAKASIのライブラリとヘッダファイル
32
33%description devel
34Libraries and include files of KAKASI
35
36%description devel -l ja
37KAKASI のライブラリとヘッダファイルです
38
39%prep
40%setup -q -a 1
41find . -type d -name CVS | xargs -r rm -frv
42
43%patch0 -p1 -b .strdup
44
45%build
46%configure --disable-static
47make
48
49%install
50rm -rf %{buildroot}
51make install DESTDIR=$RPM_BUILD_ROOT
52
53# install manual page
54mkdir -p %{buildroot}%{_mandir}/ja/man1
55iconv -f euc-jp -t utf-8 doc/kakasi.1 > doc/kakasi.1.utf8
56install -p -m 644 doc/kakasi.1.utf8 %{buildroot}%{_mandir}/ja/man1
57
58# removed unpackaed files
59rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.{a,la}
60
61%clean
62rm -rf %{buildroot}
63
64%post -p /sbin/ldconfig
65
66%postun -p /sbin/ldconfig
67
68%files
69%defattr(-,root,root)
70%doc README* AUTHORS COPYING ChangeLog TODO NEWS
71%{_bindir}/*
72%{_libdir}/libkakasi.so.*
73%dir %{_datadir}/kakasi
74%{_datadir}/kakasi/*
75%{_mandir}/ja/man1/kakasi.1*
76
77%files devel
78%defattr(-,root,root)
79%{_includedir}/*
80%{_libdir}/libkakasi.so
81
82
83%changelog
84* Sat Jul 27 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.3.4-3
85- rebuild with current Vine6 environment
86- remove perl module
87
88* Mon Apr 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.4-2
89- spec in utf-8
90- remove static library
91
92* Mon Apr 28 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.3.4-1vl5
93- rebuilt with perl 5.10.0
94- applied new versioning policy
95- removed lib*.la from devel package
96- fixed %%doc section
97- fixed %%changelog typo
98
99* Wed Mar 15 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.3.4-0vl7
100- add strdup.patch (patch0) to avoid segmentation fault
101
102* Wed Feb 15 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.3.4-0vl6
103- rebuilt with new toolchains and perl-5.8.6
104- updated Text-Kakasi source and its URL
105- added Provides: perl-Text-Kakasi
106
107* Sat Dec 13 2003 Satoshi MACHINO <machino@vinelinux.org> 2.3.4-0vl5
108- rebuilt on perl-5.8.2
109
110* Thu Nov 06 2003 Satoshi MACHINO <machino@vinelinux.org> 2.3.4-0vl4
111- rebuilt on perl-5.8.1
112
113* Thu Apr 24 2003 IWAI Masaharu <iwai@alib.jp> 2.3.4-0vl3
114- rebuild with perl-5.8.0
115
116* Mon Jan 28 2002 Toru Sagami <sagami@vinelinux.org> 2.3.4-0vl2
117- make sure thet libkakasi.{a,la,so} are splitted into devel subpackage
118
119* Fri Sep  7 2001 Jun Nishii <jun@vinelinux.org> - 2.3.4-0vl1
120- ver.up
121- ver.up Text-Kakasi
122
123* Sat Jun 16 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
124- 2.3.3-0vl4
125- rebuilt with perl-5.6.1
126
127* Wed Jun 13 2001 Jun Nishii <jun@vinelinux.org> 2.3.3-0vl3
128- modify perl version dependency
129
130* Fri May 11 2001 Hiroaki Irokawa <irorin@terra.dti.ne.jp>
131- 2.3.3-0vl2
132- TextKakasi VersionDown(1.05 -> 1.04)
133
134* Mon May  7 2001 Hiroaki Irokawa <irorin@terra.dti.ne.jp>
135- 2.3.3-0vl1
136- update to 2.3.3(TextKakasi 1.04 -> 1.05)
137
138* Sat Jan 13 2001 Toru Sagami <czs14350@mb.infoweb.ne.jp>
139- 2.3.2-0vl3
140- use better macros, _mandir
141- dont pack CVS directory
142
143* Fri Sep 08 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
144- 2.3.2-0vl2
145- modified %files section to handle compressed man page(s)
146
147* Sat May 27 2000 Jun Nishii <jun@vinelinux.org>
148- 2.3.2-0vl1
149- merge Text Kakasi
150
151* Fri Jan  7 2000 Jun Nishii <jun@vinelinux.org>
152- change group
153- strip bins
154
155* Fri Oct 29 1999 Jun Nishii <jun@flatout.org>
156- updated to 2.3.1
157
158* Thu Oct 28 1999 Jun Nishii <jun@flatout.org>
159- updated to 2.3.0
160- separate devel
161
162* Mon Sep 20 1999 Jun Nishii <jun@flatout.org>
163- added %defattr
164
165* Wed Jul 28 1999 Jun Nishii <jun@flatout.org>
166- rebuild for Vine-1.9
Note: See TracBrowser for help on using the repository browser.