Группа :: Издательство
Пакет: unpaper
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%def_enable man
%def_enable check
Name: unpaper
Version: 7.0.0
Release: alt1
Summary: unpaper is a post-processing tool for scanned sheets of paper
Summary(ru_RU.UTF-8): п©я─п╬пЁя─п╟п╪п╪п╟ п╢п╩я▐ п╬п╠я─п╟п╠п╬я┌п╨п╦ я│я┌я─п╟п╫п╦я├ п©п╬я│п╩п╣ я│п╨п╟п╫п╦я─п╬п╡п╟п╫п╦я▐
License: GPL-2.0-only and 0BSD and Apache-2.0 and MIT
Group: Publishing
Url: http://www.flameeyes.eu/projects/unpaper
Vcs: git at github.com:unpaper/unpaper.git
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: %name-%version.tar
BuildRequires(pre): rpm-macros-meson
BuildRequires: meson
BuildRequires: libavformat-devel
%{?_enable_man:BuildRequires: python3-module-sphinx}
%{?_enable_man:BuildRequires: python3-module-sphinx-sphinx-build-symlink}
%{?_enable_check:BuildRequires: pytest3}
%{?_enable_check:BuildRequires: python3-module-pytest}
%{?_enable_check:BuildRequires: python3-module-Pillow}
%description
unpaper is a post-processing tool for scanned sheets of paper,
especially for book pages that have been scanned from previously created
photocopies. The main purpose is to make scanned book pages better
readable on screen after conversion to PDF or DJVU. unpaper tries to
clean scanned images by removing dark edges that appeared through
scanning or copying on areas outside the actual page content.
The program also tries to detect disaligned centering and rotation
of pages and will automatically straighten each page by rotating it
to the correct angle.
%description -l ru_RU.UTF-8
unpaper Б─■ я█я┌п╬ п©я─п╬пЁя─п╟п╪п╪п╟ п╢п╩я▐ п╬п╠я─п╟п╠п╬я┌п╨п╦ я│я┌я─п╟п╫п╦я├ п©п╬я│п╩п╣ я│п╨п╟п╫п╦я─п╬п╡п╟п╫п╦я▐,
п╬я│п╬п╠п╣п╫п╫п╬ п╡ я┌п╣я┘ я│п╩я┐я┤п╟я▐я┘, п╨п╬пЁп╢п╟ п╠я▀п╩п╟ п╬я┌я│п╨п╟п╫п╦я─п╬п╡п╟п╫п╟ я└п╬я┌п╬п╨п╬п©п╦я▐ п╨п╫п╦пЁп╦.
п·я│п╫п╬п╡п╫п╟я▐ п╣я▒ я├п╣п╩я▄ п╣я│я┌я▄ я┐п╩я┐я┤я┬п╦я┌я▄ я┤п╦я┌п╟п╣п╪п╬я│я┌я▄ я│ я█п╨я─п╟п╫п╟ п©п╬я│п╩п╣ п©я─п╣п╬п╠я─п╟п╥п╬п╡п╟п╫п╦я▐
п╡ я└п╬я─п╪п╟я┌я▀ PDF п╦ DJVU. п÷я─п╬пЁя─п╟п╪п╪п╟ unpaper п©я▀я┌п╟п╣я┌я│я▐ я┐п╠я─п╟я┌я▄ я┌я▒п╪п╫п╬п╣
п╬п╨п╟п╧п╪п╩п╣п╫п╦п╣, п©п╬я▐п╡п╩я▐я▌я┴я┐я▌я│я▐ п╥п╟ п©я─п╣п╢п╣п╩п╟п╪п╦ я│п╬п╢п╣я─п╤п╦п╪п╬пЁп╬ я│я┌я─п╟п╫п╦я├я▀
п©я─п╦ я│п╨п╟п╫п╦я─п╬п╡п╟п╫п╦п╦ п╦п╩п╦ п╨п╬п©п╦я─п╬п╡п╟п╫п╦п╦. п÷я─п╬пЁя─п╟п╪п╪п╟ я┌п╟п╨п╤п╣ п©я▀я┌п╟п╣я┌я│я▐ п╬п©я─п╣п╢п╣п╩п╦я┌я▄
п╫п╟я─я┐я┬п╣п╫п╦я▐ я├п╣п╫я┌я─п╬п╡п╨п╦ я│я┌я─п╟п╫п╦я├ п╦ п╦я┘ п╫п╟п╨п╩п╬п╫ п╦ п╟п╡я┌п╬п╪п╟я┌п╦я┤п╣я│п╨п╦ п╡я▀п©я─я▐п╪п╩я▐п╣я┌
я│я┌я─п╟п╫п╦я├я▀, п©п╬п╡п╬я─п╟я┤п╦п╡п╟я▐ п╦я┘ п╫п╟ я│п╬п╬я┌п╡п╣я┌я│я┌п╡я┐я▌я┴п╦п╧ я┐пЁп╬п╩.
%prep
%setup
%ifarch %e2k
sed -i "/-Werror=return-type/d" meson.build
%endif
%build
%meson
%meson_build
%install
%meson_install
%check
export LC_CTYPE=en_US.UTF-8
meson test -C %_target_platform \
unpaper_tests.py
%files
%_bindir/%name
%_man1dir/%name.1.xz
%doc AUTHORS NEWS README.md
%changelog
…
Полный changelog можно просмотреть здесь
%def_enable check
Name: unpaper
Version: 7.0.0
Release: alt1
Summary: unpaper is a post-processing tool for scanned sheets of paper
Summary(ru_RU.UTF-8): п©я─п╬пЁя─п╟п╪п╪п╟ п╢п╩я▐ п╬п╠я─п╟п╠п╬я┌п╨п╦ я│я┌я─п╟п╫п╦я├ п©п╬я│п╩п╣ я│п╨п╟п╫п╦я─п╬п╡п╟п╫п╦я▐
License: GPL-2.0-only and 0BSD and Apache-2.0 and MIT
Group: Publishing
Url: http://www.flameeyes.eu/projects/unpaper
Vcs: git at github.com:unpaper/unpaper.git
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: %name-%version.tar
BuildRequires(pre): rpm-macros-meson
BuildRequires: meson
BuildRequires: libavformat-devel
%{?_enable_man:BuildRequires: python3-module-sphinx}
%{?_enable_man:BuildRequires: python3-module-sphinx-sphinx-build-symlink}
%{?_enable_check:BuildRequires: pytest3}
%{?_enable_check:BuildRequires: python3-module-pytest}
%{?_enable_check:BuildRequires: python3-module-Pillow}
%description
unpaper is a post-processing tool for scanned sheets of paper,
especially for book pages that have been scanned from previously created
photocopies. The main purpose is to make scanned book pages better
readable on screen after conversion to PDF or DJVU. unpaper tries to
clean scanned images by removing dark edges that appeared through
scanning or copying on areas outside the actual page content.
The program also tries to detect disaligned centering and rotation
of pages and will automatically straighten each page by rotating it
to the correct angle.
%description -l ru_RU.UTF-8
unpaper Б─■ я█я┌п╬ п©я─п╬пЁя─п╟п╪п╪п╟ п╢п╩я▐ п╬п╠я─п╟п╠п╬я┌п╨п╦ я│я┌я─п╟п╫п╦я├ п©п╬я│п╩п╣ я│п╨п╟п╫п╦я─п╬п╡п╟п╫п╦я▐,
п╬я│п╬п╠п╣п╫п╫п╬ п╡ я┌п╣я┘ я│п╩я┐я┤п╟я▐я┘, п╨п╬пЁп╢п╟ п╠я▀п╩п╟ п╬я┌я│п╨п╟п╫п╦я─п╬п╡п╟п╫п╟ я└п╬я┌п╬п╨п╬п©п╦я▐ п╨п╫п╦пЁп╦.
п·я│п╫п╬п╡п╫п╟я▐ п╣я▒ я├п╣п╩я▄ п╣я│я┌я▄ я┐п╩я┐я┤я┬п╦я┌я▄ я┤п╦я┌п╟п╣п╪п╬я│я┌я▄ я│ я█п╨я─п╟п╫п╟ п©п╬я│п╩п╣ п©я─п╣п╬п╠я─п╟п╥п╬п╡п╟п╫п╦я▐
п╡ я└п╬я─п╪п╟я┌я▀ PDF п╦ DJVU. п÷я─п╬пЁя─п╟п╪п╪п╟ unpaper п©я▀я┌п╟п╣я┌я│я▐ я┐п╠я─п╟я┌я▄ я┌я▒п╪п╫п╬п╣
п╬п╨п╟п╧п╪п╩п╣п╫п╦п╣, п©п╬я▐п╡п╩я▐я▌я┴я┐я▌я│я▐ п╥п╟ п©я─п╣п╢п╣п╩п╟п╪п╦ я│п╬п╢п╣я─п╤п╦п╪п╬пЁп╬ я│я┌я─п╟п╫п╦я├я▀
п©я─п╦ я│п╨п╟п╫п╦я─п╬п╡п╟п╫п╦п╦ п╦п╩п╦ п╨п╬п©п╦я─п╬п╡п╟п╫п╦п╦. п÷я─п╬пЁя─п╟п╪п╪п╟ я┌п╟п╨п╤п╣ п©я▀я┌п╟п╣я┌я│я▐ п╬п©я─п╣п╢п╣п╩п╦я┌я▄
п╫п╟я─я┐я┬п╣п╫п╦я▐ я├п╣п╫я┌я─п╬п╡п╨п╦ я│я┌я─п╟п╫п╦я├ п╦ п╦я┘ п╫п╟п╨п╩п╬п╫ п╦ п╟п╡я┌п╬п╪п╟я┌п╦я┤п╣я│п╨п╦ п╡я▀п©я─я▐п╪п╩я▐п╣я┌
я│я┌я─п╟п╫п╦я├я▀, п©п╬п╡п╬я─п╟я┤п╦п╡п╟я▐ п╦я┘ п╫п╟ я│п╬п╬я┌п╡п╣я┌я│я┌п╡я┐я▌я┴п╦п╧ я┐пЁп╬п╩.
%prep
%setup
%ifarch %e2k
sed -i "/-Werror=return-type/d" meson.build
%endif
%build
%meson
%meson_build
%install
%meson_install
%check
export LC_CTYPE=en_US.UTF-8
meson test -C %_target_platform \
unpaper_tests.py
%files
%_bindir/%name
%_man1dir/%name.1.xz
%doc AUTHORS NEWS README.md
%changelog
…
Полный changelog можно просмотреть здесь