]> git.pld-linux.org Git - packages/chasen.git/commitdiff
- new URLs, updated to 2.4.5 auto/th/chasen-2.4.5-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 18 Nov 2012 15:28:21 +0000 (16:28 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 18 Nov 2012 15:28:21 +0000 (16:28 +0100)
- removed obsolete gcc4 patch

chasen-gcc4.patch [deleted file]
chasen.spec

diff --git a/chasen-gcc4.patch b/chasen-gcc4.patch
deleted file mode 100644 (file)
index 60d9e85..0000000
+++ /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;
index c9e71cf03bd6ee4c1bb94bdc22605fde23013873..c4a6befca320799de7afcf4b0078fb9fbe616721 100644 (file)
@@ -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
 
This page took 0.105802 seconds and 4 git commands to generate.