Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37863336
en ru br
Репозитории ALT
S:1.12-alt1
5.1: 1.6-alt1.M51.1
www.altlinux.org/Changes

Группа :: Графические оболочки/GNOME
Пакет: redshift

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: redshift
Version: 1.6
Release: alt1.M51.1

Summary: Redshift adjusts the color temperature of your screen
Summary(ru_RU.UTF-8): Redshift п╦п╥п╪п╣п╫я▐п╣я┌ я┌п╣п╪п©п╣я─п╟я┌я┐я─я┐ я├п╡п╣я┌п╟ п▓п╟я┬п╣пЁп╬ я█п╨я─п╟п╫п╟ п╢п╩я▐ я│п╫п╦п╤п╣п╫п╦я▐ я┐я┌п╬п╪п╩я▐п╣п╪п╬я│я┌п╦ пЁп╩п╟п╥

License: GPLv3
Group: Graphical desktop/GNOME
Url: https://launchpad.net/redshift

Packager: Anton Chernyshov <ach at altlinux.org>
Source0: %name-%version.tar.bz2

# Fix Russian translation files

Source1: ru.po
Source2: ru.gmo

# Backport patch

Patch0: %name-%version-alt-backports.patch

BuildPreReq: rpm-build-gnome
BuildPreReq: rpm-build-python
BuildPreReq: rpm-build-docs
BuildPreReq: xorg-xf86vidmodeproto-devel
BuildPreReq: libXxf86vm-devel
BuildPreReq: libXext-devel
BuildPreReq: libgnome-panel-devel

# Automatically added by buildreq on Tue Oct 19 2010

BuildRequires: libGConf-devel  
BuildRequires: libX11-devel
BuildRequires: libXxf86vm-devel
BuildRequires: python-devel

%description
Redshift adjusts the color temperature of your screen according
to your surroundings. This may help your eyes hurt less if you
are working in front of the screen at night. The color temperature
is set according to the position of the sun. A different color temperature
is set during night and daytime. During twilight and early morning,
the color temperature transitions smoothly from night to daytime temperature
to allow your eyes to slowly adapt.

%description -l ru_RU.UTF-8
Redshift п╦п╥п╪п╣п╫я▐п╣я┌ я┌п╣п╪п©п╣я─п╟я┌я┐я─я┐ я├п╡п╣я┌п╟ я█п╨я─п╟п╫п╟ п╡п╟я┬п╣пЁп╬ п╨п╬п╪п©я▄я▌я┌п╣я─п╟. п╜я┌п╬ п╪п╬п╤п╣я┌
я│п╫п╦п╥п╦я┌я▄ я┐я┌п╬п╪п╩я▐п╣п╪п╬я│я┌я▄ пЁп╩п╟п╥, п╬я│п╬п╠п╣п╫п╫п╬ п╣я│п╩п╦ п╡я▀ я─п╟п╠п╬я┌п╟п╣я┌п╣ п╥п╟ п╨п╬п╪п©я▄я▌я┌п╣я─п╬п╪
п╫п╬я┤я▄я▌. п╒п╣п╪п©п╣я─п╟я┌я┐я─п╟ я├п╡п╣я┌п╟ я┐я│я┌п╟п╫п╟п╡п╩п╦п╡п╟п╣я┌я│я▐ п╡ п╥п╟п╡п╦я│п╦п╪п╬я│я┌п╦ п╬я┌ п©п╬п╥п╦я├п╦п╦
я│п╬п╩п╫я├п╟ п╫п╟ п╫п╣п╠п╣ (п╬п©я─п╣п╢п╣п╩я▐п╣я┌я│я▐ п╫п╟ п╬я│п╫п╬п╡п╣ пЁп╣п╬пЁя─п╟я└п╦я┤п╣я│п╨п╦я┘ п╨п╬п╬я─п╢п╦п╫п╟я┌)
п╦ я┌п╣п╨я┐я┴п╣пЁп╬ п╡я─п╣п╪п╣п╫п╦ я│я┐я┌п╬п╨. п≤п╥п╪п╣п╫п╣п╫п╦п╣ я┌п╣п╪п©п╣я─п╟я┌я┐я─я▀ я├п╡п╣я┌п╟ п©я─п╬п╦я│я┘п╬п╢п╦я┌
п©п╩п╟п╡п╫п╬, п╢п╟п╡п╟я▐ п▓п╟я┬п╦п╪ пЁп╩п╟п╥п╟п╪ п╡я─п╣п╪я▐ п╫п╟ п╟п╢п╟п©я┌п╟я├п╦я▌.

%prep
%setup
%patch0 -p1

# Overwrite files with translation with another ones

cp %{SOURCE1} %_builddir/%name-%version/po/
cp %{SOURCE2} %_builddir/%name-%version/po/

%build
%configure \
   --enable-randr \
   --enable-vidmode \
   --enable-nls \
   --enable-gui \
   --enable-gnome-clock \
   
%make_build

%install
%makeinstall_std
%find_lang %name

%files -f %name.lang
%_bindir/*
%python_sitelibdir/gtk_%name/*
%_desktopdir/*
%doc ABOUT-NLS AUTHORS ChangeLog NEWS README
%_iconsdir/hicolor/*
%_man1dir/*

%post
# If gnome-panel installed (i.e. for GNOME users) - set program to autostart
# KDE users must set redshift parameters manually

if [ -e %_desktopdir/gnome-panel.desktop ]; then
cp %_desktopdir/gtk-redshift.desktop %_sysconfdir/xdg/autostart/
fi

%postun
rm -f %_sysconfdir/xdg/autostart/gtk-redshift.desktop

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin