]> git.pld-linux.org Git - packages/read-edid.git/blob - read-edid.spec
44de76cb47489a963b57517dff6c5a6f8ec7c89c
[packages/read-edid.git] / read-edid.spec
1 Summary:        Gets various useful informations from a conforming PnP monitor
2 Summary(pl):    Pobieranie ró¿nych przydatnych informacji z monitora zgodnego z PnP
3 Name:           read-edid
4 Version:        1.4.1
5 Release:        0.1
6 License:        GPL v2
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)
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
31 %description -l pl
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:
34
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).
38
39 parse-edid analizuje tê strukturê danych i wypisuje dane nadaj±ce siê
40 do wstawienia do pliku konfiguracyjnego XFree86 lub X.org.
41
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.
46
47 %prep
48 %setup -q
49
50 %build
51 %configure
52 %{__make} \
53 %ifnarch %{ix86}
54         parse-edid
55 %endif
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
60
61 install parse-edid $RPM_BUILD_ROOT%{_bindir}/parse-edid
62
63 %ifarch %{ix86}
64 install get-edid $RPM_BUILD_ROOT%{_bindir}/get-edid
65 %endif
66 %ifarch ppc
67 install %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/get-edid
68 %endif
69
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
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %files
77 %defattr(644,root,root,755)
78 %doc AUTHORS ChangeLog NEWS README
79 %ifarch %{ix86}
80 %doc LRMI
81 %endif
82 %attr(755,root,root) %{_bindir}/parse-edid
83 %ifarch %{ix86} ppc
84 %attr(755,root,root) %{_bindir}/get-edid
85 %endif
86 %{_mandir}/man1/*-edid.1*
This page took 0.042408 seconds and 3 git commands to generate.