2 # - fix initscript description
3 Summary: Change the resolution of an available vbios mode for the 855/865/915 Intel graphic chipset
4 Summary(pl): Zmiana rozdzielczo¶ci dostêpnych trybów vbios dla chipsetów Intel 855/865/915
9 Group: Applications/System
10 Source0: http://perso.wanadoo.fr/apoirier/%{name}-%{version}.tgz
11 # Source0-md5: 12237e534def7dd3579a3e8b0a4b9351
12 Source1: %{name}.sysconfig
14 URL: http://perso.wanadoo.fr/apoirier/
16 Requires(post,preun): /sbin/chkconfig
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 855resolution is a software to change the resolution of an available
21 vbios mode for the 855/865/915 Intel graphic chipset. It was
22 originally coded it to get the 1400x1050 resolution on Dell 510.
24 Later it was tested with success on the following laptops:
25 - Acer Travelmate 291lmi
26 - Acer TravelMate 661LCi
32 - Fujitsu LifeBook P5010D
35 It patches only the RAM version of the video BIOS so the new
36 resolution is loose each time you reboot. If you want to set the
37 resolution each time you reboot and before to launch X, use
38 appropriate init script file of your Linux version.
41 855resolution to program do zmiany rozdzielczo¶ci dostêpnych trybów
42 vbios dla chipsetów graficznych Intel 855/865/915. Pierwotnie by³
43 napisany w celu uzyskania rozdzielczo¶ci 1400x1050 na Dellu 510.
45 Pó¼niej zosta³ pozytywnie przetestowany na nastêpuj±cych laptopach:
46 - Acer Travelmate 291lmi
47 - Acer TravelMate 661LCi
53 - Fujitsu LifeBook P5010D
56 Program modyfikuje tylko wersjê w RAM Video BIOS-u, wiêc nowa
57 rozdzielczo¶æ jest tracona po ka¿dym reboocie. Aby ustawiaæ
58 rozdzielczo¶æ po ka¿dym uruchomieniem komputera, a przed uruchomieniem
59 X, nale¿y u¿yæ odpowiedniego skryptu inicjalizuj±cego.
67 CPPFLAGS="%{rpmcflags}"
70 rm -rf $RPM_BUILD_ROOT
71 install -d $RPM_BUILD_ROOT{%{_sbindir},/etc/{rc.d/init.d,sysconfig}}
73 install 855resolution $RPM_BUILD_ROOT%{_sbindir}
74 install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/%{name}
75 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
78 rm -rf $RPM_BUILD_ROOT
81 /sbin/chkconfig --add 855resolution
84 if [ "$1" = "0" ]; then
85 /sbin/chkconfig --del 855resolution
89 %defattr(644,root,root,755)
90 %doc CHANGES.txt README.txt
91 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
92 %attr(754,root,root) /etc/rc.d/init.d/%{name}
93 %attr(755,root,root) %{_sbindir}/*