[packages/chasen] - new URLs, updated to 2.4.5 - removed obsolete gcc4 patch
qboosh
qboosh at pld-linux.org
Sun Nov 18 16:28:20 CET 2012
commit 349c28277cf310f1862e40af8679d6ff1bc89e90
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Nov 18 16:28:21 2012 +0100
- new URLs, updated to 2.4.5
- removed obsolete gcc4 patch
chasen-gcc4.patch | 11 -----------
chasen.spec | 33 ++++++++++++++++++---------------
2 files changed, 18 insertions(+), 26 deletions(-)
---
diff --git a/chasen.spec b/chasen.spec
index c9e71cf..c4a6bef 100644
--- a/chasen.spec
+++ b/chasen.spec
@@ -1,16 +1,16 @@
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
@@ -28,7 +28,8 @@ System analizy morfologii japońskiej ChaSen.
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.
@@ -40,7 +41,7 @@ Pliki nagłówkowe dla deweloperów używających systemu ChaSen.
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.
@@ -50,7 +51,6 @@ Biblioteka statyczna ChaSen.
%prep
%setup -q
-%patch0 -p1
%build
%{__libtoolize}
@@ -77,14 +77,17 @@ rm -rf $RPM_BUILD_ROOT
%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
diff --git a/chasen-gcc4.patch b/chasen-gcc4.patch
deleted file mode 100644
index 60d9e85..0000000
--- a/chasen-gcc4.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/chasen.git/commitdiff/349c28277cf310f1862e40af8679d6ff1bc89e90
More information about the pld-cvs-commit
mailing list