1 Summary: Gets various useful informations from a conforming PnP monitor
2 Summary(pl): Pobieranie ró¿nych przydatnych informacji z monitora zgodnego z PnP
7 Group: Applications/System
8 Source0: http://john.fremlin.de/programs/linux/read-edid/%{name}-%{version}.tar.gz
9 # Source0-md5: aadc9a21ea4a1c9819757cda973372f4
10 Source1: %{name}-get-edid-ppc.sh
11 URL: http://john.fremlin.de/programs/linux/read-edid/index.html
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 Hardware information-gathering tool for VESA PnP monitors read-edid
16 consists of two tools:
18 get-edid uses a VESA VBE 2 interrupt service routine request to read a
19 128 byte EDID version 1 structure from your graphics card, which
20 retrieves this information from the monitor via the Data Display
23 parse-edid parses this data structure and outputs data suitable for
24 inclusion into the XFree86 or X.org configuration file.
26 get-edid uses architecture-specific methods for querying the video
27 hardware (real-mode x86 instructions on i386, Open Firmware device
28 tree parsing on PowerMac) and is therefore only available for i386 and
29 powerpc architectures.
32 read-edid to narzêdzie do zbierania informacji dotycz±cych sprzêtu dla
33 monitorów VESA PnP, sk³adaj±ce siê z dwóch programów:
35 get-edid u¿ywa ¿±dania funkcji przerwania VESA VBE 2 do odczytu
36 128-bajtowej struktury EDID w wersji 1 od karty graficznej, która
37 pobiera te informacje z monitora poprzez DDC (Data Display Channel).
39 parse-edid analizuje tê strukturê danych i wypisuje dane nadaj±ce siê
40 do wstawienia do pliku konfiguracyjnego XFree86 lub X.org.
42 get-edit u¿ywa specyficznych dla architektury metod odpytywania karty
43 graficznej (instrukcji w trybie rzeczywistym x86 na i386, analizy
44 drzewa urz±dzeñ OpenFirmware na PowerMacu), wiêc jest dostêpne tylko
45 dla architektur i386 i powerpc.
58 rm -rf $RPM_BUILD_ROOT
59 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
61 install parse-edid $RPM_BUILD_ROOT%{_bindir}/parse-edid
64 install get-edid $RPM_BUILD_ROOT%{_bindir}/get-edid
67 install %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/get-edid
70 install get-edid.man $RPM_BUILD_ROOT%{_mandir}/man1/get-edid.1
71 echo ".so get-edid.1" > $RPM_BUILD_ROOT%{_mandir}/man1/parse-edid.1
74 rm -rf $RPM_BUILD_ROOT
77 %defattr(644,root,root,755)
78 %doc AUTHORS ChangeLog NEWS README
82 %attr(755,root,root) %{_bindir}/parse-edid
84 %attr(755,root,root) %{_bindir}/get-edid
86 %{_mandir}/man1/*-edid.1*