Summary: Gets various useful informations from a conforming PnP monitor Summary(pl.UTF-8): Pobieranie różnych przydatnych informacji z monitora zgodnego z PnP Name: read-edid Version: 3.0.2 Release: 1 License: BSD-like (see LICENSE, distributed modifications must be sent to author) Group: Applications/System Source0: http://polypux.org/projects/read-edid/%{name}-%{version}.tar.gz # Source0-md5: 016546e438bf6c98739ff74061df9854 URL: http://polypux.org/projects/read-edid/ BuildRequires: cmake >= 2.6 BuildRequires: libx86-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Hardware information-gathering tool for VESA PnP monitors read-edid consists of two tools: get-edid uses a VESA VBE 2 interrupt service routine request to read a 128 byte EDID version 1 structure from your graphics card, which retrieves this information from the monitor via the Data Display Channel (DDC). parse-edid parses this data structure and outputs data suitable for inclusion into the XFree86 or X.org configuration file. get-edid uses architecture-specific methods for querying the video hardware (real-mode x86 instructions on i386, Open Firmware device tree parsing on PowerMac) and is therefore only available for i386 and powerpc architectures. %description -l pl.UTF-8 read-edid to narzędzie do zbierania informacji dotyczących sprzętu dla monitorów VESA PnP, składające się z dwóch programów: get-edid używa żądania funkcji przerwania VESA VBE 2 do odczytu 128-bajtowej struktury EDID w wersji 1 od karty graficznej, która pobiera te informacje z monitora poprzez DDC (Data Display Channel). parse-edid analizuje tę strukturę danych i wypisuje dane nadające się do wstawienia do pliku konfiguracyjnego XFree86 lub X.org. get-edid używa specyficznych dla architektury metod odpytywania karty graficznej (instrukcji w trybie rzeczywistym x86 na i386, analizy drzewa urządzeń OpenFirmware na PowerMacu), więc jest dostępne tylko dla architektur i386 i powerpc. %prep %setup -q # CMakeLists.txt expects COPYING, not LICENSE %{__mv} LICENSE COPYING %build %cmake . %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT # bleh... broken cmakefiles %{__mv} $RPM_BUILD_ROOT%{_prefix}/{bin,sbin} # packaged as %doc %{__rm} -r $RPM_BUILD_ROOT%{_docdir} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc AUTHORS COPYING ChangeLog README %attr(755,root,root) %{_sbindir}/get-edid %attr(755,root,root) %{_sbindir}/parse-edid %{_mandir}/man1/get-edid.1*