]>
Commit | Line | Data |
---|---|---|
d069c712 | 1 | Summary: Gets various useful informations from a conforming PnP monitor |
edd96688 | 2 | Summary(pl.UTF-8): Pobieranie różnych przydatnych informacji z monitora zgodnego z PnP |
d069c712 | 3 | Name: read-edid |
55fc9594 | 4 | Version: 2.0.0 |
5 | Release: 1 | |
d069c712 | 6 | License: GPL v2 |
7 | Group: Applications/System | |
55fc9594 | 8 | Source0: http://polypux.org/projects/read-edid/%{name}-%{version}.tar.gz |
9 | # Source0-md5: 586e7fa1167773b27f4e505edc93274b | |
10 | URL: http://polypux.org/projects/read-edid/ | |
11 | BuildRequires: libx86-devel | |
d069c712 | 12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
13 | ||
14 | %description | |
15 | Hardware information-gathering tool for VESA PnP monitors read-edid | |
16 | consists of two tools: | |
17 | ||
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 | |
21 | Channel (DDC). | |
22 | ||
23 | parse-edid parses this data structure and outputs data suitable for | |
24 | inclusion into the XFree86 or X.org configuration file. | |
25 | ||
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. | |
30 | ||
6f3ffb58 JR |
31 | %description -l pl.UTF-8 |
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: | |
f072b988 | 34 | |
6f3ffb58 JR |
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 | |
f072b988 JB |
37 | pobiera te informacje z monitora poprzez DDC (Data Display Channel). |
38 | ||
6f3ffb58 | 39 | parse-edid analizuje tę strukturę danych i wypisuje dane nadające się |
f072b988 JB |
40 | do wstawienia do pliku konfiguracyjnego XFree86 lub X.org. |
41 | ||
6f3ffb58 | 42 | get-edit używa specyficznych dla architektury metod odpytywania karty |
f072b988 | 43 | graficznej (instrukcji w trybie rzeczywistym x86 na i386, analizy |
6f3ffb58 | 44 | drzewa urządzeń OpenFirmware na PowerMacu), więc jest dostępne tylko |
f072b988 JB |
45 | dla architektur i386 i powerpc. |
46 | ||
d069c712 | 47 | %prep |
48 | %setup -q | |
49 | ||
50 | %build | |
d069c712 | 51 | %configure |
55fc9594 | 52 | %{__make} |
d069c712 | 53 | |
54 | %install | |
55 | rm -rf $RPM_BUILD_ROOT | |
d069c712 | 56 | |
55fc9594 | 57 | %{__make} install \ |
58 | DESTDIR=$RPM_BUILD_ROOT | |
d069c712 | 59 | |
60 | %clean | |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
63 | %files | |
64 | %defattr(644,root,root,755) | |
f072b988 | 65 | %doc AUTHORS ChangeLog NEWS README |
55fc9594 | 66 | %attr(755,root,root) %{_sbindir}/parse-edid |
67 | %attr(755,root,root) %{_sbindir}/get-edid | |
d069c712 | 68 | %{_mandir}/man1/*-edid.1* |