Name:scanimage-to-jpeg
Version:1
Release:alt2
Summary:WrapperaroundscanimagewhichsavestheresultasJPEG
License:CC0
Group:Graphics
Url:http://git.altlinux.org/gears/s/%name
# scanimage can natively save in JPEG since 1.0.25-alt3#Conflicts: sane > 0:1.0.25-alt2BuildArch:noarch
Source0:scanimage-to-jpeg
%globalexecutablescanimage-to-jpeg
%descriptionscanimagecannotsavetheresultinJPEGbeforesane-1.0.25-alt3.
ThisisasimplewrapperaroundscanimagethatconvertstheresulttoJPEG.
Usage:
%executableFILENAME[SCANIMAGE_OPTION..]
ItwillcreateFILENAME.jpginthecurrentdir.
Example:
%executabledocument_p1--resolution600
%installinstall-pm0755-D%SOURCE0-T%buildroot%_bindir/%executable
%checkreadonlyNAME=new-test-image
touch"$NAME".jpg
# Check that it won't overwrite an existing image:!%buildroot%_bindir/%executable"$NAME"%files%_bindir/%executable
%changelog* Thu Feb 06 2020 Ivan Zakharyaschev <imz@altlinux.org> 1-alt2-%%check(thatitwon'toverwriteanexistingimage).
* Sun Feb 2 2020 Ivan Zakharyaschev <imz@altlinux.org> 1-alt1-initialbuildforALT.