Репозитории ALT
Группа :: Система/Настройка/Оборудование
Пакет: lcdtest
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: lcdtest
Version: 1.18
Release: alt2
Summary: The LCD screen quality testing utility
License: GPL
Group: System/Configuration/Hardware
Url: http://www.brouhaha.com/~eric/software/lcdtest/
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: http://www.brouhaha.com/~eric/software/lcdtest/download/%name-%version.tar
Source1: %name.desktop
Patch: lcdtest-1.02-alt-man-double_content_fix.patch
# manually removed: esound bk cvs ghostscript-utils rcs tetex-latex
# Automatically added by buildreq on Thu Sep 20 2007
BuildRequires: flex gcc-c++ libSDL-devel libSDL_image-devel libSDL_ttf-devel scons swig
BuildRequires: rpm-macros-fonts
BuildRequires: netpbm
# due bug in IMG_ReadXPMFromArray
Requires: libSDL_image > 1.2.5-alt1
BuildRequires: desktop-file-utils
Requires: fonts-ttf-liberation
%description
lcdtest is a utility to display LCD monitor test patterns. It may be
useful for adjusting the pixel clock frequency and phase on LCD monitors
when using analog inputs, and for finding pixels that are stuck on
or off. lctest uses the SDL library, and is known to work on Linux
and Windows.
%description -l ru_RU.UTF-8
lcdtest п╬я┌п╬п╠я─п╟п╤п╟п╣я┌ я─п╟п╥п╩п╦я┤п╫я▀п╣ п©п╟я┌я┌п╣я─п╫я▀, п©п╬п╥п╡п╬п╩я▐я▌я┴п╦п╣ я│я┐п╢п╦я┌я▄ п╬
п╨п╟я┤п╣я│я┌п╡п╣ п╦п╥п╬п╠я─п╟п╤п╣п╫п╦я▐ п╫п╟ п╤п╦п╢п╨п╬п╨я─п╦я│я┌п╟п╩п╩п╦я┤п╣я│п╨п╬п╪ п╪п╬п╫п╦я┌п╬я─п╣ п╦ п╫п╟п╩п╦я┤п╦п╦ я┌п╟п╨п╦я┘
п╢п╣я└п╣п╨я┌п╬п╡, п╨п╟п╨ "п╠п╦я┌я▀п╣ п©п╦п╨я│п╣п╩я▀". lcdtest п╦я│п©п╬п╩я▄п╥я┐п╣я┌ п╠п╦п╠п╩п╦п╬я┌п╣п╨я┐ SDL, п╬п╫п╟
я┌п╣я│я┌п╦я─п╬п╡п╟п╩п╟я│я▄ п╡ Linux п╦ Windows.
%prep
%setup
%__subst "s|/usr/share/fonts/liberation/|%_ttffontsdir/liberation/|g" src/lcdtest.c
#patch -p1
%build
scons
%install
scons install --prefix=%buildroot%prefix
install -pD -m644 %SOURCE1 %buildroot%_desktopdir/%name.desktop
desktop-file-install --dir %buildroot%_desktopdir \
--remove-category=Utility \
--remove-category=Application \
--add-category=Settings \
--add-category=HardwareSettings \
--add-category=X-ALTLinux-VideoSettings \
%buildroot%_desktopdir/lcdtest.desktop
%files
%doc README
%_bindir/%name
%_man1dir/%name.1.*
%_iconsdir/hicolor/scalable/apps/lcdtest.svg
%_desktopdir/%name.desktop
%changelog
…
Полный changelog можно просмотреть здесь
Version: 1.18
Release: alt2
Summary: The LCD screen quality testing utility
License: GPL
Group: System/Configuration/Hardware
Url: http://www.brouhaha.com/~eric/software/lcdtest/
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: http://www.brouhaha.com/~eric/software/lcdtest/download/%name-%version.tar
Source1: %name.desktop
Patch: lcdtest-1.02-alt-man-double_content_fix.patch
# manually removed: esound bk cvs ghostscript-utils rcs tetex-latex
# Automatically added by buildreq on Thu Sep 20 2007
BuildRequires: flex gcc-c++ libSDL-devel libSDL_image-devel libSDL_ttf-devel scons swig
BuildRequires: rpm-macros-fonts
BuildRequires: netpbm
# due bug in IMG_ReadXPMFromArray
Requires: libSDL_image > 1.2.5-alt1
BuildRequires: desktop-file-utils
Requires: fonts-ttf-liberation
%description
lcdtest is a utility to display LCD monitor test patterns. It may be
useful for adjusting the pixel clock frequency and phase on LCD monitors
when using analog inputs, and for finding pixels that are stuck on
or off. lctest uses the SDL library, and is known to work on Linux
and Windows.
%description -l ru_RU.UTF-8
lcdtest п╬я┌п╬п╠я─п╟п╤п╟п╣я┌ я─п╟п╥п╩п╦я┤п╫я▀п╣ п©п╟я┌я┌п╣я─п╫я▀, п©п╬п╥п╡п╬п╩я▐я▌я┴п╦п╣ я│я┐п╢п╦я┌я▄ п╬
п╨п╟я┤п╣я│я┌п╡п╣ п╦п╥п╬п╠я─п╟п╤п╣п╫п╦я▐ п╫п╟ п╤п╦п╢п╨п╬п╨я─п╦я│я┌п╟п╩п╩п╦я┤п╣я│п╨п╬п╪ п╪п╬п╫п╦я┌п╬я─п╣ п╦ п╫п╟п╩п╦я┤п╦п╦ я┌п╟п╨п╦я┘
п╢п╣я└п╣п╨я┌п╬п╡, п╨п╟п╨ "п╠п╦я┌я▀п╣ п©п╦п╨я│п╣п╩я▀". lcdtest п╦я│п©п╬п╩я▄п╥я┐п╣я┌ п╠п╦п╠п╩п╦п╬я┌п╣п╨я┐ SDL, п╬п╫п╟
я┌п╣я│я┌п╦я─п╬п╡п╟п╩п╟я│я▄ п╡ Linux п╦ Windows.
%prep
%setup
%__subst "s|/usr/share/fonts/liberation/|%_ttffontsdir/liberation/|g" src/lcdtest.c
#patch -p1
%build
scons
%install
scons install --prefix=%buildroot%prefix
install -pD -m644 %SOURCE1 %buildroot%_desktopdir/%name.desktop
desktop-file-install --dir %buildroot%_desktopdir \
--remove-category=Utility \
--remove-category=Application \
--add-category=Settings \
--add-category=HardwareSettings \
--add-category=X-ALTLinux-VideoSettings \
%buildroot%_desktopdir/lcdtest.desktop
%files
%doc README
%_bindir/%name
%_man1dir/%name.1.*
%_iconsdir/hicolor/scalable/apps/lcdtest.svg
%_desktopdir/%name.desktop
%changelog
…
Полный changelog можно просмотреть здесь