Sisyphus
: 23 2019 | : 17692 | : 13590154
en ru br
ALT
S:0.9.12.2-alt1
5.1: 0.9.8-alt1.M51.1
www.altlinux.org/Changes

::
: scantailor

             Sources      Gear   Bugs and FR  Repocop 

Name: scantailor
Version: 0.9.11.1
Release: alt2

Summary: Scan processing software
License: GPL
Group: Graphics
Url: http://scantailor.sf.net

Packager: %packager
Source: %name-%version.tar
Source1: %name.desktop

# Automatically added by buildreq on Fri Apr 10 2009

BuildRequires: boost-devel-headers boost-intrusive-devel cmake gcc-c++ libXft-devel libXmu-devel libXpm-devel libjpeg-devel libtiff-devel libqt4-devel phonon-devel

%description
Scantailor is a book scan processing software. It
splits scanned pages, aligns, and converts to b/w from
grayscale. It has GUI interface. Analogs of this
program are ScanKromsator (written by kamerade bolega,
currently discontinued), BookRestorer.

%description -l ru_RU.UTF-8
Scantailor - программа для обработки отсканированных
книг. Эта программа может разделять развороты, выравнивать
страницы и переводить в ч/б из градаций серого. Имеет
GUI интерфейс. Наиболее известными аналогами
программы является ScanKromsator (написан камрадом bolega,
сейчас не развивается) и BookRestorer.

%prep
%setup -q

%build
cp resources/appicon.svg %name.svg
cmake -DCMAKE_INSTALL_PREFIX=/usr .
%make

%install
mkdir -p %buildroot%_bindir
mkdir -p %buildroot%_datadir/%name/translations
install -pm755 scantailor %buildroot/%_bindir/
install -pm644 *.qm %buildroot%_datadir/%name/translations
install -pm644 -D %name.svg %buildroot%_iconsdir/hicolor/scalable/apps/%name.svg
install -pm644 -D %SOURCE1 %buildroot%_desktopdir/%name.desktop

%files
%_bindir/scantailor
%dir %_datadir/%name
%dir %_datadir/%name/translations
%_datadir/%name/translations/*
%_desktopdir/%name.desktop
%_iconsdir/hicolor/*/apps/*

%changelog

changelog

 
: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
: Michael Shigorin