SPECS: read-edid.spec (NEW) - NEW, only ppc tested, ix86 should wo...
sparky
sparky at pld-linux.org
Thu Sep 7 15:19:54 CEST 2006
Author: sparky Date: Thu Sep 7 13:19:54 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- NEW, only ppc tested, ix86 should work
- what about other archs ?
-- x86_64 should be compatible with ix86
-- alpha has some 8086 emulation (?)
-- not only powermacs / pegasos are using OpenFirmware
---- Files affected:
SPECS:
read-edid.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/read-edid.spec
diff -u /dev/null SPECS/read-edid.spec:1.1
--- /dev/null Thu Sep 7 15:19:54 2006
+++ SPECS/read-edid.spec Thu Sep 7 15:19:49 2006
@@ -0,0 +1,87 @@
+# $Revision$, $Date$
+Summary: Gets various useful informations from a conforming PnP monitor
+Name: read-edid
+Version: 1.4.1
+Release: 0.1
+License: GPL v2
+Group: Applications/System
+Source0: http://john.fremlin.de/programs/linux/read-edid/%{name}-%{version}.tar.gz
+# Source0-md5: aadc9a21ea4a1c9819757cda973372f4
+Source1: %{name}-get-edid-ppc.sh
+URL: http://john.fremlin.de/programs/linux/read-edid/index.html
+#BuildRequires: autoconf
+#BuildRequires: automake
+#ExclusiveArch: %{ix86}
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Hardware information-gathering tool for VESA PnP monitors read-edid
+consists of two tools:
+
+get-edid uses a VESA VBE 2 interrupt service routine request to read a
+128 byte EDID version 1 structure from your graphics card, which
+retrieves this information from the monitor via the Data Display
+Channel (DDC).
+
+parse-edid parses this data structure and outputs data suitable for
+inclusion into the XFree86 or X.org configuration file.
+
+get-edid uses architecture-specific methods for querying the video
+hardware (real-mode x86 instructions on i386, Open Firmware device
+tree parsing on PowerMac) and is therefore only available for i386 and
+powerpc architectures.
+
+%prep
+%setup -q
+
+%build
+#%%{__aclocal}
+#%%{__autoconf}
+#%%{__automake}
+%configure
+%{__make} \
+%ifnarch %{ix86}
+ parse-edid
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
+
+install parse-edid $RPM_BUILD_ROOT%{_bindir}/parse-edid
+
+%ifarch %{ix86}
+install get-edid $RPM_BUILD_ROOT%{_bindir}/get-edid
+%endif
+%ifarch ppc
+install %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/get-edid
+%endif
+
+install get-edid.man $RPM_BUILD_ROOT%{_mandir}/man1/get-edid.1
+echo ".so get-edid.1" > $RPM_BUILD_ROOT%{_mandir}/man1/parse-edid.1
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog LRMI NEWS README
+%attr(755,root,root) %{_bindir}/parse-edid
+%ifarch %{ix86} ppc
+%attr(755,root,root) %{_bindir}/get-edid
+%endif
+%{_mandir}/man1/*-edid.1*
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2006/09/07 13:19:49 sparky
+- NEW, only ppc tested, ix86 should work
+- what about other archs ?
+-- x86_64 should be compatible with ix86
+-- alpha has some 8086 emulation (?)
+-- not only powermacs / pegasos are using OpenFirmware
+
================================================================
More information about the pld-cvs-commit
mailing list