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