]> git.pld-linux.org Git - packages/read-edid.git/blob - read-edid.spec
- updated to 3.0.1
[packages/read-edid.git] / read-edid.spec
1 Summary:        Gets various useful informations from a conforming PnP monitor
2 Summary(pl.UTF-8):      Pobieranie różnych przydatnych informacji z monitora zgodnego z PnP
3 Name:           read-edid
4 Version:        3.0.1
5 Release:        1
6 License:        GPL v2
7 Group:          Applications/System
8 Source0:        http://polypux.org/projects/read-edid/%{name}-%{version}.tar.gz
9 # Source0-md5:  81f6a57162127ab9e969da53bc290e63
10 URL:            http://polypux.org/projects/read-edid/
11 BuildRequires:  cmake >= 2.6
12 BuildRequires:  libx86-devel
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 Hardware information-gathering tool for VESA PnP monitors read-edid
17 consists of two tools:
18
19 get-edid uses a VESA VBE 2 interrupt service routine request to read a
20 128 byte EDID version 1 structure from your graphics card, which
21 retrieves this information from the monitor via the Data Display
22 Channel (DDC).
23
24 parse-edid parses this data structure and outputs data suitable for
25 inclusion into the XFree86 or X.org configuration file.
26
27 get-edid uses architecture-specific methods for querying the video
28 hardware (real-mode x86 instructions on i386, Open Firmware device
29 tree parsing on PowerMac) and is therefore only available for i386 and
30 powerpc architectures.
31
32 %description -l pl.UTF-8
33 read-edid to narzędzie do zbierania informacji dotyczących sprzętu dla
34 monitorów VESA PnP, składające się z dwóch programów:
35
36 get-edid używa żądania funkcji przerwania VESA VBE 2 do odczytu
37 128-bajtowej struktury EDID w wersji 1 od karty graficznej, która
38 pobiera te informacje z monitora poprzez DDC (Data Display Channel).
39
40 parse-edid analizuje tę strukturę danych i wypisuje dane nadające się
41 do wstawienia do pliku konfiguracyjnego XFree86 lub X.org.
42
43 get-edid używa specyficznych dla architektury metod odpytywania karty
44 graficznej (instrukcji w trybie rzeczywistym x86 na i386, analizy
45 drzewa urządzeń OpenFirmware na PowerMacu), więc jest dostępne tylko
46 dla architektur i386 i powerpc.
47
48 %prep
49 %setup -q
50
51 %build
52 %cmake .
53 %{__make}
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57
58 %{__make} install \
59         DESTDIR=$RPM_BUILD_ROOT
60
61 # bleh... broken cmakefiles
62 %{__mv} $RPM_BUILD_ROOT%{_prefix}/{bin,sbin}
63 # packaged as %doc
64 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %files
70 %defattr(644,root,root,755)
71 %doc AUTHORS ChangeLog README
72 %attr(755,root,root) %{_sbindir}/get-edid
73 %attr(755,root,root) %{_sbindir}/parse-edid
74 %{_mandir}/man1/get-edid.1*
This page took 0.03967 seconds and 3 git commands to generate.