+++ /dev/null
---- chasen-2.3.3/lib/dartsdic.cpp.orig 2003-07-30 18:06:57.000000000 +0200
-+++ chasen-2.3.3/lib/dartsdic.cpp 2006-02-25 21:01:27.326524000 +0100
-@@ -177,7 +177,7 @@
- lex_indices.push_back(i->second);
- }
- lens[size] = key.size();
-- (const char*)keys[size] = key.data();
-+ keys[size] = const_cast<char*>(key.data());
- vals[size] = redump_lex(lens[size], lex_indices, tmpfile, lexfile);
- if (vals[size] < 0) {
- std::cerr << "Unexpected error at " << key << std::endl;
Summary: Japanese Morphological Analysis System, ChaSen
Summary(pl.UTF-8): System analizy morfologii japońskiej ChaSen
Name: chasen
-Version: 2.3.3
-Release: 2
+Version: 2.4.5
+Release: 1
Epoch: 0
-License: Freeware
+License: BSD
Group: Applications/Text
-Source0: http://chasen.aist-nara.ac.jp/stable/chasen/%{name}-%{version}.tar.gz
-# Source0-md5: 629e90d9490bac95606c38c2d344cc5f
-Patch0: %{name}-gcc4.patch
-URL: http://chasen.aist-nara.ac.jp/
-BuildRequires: autoconf >= 2.13
+#Source0Download: http://sourceforge.jp/projects/chasen-legacy/
+Source0: http://dl.sourceforge.jp/chasen-legacy/56305/%{name}-%{version}.tar.xz
+# Source0-md5: 8118190078e692884ad1a31927c22371
+URL: http://chasen-legacy.sourceforge.jp/
+BuildRequires: autoconf >= 2.59
BuildRequires: automake
BuildRequires: darts
BuildRequires: iconv
Summary: Header files for ChaSen developers
Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających systemu ChaSen
Group: Development/Libraries
-Requires: %{name} = %{epoch}:%{version}
+Requires: %{name} = %{epoch}:%{version}-%{release}
+Requires: libstdc++-devel
%description devel
Header files for ChaSen developers.
Summary: Static ChaSen library
Summary(pl.UTF-8): Biblioteka statyczna ChaSen
Group: Development/Libraries
-Requires: %{name}-devel = %{epoch}:%{version}
+Requires: %{name}-devel = %{epoch}:%{version}-%{release}
%description static
Static ChaSen library.
%prep
%setup -q
-%patch0 -p1
%build
%{__libtoolize}
%defattr(644,root,root,755)
%doc AUTHORS COPYING ChangeLog NEWS README
%lang(ja) %doc doc/manual-j.pdf
-%attr(755,root,root) %{_bindir}/%{name}
-%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
-%attr(755,root,root) %{_libdir}/%{name}
+%attr(755,root,root) %{_bindir}/chasen
+%attr(755,root,root) %{_libdir}/libchasen.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libchasen.so.2
+%dir %{_libdir}/%{name}
+%attr(755,root,root) %{_libdir}/%{name}/makeda
+%attr(755,root,root) %{_libdir}/%{name}/makemat
%files devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/chasen-config
-%attr(755,root,root) %{_libdir}/lib*.so
+%attr(755,root,root) %{_libdir}/libchasen.so
%{_libdir}/libchasen.la
%{_includedir}/chasen.h