Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Kieltux:tools
vuescan
vuescan.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File vuescan.spec of Package vuescan
# # spec file for package vuescan # # Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %global _enable_debug_package 0 %global debug_package %{nil} %global __os_install_post /usr/lib/rpm/brp-compress %{nil} Name: vuescan Summary: Scanner Application Version: 9.8.39 Release: 0 URL: https://www.hamrick.com Source0: https://www.hamrick.com/files/vuex6498.tgz#/vuex64-%{version}.tgz Source1: %{name}-ocr.tar.xz Source2: %{name}.desktop Source3: %{name}-manual.pdf Source4: Warranty Source5: %{name}.appdata.xml License: SUSE-NonFree Group: Hardware/Scanner Requires: udev BuildRequires: hicolor-icon-theme BuildRequires: udev ExclusiveArch: x86_64 %description VueScan is a computer program for image scanning, especially of photographs, including negatives. It supports optical character recognition (OCR) of text documents. The software can be downloaded for free, but a watermark is placed on all scans until the user purchases a license. %package ocr-bul Summary: Bulgarian OCR plugin for vuescan Group: Hardware/Scanner Requires: %{name} BuildArch: noarch %description ocr-bul Bulgarian optical character recognition (OCR) plugin for %{name}. %package ocr-cat Summary: Catalan OCR plugin for vuescan Group: Hardware/Scanner Requires: %{name} BuildArch: noarch %description ocr-cat Catalan optical character recognition (OCR) plugin for %{name}. %package ocr-zho Summary: Chinese (Simplified) OCR plugin for vuescan Group: Hardware/Scanner Requires: %{name} BuildArch: noarch %description ocr-zho Chinese (Simplified) optical character recognition (OCR) plugin for %{name}. %package ocr-zht Summary: Chinese (Traditional) OCR plugin for vuescan Group: Hardware/Scanner Requires: %{name} BuildArch: noarch %description ocr-zht Chinese (Traditional) optical character recognition (OCR) plugin for %{name}. %package ocr-ces Summary: Czech OCR plugin for vuescan Group: Hardware/Scanner Requires: %{name} BuildArch: noarch %description ocr-ces Czech optical character recognition (OCR) plugin for %{name}. %package ocr-dan Summary: Danish OCR plugin for vuescan Group: Hardware/Scanner Requires: %{name} BuildArch: noarch %description ocr-dan Danish optical character recognition (OCR) plugin for %{name}. %package ocr-nld Summary: Dutch OCR plugin for vuescan Group: Hardware/Scanner Requires: %{name} BuildArch: noarch %description ocr-nld Dutch optical character recognition (OCR) plugin for %{name}. %package ocr-fin Summary: Finnish OCR plugin for vuescan Group: Hardware/Scanner Requires: %{name} BuildArch: noarch %description ocr-fin Finnish optical character recognition (OCR) plugin for %{name}. %package ocr-ell Summary: Greek OCR plugin for vuescan Group: Hardware/Scanner Requires: %{name} BuildArch: noarch %description ocr-ell Greek optical character recognition (OCR) plugin for %{name}. %package ocr-hun Summary: Hungarian OCR plugin for vuescan Group: Hardware/Scanner Requires: %{name} BuildArch: noarch %description ocr-hun Hungarian optical character recognition (OCR) plugin for %{name}. %package ocr-ind Summary: Indonesian OCR plugin for vuescan Group: Hardware/Scanner Requires: %{name} BuildArch: noarch %description ocr-ind Indonesian optical character recognition (OCR) plugin for %{name}. %package ocr-jpn Summary: Japanese OCR plugin for vuescan Group: Hardware/Scanner Requires: %{name} BuildArch: noarch %description ocr-jpn Japanese optical character recognition (OCR) plugin for %{name}. %package ocr-kor Summary: Korean OCR plugin for vuescan Group: Hardware/Scanner Requires: %{name} BuildArch: noarch %description ocr-kor Korean optical character recognition (OCR) plugin for %{name}. %package ocr-lav Summary: Latvian OCR plugin for vuescan Group: Hardware/Scanner Requires: %{name} BuildArch: noarch %description ocr-lav Latvian optical character recognition (OCR) plugin for %{name}. %package ocr-lit Summary: Lithuanian OCR plugin for vuescan Group: Hardware/Scanner Requires: %{name} BuildArch: noarch %description ocr-lit Lithuanian optical character recognition (OCR) plugin for %{name}. %package ocr-nor Summary: Norwegian OCR plugin for vuescan Group: Hardware/Scanner Requires: %{name} BuildArch: noarch %description ocr-nor Norwegian optical character recognition (OCR) plugin for %{name}. %package ocr-pol Summary: Polish OCR plugin for vuescan Group: Hardware/Scanner Requires: %{name} BuildArch: noarch %description ocr-pol Polish optical character recognition (OCR) plugin for %{name}. %package ocr-por Summary: Portuguese OCR plugin for vuescan Group: Hardware/Scanner Requires: %{name} BuildArch: noarch %description ocr-por Portuguese optical character recognition (OCR) plugin for %{name}. %package ocr-ron Summary: Romanian OCR plugin for vuescan Group: Hardware/Scanner Requires: %{name} BuildArch: noarch %description ocr-ron Romanian optical character recognition (OCR) plugin for %{name}. %package ocr-rus Summary: Russian OCR plugin for vuescan Group: Hardware/Scanner Requires: %{name} BuildArch: noarch %description ocr-rus Russian optical character recognition (OCR) plugin for %{name}. %package ocr-srp Summary: Serbian OCR plugin for vuescan Group: Hardware/Scanner Requires: %{name} BuildArch: noarch %description ocr-srp Serbian optical character recognition (OCR) plugin for %{name}. %package ocr-slk Summary: Slovak OCR plugin for vuescan Group: Hardware/Scanner Requires: %{name} BuildArch: noarch %description ocr-slk Slovak optical character recognition (OCR) plugin for %{name}. %package ocr-slv Summary: Slovenian OCR plugin for vuescan Group: Hardware/Scanner Requires: %{name} BuildArch: noarch %description ocr-slv Slovenian optical character recognition (OCR) plugin for %{name}. %package ocr-swe Summary: Swedish OCR plugin for vuescan Group: Hardware/Scanner Requires: %{name} BuildArch: noarch %description ocr-swe Swedish optical character recognition (OCR) plugin for %{name}. %package ocr-tha Summary: Thai OCR plugin for vuescan Group: Hardware/Scanner Requires: %{name} BuildArch: noarch %description ocr-tha Thai optical character recognition (OCR) plugin for %{name}. %package ocr-fil Summary: Tagalog OCR plugin for vuescan Group: Hardware/Scanner Requires: %{name} BuildArch: noarch %description ocr-fil Tagalog optical character recognition (OCR) plugin for %{name}. %package ocr-tur Summary: Turkish OCR plugin for vuescan Group: Hardware/Scanner Requires: %{name} BuildArch: noarch %description ocr-tur Turkish optical character recognition (OCR) plugin for %{name}. %package ocr-ukr Summary: Ukrainian OCR plugin for vuescan Group: Hardware/Scanner Requires: %{name} BuildArch: noarch %description ocr-ukr Ukrainian optical character recognition (OCR) plugin for %{name}. %package ocr-vie Summary: Vietnamese OCR plugin for vuescan Group: Hardware/Scanner Requires: %{name} BuildArch: noarch %description ocr-vie Vietnamese optical character recognition (OCR) plugin for %{name}. %package ocr-ara Summary: Arabic OCR plugin for vuescan Group: Hardware/Scanner Requires: %{name} BuildArch: noarch %description ocr-ara Arabic optical character recognition (OCR) plugin for %{name}. %package ocr-ben Summary: Bengali OCR plugin for vuescan Group: Hardware/Scanner Requires: %{name} BuildArch: noarch %description ocr-ben Bengali optical character recognition (OCR) plugin for %{name}. %package ocr-fas Summary: Persian OCR plugin for vuescan Group: Hardware/Scanner Requires: %{name} BuildArch: noarch %description ocr-fas Persian optical character recognition (OCR) plugin for %{name}. %package ocr-guj Summary: Gujarati OCR plugin for vuescan Group: Hardware/Scanner Requires: %{name} BuildArch: noarch %description ocr-guj Gujarati optical character recognition (OCR) plugin for %{name}. %package ocr-heb Summary: Hebrew OCR plugin for vuescan Group: Hardware/Scanner Requires: %{name} BuildArch: noarch %description ocr-heb Hebrew optical character recognition (OCR) plugin for %{name}. %package ocr-hin Summary: Hindi OCR plugin for vuescan Group: Hardware/Scanner Requires: %{name} BuildArch: noarch %description ocr-hin Hindi optical character recognition (OCR) plugin for %{name}. %package ocr-mar Summary: Marathi OCR plugin for vuescan Group: Hardware/Scanner Requires: %{name} BuildArch: noarch %description ocr-mar Marathi optical character recognition (OCR) plugin for %{name}. %package ocr-tam Summary: Tamil OCR plugin for vuescan Group: Hardware/Scanner Requires: %{name} BuildArch: noarch %description ocr-tam Tamil optical character recognition (OCR) plugin for %{name}. %package ocr-tel Summary: Telugu OCR plugin for vuescan Group: Hardware/Scanner Requires: %{name} BuildArch: noarch %description ocr-tel Telugu optical character recognition (OCR) plugin for %{name}. %package ocr-urd Summary: Urdu OCR plugin for vuescan Group: Hardware/Scanner Requires: %{name} BuildArch: noarch %description ocr-urd Urdu optical character recognition (OCR) plugin for %{name}. %prep %setup -n VueScan -a 0 -a 1 cp %{S:3} . cp %{S:4} . sed -i 's/\r//g' README.txt %build %install install -D -m755 %{name} %{buildroot}%{_libexecdir}/%{name}/%{name} install -D -m644 %{name}.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg install -D -m644 %{S:2} %{buildroot}%{_datadir}/applications/%{name}.desktop install -D -m644 %{S:5} %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml install -D -m644 %{name}.rul %{buildroot}%{_udevrulesdir}/60-%{name}.rules pushd %{name}-ocr for ocr in *.traineddata; do install -D -m644 "$ocr" %{buildroot}%{_libexecdir}/%{name}/"$ocr"; done popd mkdir -p %{buildroot}%{_bindir}/ cat <<EOF >%{buildroot}%{_bindir}/%{name}.sh #! /bin/sh cd %{_libexecdir}/%{name} ./%{name} EOF %files %doc README.txt %{name}-manual.pdf %license Warranty %attr(755,root,root) %{_bindir}/%{name}.sh %dir %{_libexecdir}/%{name} %{_libexecdir}/%{name}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/appdata/%{name}.appdata.xml %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg %{_udevrulesdir}/60-%{name}.rules %files ocr-bul %{_libexecdir}/%{name}/bul.traineddata %files ocr-cat %{_libexecdir}/%{name}/cat.traineddata %files ocr-zho %{_libexecdir}/%{name}/zho.traineddata %files ocr-zht %{_libexecdir}/%{name}/zht.traineddata %files ocr-ces %{_libexecdir}/%{name}/ces.traineddata %files ocr-dan %{_libexecdir}/%{name}/dan.traineddata %files ocr-nld %{_libexecdir}/%{name}/nld.traineddata %files ocr-fin %{_libexecdir}/%{name}/fin.traineddata %files ocr-ell %{_libexecdir}/%{name}/ell.traineddata %files ocr-hun %{_libexecdir}/%{name}/hun.traineddata %files ocr-ind %{_libexecdir}/%{name}/ind.traineddata %files ocr-jpn %{_libexecdir}/%{name}/jpn.traineddata %files ocr-kor %{_libexecdir}/%{name}/kor.traineddata %files ocr-lav %{_libexecdir}/%{name}/lav.traineddata %files ocr-lit %{_libexecdir}/%{name}/lit.traineddata %files ocr-nor %{_libexecdir}/%{name}/nor.traineddata %files ocr-pol %{_libexecdir}/%{name}/pol.traineddata %files ocr-por %{_libexecdir}/%{name}/por.traineddata %files ocr-ron %{_libexecdir}/%{name}/ron.traineddata %files ocr-rus %{_libexecdir}/%{name}/rus.traineddata %files ocr-srp %{_libexecdir}/%{name}/srp.traineddata %files ocr-slk %{_libexecdir}/%{name}/slk.traineddata %files ocr-slv %{_libexecdir}/%{name}/slv.traineddata %files ocr-swe %{_libexecdir}/%{name}/swe.traineddata %files ocr-tha %{_libexecdir}/%{name}/tha.traineddata %files ocr-fil %{_libexecdir}/%{name}/fil.traineddata %files ocr-tur %{_libexecdir}/%{name}/tur.traineddata %files ocr-ukr %{_libexecdir}/%{name}/ukr.traineddata %files ocr-vie %{_libexecdir}/%{name}/vie.traineddata %files ocr-ara %{_libexecdir}/%{name}/ara.traineddata %files ocr-ben %{_libexecdir}/%{name}/ben.traineddata %files ocr-fas %{_libexecdir}/%{name}/fas.traineddata %files ocr-guj %{_libexecdir}/%{name}/guj.traineddata %files ocr-heb %{_libexecdir}/%{name}/heb.traineddata %files ocr-hin %{_libexecdir}/%{name}/hin.traineddata %files ocr-mar %{_libexecdir}/%{name}/mar.traineddata %files ocr-tam %{_libexecdir}/%{name}/tam.traineddata %files ocr-tel %{_libexecdir}/%{name}/tel.traineddata %files ocr-urd %{_libexecdir}/%{name}/urd.traineddata %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor