1 Summary: Change the resolution of an available vbios mode
2 Summary(pl): Zmiana rozdzielczo¶ci dostêpnych trybów vbios
7 Group: Applications/System
8 Source0: http://www.geocities.com/stomljen/%{name}-%{version}.tar.gz
9 # Source0-md5: a3441e5662c5ff1e00dc97de4487e8f8
10 Source1: %{name}.sysconfig
12 URL: http://perso.wanadoo.fr/apoirier/
14 Requires(post,preun): /sbin/chkconfig
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 915resolution is a tool to modify the video BIOS of the 800 and
19 900 series Intel graphics chipsets. This includes the 845G, 855G,
20 and 865G chipsets, as well as 915G, 915GM, and 945G chipsets. This
21 modification is neccessary to allow the display of certain graphics
22 resolutions for an Xorg or XFree86 graphics server.
24 915resolution's modifications of the BIOS are transient. There is
25 no risk of permanent modification of the BIOS. This also means that
26 915resolution must be run every time the computer boots inorder for
27 it's changes to take effect.
29 915resolution is derived from the tool 855resolution. However,
30 the code differs substantially. 915resolution's code base is much
31 simpler. 915resolution also allows the modification of bits per pixel.
42 CPPFLAGS="%{rpmcflags}"
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT{%{_sbindir},/etc/{rc.d/init.d,sysconfig}}
48 install 915resolution $RPM_BUILD_ROOT%{_sbindir}
49 install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/%{name}
50 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
53 rm -rf $RPM_BUILD_ROOT
56 /sbin/chkconfig --add 915resolution
59 if [ "$1" = "0" ]; then
60 /sbin/chkconfig --del 915resolution
64 %defattr(644,root,root,755)
65 %doc changes* chipset_info.txt README.txt
66 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
67 %attr(754,root,root) /etc/rc.d/init.d/%{name}
68 %attr(755,root,root) %{_sbindir}/*