]> git.pld-linux.org Git - packages/tesseract.git/commitdiff
initial update to 3.04.00
authorTomasz Pala <gotar@pld-linux.org>
Thu, 6 Aug 2015 15:58:11 +0000 (17:58 +0200)
committerTomasz Pala <gotar@pld-linux.org>
Thu, 6 Aug 2015 15:58:11 +0000 (17:58 +0200)
format-security.patch [deleted file]
tesseract.spec

diff --git a/format-security.patch b/format-security.patch
deleted file mode 100644 (file)
index 8c85e9c..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- tesseract-ocr/dict/permdawg.cpp~   2012-09-02 22:08:43.000000000 +0200
-+++ tesseract-ocr/dict/permdawg.cpp    2013-07-14 16:06:15.545850330 +0200
-@@ -205,7 +205,7 @@
-           STRING word_str;
-           word->string_and_lengths(&word_str, NULL);
-           word_str += " ";
--          fprintf(output_ambig_words_file_, word_str.string());
-+          fprintf(output_ambig_words_file_, "%s", word_str.string());
-         }
-         WERD_CHOICE *adjusted_word = word;
-         WERD_CHOICE hyphen_tail_word(&getUnicharset());
index 6e5ef97501e917495b67c32fb9e73fc492ba70c9..a14c119dc7c931adb47788cd4fd34d66fe6ca261 100644 (file)
@@ -3,18 +3,16 @@
 Summary:       Tesseract Open Source OCR Engine
 Summary(pl.UTF-8):     Tesseract - silnik OCR o otwartych źródłach
 Name:          tesseract
-Version:       3.02.02
-Release:       7
+Version:       3.04.00
+Release:       0.1
 License:       Apache v2.0
 Group:         Applications/Graphics
-#Source0Download: http://code.google.com/p/tesseract-ocr/downloads/list
-Source0:       http://tesseract-ocr.googlecode.com/files/%{name}-ocr-%{version}.tar.gz
-# Source0-md5: 26adc8154f0e815053816825dde246e6
-Patch0:                format-security.patch
+Source0:       https://github.com/tesseract-ocr/tesseract/archive/%{version}.tar.gz
+# Source0-md5: 078130b9c7d28c558a0e49d432505864
 URL:           http://code.google.com/p/tesseract-ocr/
 BuildRequires: autoconf >= 2.50
 BuildRequires: automake
-BuildRequires: leptonlib-devel
+BuildRequires: leptonlib-devel >= 1.71
 BuildRequires: libstdc++-devel
 BuildRequires: libtool
 Suggests:      tesseract-data >= 3
@@ -59,8 +57,7 @@ Static Tesseract libraries.
 Statyczne biblioteki Tesseracta.
 
 %prep
-%setup -q -n %{name}-ocr
-%patch0 -p1
+%setup -q
 
 %build
 %{__libtoolize}
@@ -79,6 +76,8 @@ rm -rf $RPM_BUILD_ROOT
 
 # test program?
 %{__rm} $RPM_BUILD_ROOT%{_bindir}/classifier_tester
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libtesseract.la
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -117,7 +116,6 @@ rm -rf $RPM_BUILD_ROOT
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libtesseract.so
-%{_libdir}/libtesseract.la
 %{_includedir}/%{name}
 %{_pkgconfigdir}/tesseract.pc
 %{_mandir}/man5/unicharambigs.5*
This page took 0.045548 seconds and 4 git commands to generate.