[packages/vapoursynth-plugin-ocr] - now separate from vapoursynth; epoch 1
qboosh
qboosh at pld-linux.org
Sat Apr 22 21:13:21 CEST 2023
commit 115528d35f1535934bdf68ae3cdac6d8c6fef4ee
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Apr 22 21:15:58 2023 +0200
- now separate from vapoursynth; epoch 1
vapoursynth-plugin-ocr.spec | 49 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
---
diff --git a/vapoursynth-plugin-ocr.spec b/vapoursynth-plugin-ocr.spec
new file mode 100644
index 0000000..6c974fe
--- /dev/null
+++ b/vapoursynth-plugin-ocr.spec
@@ -0,0 +1,49 @@
+Summary: Tesseract-based OCR plugin for Vapoursynth
+Summary(pl.UTF-8): Oparta na Tesserakcie wtyczka OCR dla programu Vapoursynth
+Name: vapoursynth-plugin-ocr
+Version: 1
+Release: 1
+# it was vapoursynth.spec subpackage up to 54
+Epoch: 1
+License: MIT
+Group: Libraries
+Source0: https://github.com/vapoursynth/vs-ocr/archive/R%{version}/vs-ocr-R%{version}.tar.gz
+# Source0-md5: 108bc131d6b94479f3dc93033af7478e
+Patch0: vs-ocr-meson.patch
+URL: https://github.com/vapoursynth/vs-ocr
+BuildRequires: meson
+BuildRequires: ninja >= 1.5
+BuildRequires: vapoursynth-devel >= 55
+BuildRequires: tesseract-devel >= 4.1.1
+Requires: vapoursynth >= 55
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Vapoursynth filter that performs optical character recognition on
+video frames.
+
+%description -l pl.UTF-8
+Filtr Vapoursynth dokonujący optycznego rozpoznawania znaków w
+klatkach obrazu.
+
+%prep
+%setup -q -n vs-ocr-R%{version}
+%patch0 -p1
+
+%build
+%meson build
+
+%ninja_build -C build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%ninja_install -C build
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE docs/ocr.rst
+%attr(755,root,root) %{_libdir}/vapoursynth/libocr.so
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/vapoursynth-plugin-ocr.git/commitdiff/115528d35f1535934bdf68ae3cdac6d8c6fef4ee
More information about the pld-cvs-commit
mailing list