Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37563312
en ru br
Репозитории ALT
S:0.6.0-alt1.20211005git8be298f
5.1: 0.4.2-alt6
4.1: 0.4.2-alt5.M41.1
4.0: 0.4.2-alt2
3.0: 0.2-alt1
www.altlinux.org/Changes

Другие репозитории
Upstream:0.4.2

Группа :: Система/Настройка/Оборудование
Пакет: ddccontrol

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

Name: ddccontrol
Version: 0.2
Release: alt1
%define dbreleasedate 20050813

Summary: Control your monitor by software using the DDC/CI protocol
License: GPL
Group: System/Configuration/Hardware

URL: http://ddccontrol.sourceforge.net/
Source0: http://dl.sf.net/ddccontrol/ddccontrol-%version.tar.gz
Source1: http://dl.sf.net/ddccontrol/ddccontrol-db-%dbreleasedate.tar.gz
#Source2: %name.ru.po
#Source3: %name-db.ru.po

# Automatically added by buildreq on Wed Jun 08 2005

BuildRequires: fontconfig freetype2 glib2-devel libatk-devel libgtk+2-devel libpango-devel libxml2-devel pciutils-devel-static pkgconfig xorg-x11-devel zlib-devel

%description
DDCcontrol is a program used to control monitor parameters, like brightness
and contrast, by software, i.e. without using the OSD (On Screen Display)
and the buttons in front of the monitor.

%prep
%setup -q -a 1
# kernel header in userspace :-\
subst 's!#include <asm/io.h>!!' src/ddcpci/intel810.c
# up to date translations
###cp --remove-destination %_sourcedir/%name.ru.po po/ru.po
###cp --remove-destination %_sourcedir/%name-db.ru.po ddccontrol-db-%dbreleasedate/po/ru.po

%build
pushd ddccontrol-db-%dbreleasedate
%configure
popd
%configure
# safety belts :)
echo "#define HAVE_BUGGY_I2C_DEV 1" >>src/config.h
%make_build
#pushd po
#rm -f ru.gmo
#make ru.gmo
#popd

%install
pushd ddccontrol-db-%dbreleasedate
%make install DESTDIR=%buildroot
popd
%makeinstall

%find_lang %name
%find_lang --append --output=%name.lang %name-db

%files -f %name.lang
%doc AUTHORS NEWS doc/html
%_bindir/*
%_datadir/ddccontrol-db

%changelog

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

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